RabbitMQ.Client.Exceptions.BrokerUnreachableException: 'None of the specified endpoints were reachable'

Hi, the code is best,
when i want run in debug mode i have an error with this title
Can you help me?

[20:17:25 INF] User profile is available. Using 'C:\Users\Hossein\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. [20:17:35 INF] Unable to connect to broker Application startup exception: Autofac.Core.DependencyResolutionException: An exception was thrown while activating ?:RawRabbit.IBusClient. ---> RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.IO.IOException: connection.start was never received, likely due to a network timeout    at RabbitMQ.Client.Framing.Impl.Connection.StartAndTune()    at RabbitMQ.Client.Framing.Impl.Connection.Open(Boolean insist)    at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IFrameHandler fh)    at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)    --- End of inner exception stack trace ---    at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)    at RawRabbit.Channel.ChannelFactory.ConnectAsync(CancellationToken token)    at RawRabbit.DependencyInjection.RawRabbitDependencyRegisterExtension.<>c.<AddRawRabbit>b__0_3(IDependencyResolver resolver)    at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass4_02.b__0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)    at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue()    at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional)    at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService[TService](Object[] additional)    at RawRabbit.Instantiation.InstanceFactory.Create()    at DShop.Common.RabbitMq.Extensions.<>c.<ConfigureBus>b__2_1(IComponentContext context) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Common\src\DShop.Common\RabbitMq\Extensions.cs:line 89    at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_01.b__0(IComponentContext c, IEnumerable1 p) in C:\projects\autofac\src\Autofac\Builder\RegistrationBuilder.cs:line 62    at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) in C:\projects\autofac\src\Autofac\Core\Activators\Delegate\DelegateActivator.cs:line 71
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters, Object& decoratorTarget) in C:\projects\autofac\src\Autofac\Core\Resolving\InstanceLookup.cs:line 118    --- End of inner exception stack trace ---    at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters, Object& decoratorTarget) in C:\projects\autofac\src\Autofac\Core\Resolving\InstanceLookup.cs:line 136
at Autofac.Core.Resolving.InstanceLookup.Execute() in C:\projects\autofac\src\Autofac\Core\Resolving\InstanceLookup.cs:line 85
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) in C:\projects\autofac\src\Autofac\Core\Resolving\ResolveOperation.cs:line 130    at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) in C:\projects\autofac\src\Autofac\Core\Resolving\ResolveOperation.cs:line 83
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) in C:\projects\autofac\src\Autofac\ResolutionExtensions.cs:line 1041    at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable1 parameters) in C:\projects\autofac\src\Autofac\ResolutionExtensions.cs:line 814
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)   at DShop.Common.RabbitMq.BusSubscriber..ctor(IApplicationBuilder app) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Common\src\DShop.Common\RabbitMq\BusSubscriber.cs:line 32
at DShop.Common.RabbitMq.Extensions.UseRabbitMq(IApplicationBuilder app) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Common\src\DShop.Common\RabbitMq\Extensions.cs:line 25
at DShop.Api.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, IApplicationLifetime applicationLifetime, IConsulClient client, IStartupInitializer startupInitializer) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Api\src\DShop.Api\Startup.cs:line 91
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
[20:17:35 FTL] Application startup exception
Autofac.Core.DependencyResolutionException: An exception was thrown while activating ?:RawRabbit.IBusClient. ---> RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.IO.IOException: connection.start was never received, likely due to a network timeout
at RabbitMQ.Client.Framing.Impl.Connection.StartAndTune()
at RabbitMQ.Client.Framing.Impl.Connection.Open(Boolean insist)
at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IFrameHandler fh)
at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)
--- End of inner exception stack trace ---
at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)
at RawRabbit.Channel.ChannelFactory.ConnectAsync(CancellationToken token)
at RawRabbit.DependencyInjection.RawRabbitDependencyRegisterExtension.<>c.b__0_3(IDependencyResolver resolver)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass4_02.<AddSingleton>b__0()    at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)    at System.Lazy1.CreateValue()
at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService[TService](Object[] additional)
at RawRabbit.Instantiation.InstanceFactory.Create()
at DShop.Common.RabbitMq.Extensions.<>c.b__2_1(IComponentContext context) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Common\src\DShop.Common\RabbitMq\Extensions.cs:line 89
at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_01.<ForDelegate>b__0(IComponentContext c, IEnumerable1 p) in C:\projects\autofac\src\Autofac\Builder\RegistrationBuilder.cs:line 62
at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) in C:\projects\autofac\src\Autofac\Core\Activators\Delegate\DelegateActivator.cs:line 71    at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters, Object& decoratorTarget) in C:\projects\autofac\src\Autofac\Core\Resolving\InstanceLookup.cs:line 118
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters, Object& decoratorTarget) in C:\projects\autofac\src\Autofac\Core\Resolving\InstanceLookup.cs:line 136    at Autofac.Core.Resolving.InstanceLookup.Execute() in C:\projects\autofac\src\Autofac\Core\Resolving\InstanceLookup.cs:line 85    at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) in C:\projects\autofac\src\Autofac\Core\Resolving\ResolveOperation.cs:line 130
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) in C:\projects\autofac\src\Autofac\Core\Resolving\ResolveOperation.cs:line 83    at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) in C:\projects\autofac\src\Autofac\ResolutionExtensions.cs:line 1041
at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters) in C:\projects\autofac\src\Autofac\ResolutionExtensions.cs:line 814
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)   at DShop.Common.RabbitMq.BusSubscriber..ctor(IApplicationBuilder app) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Common\src\DShop.Common\RabbitMq\BusSubscriber.cs:line 32
at DShop.Common.RabbitMq.Extensions.UseRabbitMq(IApplicationBuilder app) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Common\src\DShop.Common\RabbitMq\Extensions.cs:line 25
at DShop.Api.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, IApplicationLifetime applicationLifetime, IConsulClient client, IStartupInitializer startupInitializer) in C:\Users\Hossein\Desktop\Repository\Microservice\DNC\DNC-DShop.Api\src\DShop.Api\Startup.cs:line 91
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
`

You solved it. I also met this mistake

Hello! I didn't understand how you solved the problem, could you please tell me how?

This means that the app can't connect to Rabbit AMQP api, which should be running on localhost:5672.
I had the same issue when I ran the projects with Docker. My solution was to change "hostnames" in appsettings.json, from "localhost" to "host.docker.internal".

Thanks @evgenirusev - I was trying to get the RabitMq "Hello World" tutorial to work and could not figure out why is it not working.
This is what worked for me:

In Docker Terminal "Client"  to make new Image -      docker run -d --hostname my-rabit --name ecomm-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3

Than I copied the IP which is "<IP_ADDRESS>:15672" with the port :15672 and used that in the RabitMq as hostname

In RabitMQ Console App Send And Receive -         factory.HostName = "<IP_ADDRESS>";

In RabitMQ Console App Send And Receive -       factory.Port = AmqpTcpEndpoint.UseDefaultPort;

thanks @evgenirusev  for me "host.docker.internal" worked.
In my situation I have a docker desktop running with linux container and rabbitmq:3-management on it, then I created a dotnet core webapi with VS 20219.
Now when I am running the code it is working

"localhost" on IIS Express
"localhost" on Docker build from Visual Studio
"host.docker.internal" on Docker build from Visual Studio

But not working in this scenario
"host.docker.internal" on Docker with docker build command
docker build -t mytagImage .
docker run -d -p 7384:80 mytagImage

I have also faced the issue you can check this issue and resolution
Happy Coding!

Hi, I created  a small application using .netcore and rabbitmq and created the image in docker for both of them using below docker-compose  code -
version: '3'
services:
rabbitmq:
container_name: rabbitmq
hostname: "rabbitmq"
image: rabbitmq:3-management
ports:
- "5672:5672"
- "15672:15672"
volumes:
- rabbitmq:/rabbitmq
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:15672"]
interval: 30s
timeout: 10s
retries: 5
isp_hub:
depends_on:
- rabbitmq
build:
context: .
dockerfile: Dockerfile
ports:
- "9090:80"
volumes:
rabbitmq:
after running the cmd docker-compose up  the image is created and container is started and i am using Jmeter client to  hit the container  .net code is working but while trying to pass the data in queue getting below exception  -
"log":"info: Microsoft.Hosting.Lifetime[0]\r\n","stream":"stdout","time":"2022-04-04T08:25:22.6109672Z"}
{"log":"      Application is shutting down...\r\n","stream":"stdout","time":"2022-04-04T08:25:22.6109672Z"}
{"log":"info: Microsoft.Hosting.Lifetime[0]\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4488984Z"}
{"log":"      Now listening on: http://[::]:80\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4488984Z"}
{"log":"info: Microsoft.Hosting.Lifetime[0]\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4498991Z"}
{"log":"      Application started. Press Ctrl+C to shut down.\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4498991Z"}
{"log":"info: Microsoft.Hosting.Lifetime[0]\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4498991Z"}
{"log":"      Hosting environment: Production\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4498991Z"}
{"log":"info: Microsoft.Hosting.Lifetime[0]\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4498991Z"}
{"log":"      Content root path: C:\app\r\n","stream":"stdout","time":"2022-04-04T08:25:38.4498991Z"}
{"log":"fail: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[8]\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"      Failed to invoke hub method 'SendToMessageBroker'.\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"      RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"       ---\u003e System.AggregateException: One or more errors occurred. (Connection failed)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"       ---\u003e RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"       ---\u003e System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.\u003c\u003ec.\u003c.cctor\u003eb__4_0(Object state)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"      --- End of stack trace from previous location ---\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.Impl.TcpClientAdapter.ConnectAsync(String host, Int32 port)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.Impl.TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         --- End of inner exception stack trace ---\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingAddressFamily(AmqpTcpEndpoint endpoint, Func2 socketFactory, TimeSpan timeout, AddressFamily family)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"} {"log":"         at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingIPv4(AmqpTcpEndpoint endpoint, Func2 socketFactory, TimeSpan timeout)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint endpoint, Func2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"} {"log":"         at RabbitMQ.Client.Framing.Impl.IProtocolExtensions.CreateFrameHandler(IProtocol protocol, AmqpTcpEndpoint endpoint, Func2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.ConnectionFactory.CreateFrameHandler(AmqpTcpEndpoint endpoint)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func2 selector)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"} {"log":"         --- End of inner exception stack trace ---\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"} {"log":"         at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func2 selector)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         --- End of inner exception stack trace ---\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.ConnectionFactory.CreateConnection(String clientProvidedName)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at RabbitMQ.Client.ConnectionFactory.CreateConnection()\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at ISP_Hub.HubConfig.CenterHub.SendToMessageBroker(String requestData) in C:\src\ISP_Hub\HubConfig\CenterHub.cs:line 38\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at Microsoft.Extensions.Internal.ObjectMethodExecutor.\u003c\u003ec__DisplayClass33_0.\u003cWrapVoidMethod\u003eb__0(Object target, Object[] parameters)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
{"log":"         at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher1.ExecuteMethod(ObjectMethodExecutor methodExecutor, Hub hub, Object[] arguments)\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"} {"log":"         at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher1.\u003c\u003ec__DisplayClass16_0.\u003c\u003cInvoke\u003eg__ExecuteInvocation|0\u003ed.MoveNext()\r\n","stream":"stdout","time":"2022-04-04T08:26:55.7889752Z"}
rabbitmq connection code -
public void SendToMessageBroker(string requestData)
{
var trace = JsonConvert.DeserializeObject(requestData);
// string rabbitMqUrl = "<IP_ADDRESS>";
// var factory = new ConnectionFactory() { HostName = "<IP_ADDRESS>", Port = 5672 };
//var factory = new ConnectionFactory
//{
//    HostName = rabbitMqUrl,
//    UserName = "guest",
//    Password = "guest",
//    Port = AmqpTcpEndpoint.UseDefaultPort,
//    VirtualHost = "/",
//    RequestedHeartbeat = new TimeSpan(60),
//    Ssl = { ServerName = rabbitMqUrl, Enabled = false }
//};
var factory = new RabbitMQ.Client.ConnectionFactory
{
Uri = new Uri("amqp://guest:guest@localhost:5672/")
};
using var conn = factory.CreateConnection();
using var channel = conn.CreateModel();
RabbitMQPublisher.Publish(channel, trace);
Clients.All.SendAsync("test");
channel.Close();
conn.Close();
Debug.WriteLine("Show Message: " + requestData);
        //}
        //catch (Exception)
        //{
        //    Debug.WriteLine(count);
        //    count++;
        //}
    }

i am new to docker . please help me to understand the issue and how to resolve it

run rabbitmq on docker.
docker run -p 5672:5672 rabbitmq

This means that the app can't connect to Rabbit AMQP api, which should be running on localhost:5672. I had the same issue when I ran the projects with Docker. My solution was to change "hostnames" in appsettings.json, from "localhost" to "host.docker.internal".

Facing the same issues, this solves my problems for persistent connection

evgenirusev 's solution works ! thank you Evgeni Rusev

This means that the app can't connect to Rabbit AMQP api, which should be running on localhost:5672. I had the same issue when I ran the projects with Docker. My solution was to change "hostnames" in appsettings.json, from "localhost" to "host.docker.internal".

It works

Isso significa que o aplicativo não pode se conectar ao Rabbit AMQP api, que deve ser executado no localhost: 5672. Eu tinha o mesmo problema quando dirigi os projetos com o Docker. Minha solução foi mudar "hostnames" em appsettings.json, de "localhost" para "host.docker.internal".

Its Work!


Mock-SAS v3.0: Not sure what the function is of program model.with_final_slash_flaskServer.py

In Mock-SAS v3.0 there is a new function "model.with_final_slash_flaskServer.py", But I couldn't find how and where the function is called. Could anyone provide some detail information?

The file "with_end_slash_flaskServer.py" is for CBSDs that still have an end slash after the "method". For example HTTP:///v2.0/registration/  where the latest Winnforum SAS<->CBSD protocol spec states it should be without the end slash HTTP:///v2.0/registration
It is possible to edit this and add/remove the end slash in the flaskServer.py itself in line 20

The file "with_end_slash_flaskServer.py" is just an example file.


The same liability score for cases in WTCCC

Hi Omer,
Thanks for developing such good software. I am currently using WTCCC binary traits to create liability scores for downstream analysis.
I first checked if LEAP runs well on my side by doing test.py. I found the liability scores generated in dataset1.phe.liab matches the 6th column in the fam file there. So I assume that my coding there is correct.
And I applied the LEAP there for RA and T1d in WTCCC data. I used the raw genotype data with about 300k SNPs. I have 2938 controls, and different numbers of cases for different traits.  I found the liability scores for cases are all the same and are different among controls, which is suspicious. I am wondering if you have any ideas about why it happens there.
Best,
Boran

Hi Boran,
This makes sense - for rare phenotypes, the MAP estimate of case liabilities is almost always exactly equal to the liability threshold. This is consistent with the distribution of the liabilities in case-control datasets: A person is unlikely to be a case to begin with, so if they are a case, they probably were just "unlucky" enough to barely pass the liability threshold. In fact, it's exponentially less likely to have liability greater than the threshold (see Supplementary Figure 1 in the LEAP paper).
Hope it's clear, please let me know if not.
Cheers,
Omer


Changes for Hibernate Reactive

Fix HHH-18854 (I think)
These changes make it possible for me to use Hibernate Reactive with ORM 7 and Postgres.
I still need to fix some issues with the other databases, but I don't think I will have more changes to include for now.
Basically, I needed some way to intercept the creation of the id generator.

Comments added

Comments added

Thanks man

Rebased to the latest changes and added a minor refactoring: https://github.com/hibernate/hibernate-orm/pull/9264/commits/f0b8dca0cb0f8be6fcc2ecb1aff64a17d7b9814e

@sebersole Is it OK to merge this before the next release?

@gavinking Is this better? https://github.com/hibernate/hibernate-orm/pull/9264/commits/7be8d0b27dd10e0879849c4279324aa1d66956b2

@gavinking Is this better? 7be8d0b

Um, well, it's less code, so ... I guess??

@sebersole Is it OK to merge this before the next release? (After I've applied the change Gavin asked)

Looks fine to me, I'll get it applied today.

We need to figure out this failure first though

https://github.com/hibernate/hibernate-orm/pull/9329

Thanks!


Dark mode

https://github.com/xamarin/Xamarin.Forms/issues/11406

fixed by switching to fontimagesource icons


Purchase with Escrow/Mod resulted in error & direct payment is not updating status

Brief Description: After attempting to make a purchase with the option for moderation, I received an error (something that made me think it had to do with escrow... can't remember the error) and then decided to do a direct sale since it is a trusted vendor... the OpenBazaar BCH store. So a sale with no option for moderation/escrow was placed. There was no error this time. Instead I was presented with a QR/wallet to send payment to. Payment was sent immediately. After several verifications on the BCH blockchain, OpenBazaar still asks for payment. The payment shows up on the blockchain with several confirmations but I still see the order status of "Awaiting Payment". Right now, the vendor sees the "Fulfilled" status. Unfortunately, I don't have the log files from this time. Let me know if the most recent log files will be of any use.
I hope I opened this issue in the right repo. Not sure if this is a server issue or a desktop issue. I'm running the server and client locally on my local machine.
Operating System (OS and version): Debian
OpenBazaar version: 2.2.3 (upgraded to 2.2.4 and it still hasn't synced)
Observed Behavior: OpenBazaar still thinks I haven't paid.
Expected Behavior: The order status should say I have paid.
Additional info (links, images, etc go here):
Screenshot of my (buyer's) screen after payment has been made.

@webunraveling can you go into settings/advanced, and click the Reload Transactions button? That should resync your local data and change your order status to paid.

If resyncing doesn't correct this, there are some other steps we can take.

Thanks for the suggestion. I've tried the Reloading Transaction button twice now and the status still shows "Awaiting Payment".

@webunraveling can you try the following?

Make sure the OpenBazaar app is turned off.
Find your OpenBazaar2.0 directory.
Delete the headers.bin file in the OpenBazaar2.0 directory.
Turn the OpenBazaar app back on.
In settings/advanced, if you click the Show Block Data button, you can see the current state of synching your node to the blockchain. If you compare the height to the latest block in a block explorer like https://blockexplorer.com/, you'll see when it's completely synced (the height will be equal to the latest block).

After your node has completely synced, your payment should show up again, if it doesn't, there is a more serious problem and our server team will have to dig into your logs and possibly get other data from you.

We just released version 2.2.4, which fixed a bug that would sometimes cause syncing to get stuck, that might be what happened to you. Can you try updating and then see if it syncs?
The update should happen automatically once it's released tonight.

This originally occurred on 2.2.3. I upgraded to 2.2.4-rc1 and now to 2.2.4 and its still showing a status of "Awaiting Payment". It looks like it synced up to the latest BTC block at least. :man_shrugging:

If it's a BCH node, it should be syncing with the BCH chain.

@cpacia @placer14 @tyler-smith any thoughts on why this payment isn't showing up after what's been tried above?

Yes. @webunraveling posted rm ~/.openbazaar2.0/headers.bin in the backlog. Is it possible you're removing the wrong headers.bin? If you're using a BCH node, you should be doing rm ~/.OpenBazaar2.0-bitcoincash/headers.bin according to https://openbazaar.zendesk.com/hc/en-us/articles/115002761312-How-do-I-backup-my-store-

Also, please verify in the logs/bitcoin.log that the chain sync completed.

Thanks for the additional suggestion, @placer14. I almost tried that but figured I'd stick to the instructions. A side note, just to verify, the BCH node is syncing to the most recent height of the BCH blockchain. To verify, below is the output of cat ~/.openbazaar2.0-bitcoincash/logs/bitcoin.log | tail -20 although after deleting headers.bin it had to sync up with the blockchain again. It still shows the order status of "Awaiting Payment". Should I reload my transactions again as well again?
10:02:14.298 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>0000000087078a7aa0bee64c7ab9bc414c8a80186747a69ba42f04 at height 543963
10:02:14.301 [DEBUG] [bitcoin/handleMerkleBlockMsg] Requesting block<PHONE_NUMBER>00000001b354ea9893bdbd317923adc51ad7e0e0fc59f55f97a830, len request queue: 6
10:02:14.473 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>00000001b354ea9893bdbd317923adc51ad7e0e0fc59f55f97a830 at height 543964
10:02:14.476 [DEBUG] [bitcoin/handleMerkleBlockMsg] Requesting block<PHONE_NUMBER>000000000a055644ec7ee5404215fa4165bda207592d348c4593c6, len request queue: 5
10:02:14.628 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>000000000a055644ec7ee5404215fa4165bda207592d348c4593c6 at height 543965
10:02:14.628 [DEBUG] [bitcoin/handleMerkleBlockMsg] Requesting block<PHONE_NUMBER>00000001866f49d148be897bf79476fae16d77eb2ae8b58af5a7dd, len request queue: 4
10:02:14.782 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>00000001866f49d148be897bf79476fae16d77eb2ae8b58af5a7dd at height 543966
10:02:14.785 [DEBUG] [bitcoin/handleMerkleBlockMsg] Requesting block<PHONE_NUMBER>00000000316a42589d9fc68253e93eef1330be40e2f88e36614bfa, len request queue: 3
10:02:14.978 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>00000000316a42589d9fc68253e93eef1330be40e2f88e36614bfa at height 543967
10:02:14.981 [DEBUG] [bitcoin/handleMerkleBlockMsg] Requesting block<PHONE_NUMBER>000000012ecb2fc76be688500a5879de4f612ab08626131532c459, len request queue: 2
10:02:15.138 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>000000012ecb2fc76be688500a5879de4f612ab08626131532c459 at height 543968
10:02:15.141 [DEBUG] [bitcoin/handleMerkleBlockMsg] Requesting block<PHONE_NUMBER>00000001ac46492c86ff7bff63f032b9a10616b56ac352443f1640, len request queue: 1
10:02:15.296 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>00000001ac46492c86ff7bff63f032b9a10616b56ac352443f1640 at height 543969
10:02:15.299 [DEBUG] [bitcoin/handleMerkleBlockMsg] Requesting block<PHONE_NUMBER>00000000f549bfbb0bb1f5d7a2eebeb1ad1714ff44ebad5c7bf5cd, len request queue: 0
10:02:15.455 [INFO] [bitcoin/handleMerkleBlockMsg] Received merkle block<PHONE_NUMBER>00000000f549bfbb0bb1f5d7a2eebeb1ad1714ff44ebad5c7bf5cd at height 543970
10:04:11.563 [DEBUG] [bitcoin/onDisconnection] Peer <IP_ADDRESS>:8333 (outbound) disconnected
10:04:12.402 [DEBUG] [bitcoin/onDisconnection] Peer <IP_ADDRESS>:8333 (outbound) disconnected
10:04:13.102 [DEBUG] [bitcoin/onDisconnection] Peer <IP_ADDRESS>:8333 (outbound) disconnected
10:04:13.535 [DEBUG] [bitcoin/onVerack] Connected to <IP_ADDRESS>:8333 - /Bitcoin ABC:0.17.1(EB32.0)/
10:05:31.966 [INFO] [bitcoin/Close] Disconnecting from peers and shutting down

@webunraveling and @placer14 has any progress been made here?

@jjeffryes and @placer14 so far the order is still showing a status of "Awaiting payment". I'm open to more suggestions.

Hey @webunraveling. Sorry for taking so long to respond. Would you mind posting a copy of your purchase contract in an issue at https://openbazaar.zendesk.com/hc/en-us/requests/new and reference this issue comment in the body? I'm not sure why a payment would not be detected by the wallet and I'm suspicious of your payment address. I'd also welcome links to the transaction on a blockchain explorer.

No problem. I submitted the info at the link you provided. Hopefully we can nail this down. :-)

@placer14 what's the status of this issue?

@jjeffryes I'm afraid I don't have an update on this. This was put on the back-burner and was never recovered. Thank you for raising again, I'll put this back into the queue.


Bugfix/yousong odds

这个 PR 实现什么功能/修复什么问题:
guestnetworks: use math/rand instead of crypto/rand
guestnetworks: reduce odds of collision seeded by epoch seconds

是否需要 backport 到之前的 release 分支:

2.13

/area region
/cc @zexi @swordqiu @ioito @wanyaoqi

Codecov Report

Merging #6817 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6817      +/-   ##
==========================================
- Coverage    6.77%    6.77%   -0.01%
==========================================
  Files         669      669
  Lines      117719   117710       -9
==========================================
- Hits         7978     7976       -2
+ Misses     109135   109127       -8
- Partials      606      607       +1

Flag
Coverage Δ

#aFlag
6.77% <0.00%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/guestnetworks.go
0.18% <0.00%> (+<0.01%)
:arrow_up:

pkg/cloudcommon/db/lockman/fifo.go
80.00% <0.00%> (-10.00%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e49c11e...173448e. Read the comment docs.

/lgtm
/approve


Reduce polling across component

The get_last_called Alexa request is not cached and will be pulled by every media_player refresh. This can result in excessive load if there are multiple echos on an account.

After reviewing the get_last_serial call more along with other API calls and this discussion, it probably makes sense to reduce the polling significantly.  Most media players spend the majority of time idle or paused and particularly for many Alexa devices, will result in significant polling.

For reference, this may mean we reimplement #65 to avoid polling as the primary mechanism.  Tagging #64 and #60 for completeness.

This should be complete in my rate_limit branch and my dev for testing.  All media players will do an initial poll on startup and will only continue polling if they detect they are playing. On exit from playing, they will perform one final check after 300 seconds.  Media players will recheck their state for polling if they receive an API call through HA or if they are detected as the last_called Alexa. Uses of any other APIs to interact with Alexa such as the Alexa app will not resume polling because they are invisible to this component.
Last_called detection is now in the root media_player update_devices() instead of the media player refresh.  It currently has a default scanning of 60 seconds (previously 15 seconds) so we will pick up any voice interaction in 60 seconds. Scanning interval is now a config option scanning_interval.
There can be additional improvements in the update_devices probably can drop the device (i.e., find and add new devices who come online) and bluetooth (i.e., find any new bluetooth pairings) refresh on every scanning_interval cycle. I don't think they're necessary for now.


Values of attribute's tag

The values used for the attribute tag is not compliant with CCSDS RECOMMENDED STANDARD FOR
MISSION OPERATIONS MESSAGE ABSTRACTION LAYER CCSDS 521.0-B-2.
It appears that they are all translated by one. For example, the blob tag is valued to 0 (zero) while it is expected to be 1 (one).

If I refer to section 5.2.2 of the MAL/TCP specification it seems that it is correct: "5.2.2	The field ‘Attribute Tag’ shall be assigned with the short form part of the attribute minus 1 so that the tag starts from zero.".

It seems there is a error in the decoding process of the attribute tag. See work in progress on https://github.com/gbonnefille/malc/tree/fix-attribute-tag

Branch updated to revise the mal attribute tag enc/dec functions and to fix the decoding of mal_attribute_t.

Fixed by https://github.com/ccsdsmo/malc/pull/25


Add support for 'fieldReplaceable' and 'cacheable'

https://github.com/openbmc/openbmc/issues/1099 - This is equivalent to what deepak had dropped the changes.
Please feel free to estimate.

[x]  Core dictionary
[x] Add functional state

In inventory file generated

code under review


README example throwing "methods.parse is not a function"

Hey @spencermountain major kudos to this suite of wikidump parsing tools!
I'm getting this when running the provided example:
TypeError [Error]: methods.parse is not a function
    at eachPage (file:///opt/projects/foo/node_modules/dumpster-dip/src/worker/index.js:52:21)
    at SundayDriver.each (file:///opt/projects/foo/node_modules/dumpster-dip/src/worker/01-reader.js:18:7)
    at SundayDriver.doChunk (/opt/projects/foo/node_modules/sunday-driver/src/index.js:38:8)
    at doit (/opt/projects/foo/node_modules/sunday-driver/src/index.js:77:10)
    at SundayDriver.onData (/opt/projects/foo/node_modules/sunday-driver/src/index.js:87:3)
    at ReadStream.<anonymous> (/opt/projects/foo/node_modules/sunday-driver/src/02-start.js:15:10)
    at ReadStream.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:293:11)
    at Readable.push (node:internal/streams/readable:234:10)

I tried pinning wtf to 10.0.0 as in package.json but still a no-go. The code I'm running is verbatim from the example in the README, bar an actual file path. I'm using the Slovenian wiki dump as a testbed (slwiki-20230120-pages-articles-multistream.xml) Any ideas?

hey @mx781 - yeah, if you pass in a parse method, it should go-through. That seems funny.
dip({ input:'/path/to', parse: (doc) => {    }})

I'm not actually sure what that multistream file is - i usually use the wiki-latest-pages-articles.xml.bz2 - do you know what the difference is?
i can help if you're stuck, but take a look at the workerData props - they get passed-in pretty straightforwardly.
cheers

Thanks for replying so quickly! the multistream is just their recommended version so that some xml parsers can read starting from different parts of the file (better for parallelization and if you want to extract a doc that's later in the file).
The issue went away after I dropped the arrow syntax in favour of the good ol' function(blah){} - unsure whether this was to do with JSONfn, the way I was running it (vanilla node via command-line invocation), my node version (v18.15.0) or something silly (probably this) - didn't have time to dig into it


Measurements for lighstrip + extension

I have a Hue gradient lightstrip of 2 meters with a 1 meter extension. I started measurements with the base 2m lightstrip. Would it be possible to also add measurements for base+extension?

Please unsubscribe me
On Mon, Jan 30, 2023, 3:14 PM AJ Banck @.***> wrote:

I have a Hue gradient lightstrip of 2 meters with a 1 meter extension. I
started measurements with the base 2m lightstrip. Would it be possible to
also add measurements for base+extension?
—
Reply to this email directly, view it on GitHub
https://github.com/bramstroker/homeassistant-powercalc/issues/1461, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A47WF3BM6JERKK4TNXOUM23WVBDOZANCNFSM6AAAAAAULXXIIE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@ajbanck You can provide multiple sub profiles where the user can choose from during setup of the powercalc sensor.
See for example: https://github.com/bramstroker/homeassistant-powercalc/tree/master/custom_components/powercalc/data/yeelight/YLDD05YL
Would be nice if you can do that in the PR you already opened. Than I'll wait to merge that until the extension is also added.
Let me know if you have any further questions.


[WIP] Implement mathjax

Problem:
Providing webFont: 'STIX-Web', causes MathJax to load the mathjax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js file, even if it has already been evaluated by WebPack.  When rendering, it loads the following files:
jax/output/HTML-CSS/fonts/STIX-Web/Main/Italic/Main.js
fonts/HTML-CSS/STIX-Web/woff/STIXMathJax_Main-Italic.woff
fonts/HTML-CSS/STIX-Web/otf/STIXMathJax_Main-Italic.otf

If the webFont is set to null and the fontdata file is loaded by MathJax, it tries to load the non-existent jax/output/HTML-CSS/fonts/Main/Italic/Main.js.  Trying to load an appropriate Italic/Main file via WebPack results in an error during page load in config/TeX-AMS_HTML-full.
Trying to render the output as SVG tries to load jax/output/SVG/config.js.
Note: The node_modules/mathjax (2.6.1) folder and the notebook/static/components/mathjax (2.6.0) folder are both 58M.

cc @jasongrout

Thanks

My recommendation is to use MathJax in a script tag, as it was intended, and use it to render the markdown cells if available, but fall back on a bundled katex if it is not available.  Since while katex is faster, it is not as fully featured.

cc @minrk

@blink1073 - that sounds like a good idea to me.  This may help: https://groups.google.com/forum/#!topic/mathjax-users/UT9qMPPwbzg. But I'm fine just including it as a script tag for now, and planning on making things more modular with the mathjax 3.0 rewrite.

Script tag makes sense. Thanks for digging into this, @blink1073!

Closing in favor of #57.

I went ahead and posted a short query to the mathjax-users mailing list: https://groups.google.com/forum/#!topic/mathjax-users/1os6XOGkLOc. I'm really curious if someone has used webpack to bundle mathjax.

@jasongrout feel free to cc me on similar issues.


Allow users to bind router on all network interfaces, fixes #1798

The Problem/Issue/Bug:
OP #1798: In ddev v1.10, the feature/bug where ddev bound to all network interfaces was removed. Previously everyone on a local network could access ddev sites (and PHPMyAdmin).
It was a surprise to find out that there were people relying on this feature/bug to share projects with others or to use ddev for CI/CD/Staging applications.
How this PR Solves The Problem:
Allow a new global configuration option  in ~/.ddev/global_config.yaml: router_bind_all_interfaces: true that uses the original behavior.
Manual Testing Instructions:
ddev poweroff
ddev config global --router-bind-all-interfaces=true
ddev start

Inspect ~/.ddev/router_compose.yaml; you should see the port bindings without IP addresses specified.
Access project from an IP address on the machine that is not localhost

Automated Testing Overview:

Adds testing only for the ddev config global option; it seems too hard to know what ip addresses to use in so many testing environments.

Related Issue Link(s):
#1794 requested this configuration
#1792 also
https://github.com/drud/ddev-contrib/pull/9 provided an interesting workaround that used the ddev-router in an unusual way.
Release/Deployment notes:
It's important for people to understand the security implications.
At least using omit_containers: [dba] in the ~/.ddev/global_config.yaml is recommended, as that prevents the PHPMyAdmin interface from being used across the local network.

Huge +1 from me. As you said:

It was a surprise to find out that there were people relying on this feature/bug to share projects with others or to use ddev for CI/CD/Staging applications.

We have been looking at DDev as a possible way to build review apps as part of automated CI. Our production system doesn't use docker, but we have DDev configured to mirror it's setup for easy local development. Spinning up instances in DDev hopefully requires only setting a custom project name and additional FQDN, rather than having to deal with configuring multiple vhosts in apache or nginx.
I'm a bit backed up at the moment, but when I get a chance, I will give setting this up a go. If it's still awaiting review I'll give feedback on my experience!

I expect this to make a prerelease this week, so should be easy to test there. If anybody wants to test now, the artifacts from this PR are at https://circleci.com/gh/drud/ddev/17811#artifacts/containers/0


api: Make contains check for entity name

This PR modifies Component#contains(Component) to check for the name of an entity in a ShowEntity hover event and adds some tests.

Rebased following merge of #364.


Update Connectivity-Options-SingleRegion.md

Overview/Summary
Replace this with a brief description of what this Pull Request fixes, changes, etc.
This PR fixes/adds/changes/removes

Replace me
Replace me
Replace me

Breaking Changes

Replace me
Replace me

Testing Evidence

Replace this with any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate)

As part of this Pull Request I have

[ ] Checked for duplicate Pull Requests
[ ] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation.

Forgot an image. Tagging @Mahesh-MSFT


Syncing one-moniker changes to live

:warning: Validation status: warnings

File
Status
Preview URL
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Definition/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Update/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition/toc.yml
:warning:Warning
View
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

api/overview/azure/activedirectory.md
:white_check_mark:Succeeded
View

api/overview/azure/appservice.md
:white_check_mark:Succeeded
View

api/overview/azure/automation.md
:white_check_mark:Succeeded
View

api/overview/azure/batch.md
:white_check_mark:Succeeded
View

api/overview/azure/billing.md
:white_check_mark:Succeeded
View

api/overview/azure/cdn.md
:white_check_mark:Succeeded
View

api/overview/azure/cosmosdb.md
:white_check_mark:Succeeded
View

api/overview/azure/data-factory.md
:white_check_mark:Succeeded
View

api/overview/azure/data-lake-analytics.md
:white_check_mark:Succeeded
View

api/overview/azure/data-lake-store.md
:white_check_mark:Succeeded
View

api/overview/azure/dns.md
:white_check_mark:Succeeded
View

api/overview/azure/event-hubs.md
:white_check_mark:Succeeded
View

api/overview/azure/hd-insight.md
:white_check_mark:Succeeded

api/overview/azure/hdinsight.md
:white_check_mark:Succeeded
View

api/overview/azure/insights.md
:white_check_mark:Succeeded
View

api/overview/azure/iot.md
:white_check_mark:Succeeded
View

api/overview/azure/key-vault.md
:white_check_mark:Succeeded
View

api/overview/azure/media-services.md
:white_check_mark:Succeeded
View

api/overview/azure/mobile.md
:white_check_mark:Succeeded
View

api/overview/azure/mysql.md
:white_check_mark:Succeeded
View

api/overview/azure/notification-hubs.md
:white_check_mark:Succeeded
View

api/overview/azure/postgresql.md
:white_check_mark:Succeeded
View

api/overview/azure/powerbi-embedded.md
:white_check_mark:Succeeded
View

api/overview/azure/recovery-services.md
:white_check_mark:Succeeded
View

api/overview/azure/redis-cache.md
:white_check_mark:Succeeded
View

api/overview/azure/resource-manager.md
:white_check_mark:Succeeded
View

api/overview/azure/search.md
:white_check_mark:Succeeded
View

api/overview/azure/service-bus-relay.md
:white_check_mark:Succeeded
View

api/overview/azure/service-bus.md
:white_check_mark:Succeeded
View

api/overview/azure/service-fabric.md
:white_check_mark:Succeeded
View

api/overview/azure/sql.md
:white_check_mark:Succeeded
View

api/overview/azure/storage.md
:white_check_mark:Succeeded
View

api/overview/azure/stream-analytics.md
:white_check_mark:Succeeded
View

api/overview/azure/traffic-manager.md
:white_check_mark:Succeeded
View

api/overview/azure/virtual-network.md
:white_check_mark:Succeeded
View

api/overview/azure/virtualmachines.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-authenticate.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-concepts.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-get-started.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-overview.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-release-notes.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-sample-readme.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithOSDiskFromImage" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Definition/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Update/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Disk.Update.IWithOSSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Update/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithOSDiskSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithOSSnapshotFromImage" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update.IWithOSSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithOSDiskSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition/toc.yml"

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Definition/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Update/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update/toc.yml
:warning:Warning
View
Details

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition/toc.yml
:warning:Warning
View
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

api/overview/azure/activedirectory.md
:white_check_mark:Succeeded
View

api/overview/azure/appservice.md
:white_check_mark:Succeeded
View

api/overview/azure/automation.md
:white_check_mark:Succeeded
View

api/overview/azure/batch.md
:white_check_mark:Succeeded
View

api/overview/azure/billing.md
:white_check_mark:Succeeded
View

api/overview/azure/cdn.md
:white_check_mark:Succeeded
View

api/overview/azure/cosmosdb.md
:white_check_mark:Succeeded
View

api/overview/azure/data-factory.md
:white_check_mark:Succeeded
View

api/overview/azure/data-lake-analytics.md
:white_check_mark:Succeeded
View

api/overview/azure/data-lake-store.md
:white_check_mark:Succeeded
View

api/overview/azure/dns.md
:white_check_mark:Succeeded
View

api/overview/azure/event-hubs.md
:white_check_mark:Succeeded
View

api/overview/azure/hd-insight.md
:white_check_mark:Succeeded

api/overview/azure/hdinsight.md
:white_check_mark:Succeeded
View

api/overview/azure/insights.md
:white_check_mark:Succeeded
View

api/overview/azure/iot.md
:white_check_mark:Succeeded
View

api/overview/azure/key-vault.md
:white_check_mark:Succeeded
View

api/overview/azure/media-services.md
:white_check_mark:Succeeded
View

api/overview/azure/mobile.md
:white_check_mark:Succeeded
View

api/overview/azure/mysql.md
:white_check_mark:Succeeded
View

api/overview/azure/notification-hubs.md
:white_check_mark:Succeeded
View

api/overview/azure/postgresql.md
:white_check_mark:Succeeded
View

api/overview/azure/powerbi-embedded.md
:white_check_mark:Succeeded
View

api/overview/azure/recovery-services.md
:white_check_mark:Succeeded
View

api/overview/azure/redis-cache.md
:white_check_mark:Succeeded
View

api/overview/azure/resource-manager.md
:white_check_mark:Succeeded
View

api/overview/azure/search.md
:white_check_mark:Succeeded
View

api/overview/azure/service-bus-relay.md
:white_check_mark:Succeeded
View

api/overview/azure/service-bus.md
:white_check_mark:Succeeded
View

api/overview/azure/service-fabric.md
:white_check_mark:Succeeded
View

api/overview/azure/sql.md
:white_check_mark:Succeeded
View

api/overview/azure/storage.md
:white_check_mark:Succeeded
View

api/overview/azure/stream-analytics.md
:white_check_mark:Succeeded
View

api/overview/azure/traffic-manager.md
:white_check_mark:Succeeded
View

api/overview/azure/virtual-network.md
:white_check_mark:Succeeded
View

api/overview/azure/virtualmachines.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-authenticate.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-concepts.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-get-started.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-overview.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-release-notes.md
:white_check_mark:Succeeded
View

docs-ref-conceptual/dotnet-sdk-azure-sample-readme.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithOSDiskFromImage" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Definition/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Update/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Disk.Update.IWithOSSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Disk.Update/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithOSDiskSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithOSSnapshotFromImage" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update.IWithOSSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.Snapshot.Update/toc.yml"

api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition/toc.yml

[Warning] Unable to find file with uid "Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithOSDiskSettings" referenced by TOC file "api/_splitted/Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition/toc.yml"

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Dracut immucore should fatal if binaries are missing

https://github.com/kairos-io/kairos/pull/2691 brought up to light that the dracut module setup for immucore does not seem to fail when it fails. In this case it was missing a binary and the initramfs was built anyway with missing binaries.
It should hard fatal if a binary is missing, no 2 way about it, otherwise we can have weird behavior during boot and we wont even notice.
Here is the exact line that was failing but initramfs module was still inserted and initramfs built: https://github.com/kairos-io/immucore/blob/main/dracut/28immucore/module-setup.sh#L28
See related: https://github.com/kairos-io/kairos/issues/2682

this is waiting for new framework image

on master


OpenTelemetryCollector config files are different from reference

Please review

@elamaran11 please take a look, that was the manifest maintenance that we are on the hook for. If you have ideas on how we can better track this type of changes please let me know.

@freschri please merge main to address unit test failures:

Version was not specified by cluster builder or in cluster provider props, must be specified in one of these
--
250 |
251 | 244 \|         const outputClusterName = true;
252 | 245 \|         if(!kubernetesVersion && !this.props.version) {
253 | > 246 \|             throw new Error("Version was not specified by cluster builder or in cluster provider props, must be specified in one of these");
254 | \|                   ^
255 | 247 \|         }
256 | 248 \|         const version: eks.KubernetesVersion = kubernetesVersion \|\| this.props.version \|\| eks.KubernetesVersion.V1_27;
257 | 249 \|

@shapirov103 One thing we can definately do is load an externa YAML like how its done here and move these ytpl files to https://github.com/aws-observability/aws-observability-accelerator. We should partner with terraform accelerator to see if we can align both together. Im expecting this to take time and i also dont anticipate change to this file sooner. So lets have it like this for now. We can find a way to remove these yamls and load externally later.

@freschri please merge main to address unit test failures:

Version was not specified by cluster builder or in cluster provider props, must be specified in one of these
--
250 |
251 | 244 \|         const outputClusterName = true;
252 | 245 \|         if(!kubernetesVersion && !this.props.version) {
253 | > 246 \|             throw new Error("Version was not specified by cluster builder or in cluster provider props, must be specified in one of these");
254 | \|                   ^
255 | 247 \|         }
256 | 248 \|         const version: eks.KubernetesVersion = kubernetesVersion \|\| this.props.version \|\| eks.KubernetesVersion.V1_27;
257 | 249 \|

done

Another comment. We need to add a feature to addon to allow external yaml like this This YAML should override the YAML part of the repo. Also this helps you to add the YAML to AWS Accelerator repo in a new folder like template and use that in the pattern.

I guess I did it in another PR see here: https://github.com/aws-quickstart/cdk-eks-blueprints/blob/64075bc726594e396d88f4d5b58a27a2dceee4a8/lib/addons/amp/index.ts#L33C6-L33C18
if that's what you mean

Another comment. We need to add a feature to addon to allow external yaml like this This YAML should override the YAML part of the repo. Also this helps you to add the YAML to AWS Accelerator repo in a new folder like template and use that in the pattern.

I guess I did it in another PR see here: https://github.com/aws-quickstart/cdk-eks-blueprints/blob/64075bc726594e396d88f4d5b58a27a2dceee4a8/lib/addons/amp/index.ts#L33C6-L33C18 if that's what you mean

@freschri I know but i think you should be using loadExternalYaml function to read an external path. The manifestPath should be an internal code base path now inorder for this to work in the current code. If you use loadExternalYaml function, it will allow you to load from external path too and you can refactor later to use the external path in common gitops repo.

Another comment. We need to add a feature to addon to allow external yaml like this This YAML should override the YAML part of the repo. Also this helps you to add the YAML to AWS Accelerator repo in a new folder like template and use that in the pattern.

I guess I did it in another PR see here: https://github.com/aws-quickstart/cdk-eks-blueprints/blob/64075bc726594e396d88f4d5b58a27a2dceee4a8/lib/addons/amp/index.ts#L33C6-L33C18 if that's what you mean

@freschri I know but i think you should be using loadExternalYaml function to read an external path. The manifestPath should be an internal code base path now inorder for this to work in the current code. If you use loadExternalYaml function, it will allow you to load from external path too and you can refactor later to use the external path in common gitops repo.

ok can you please create an enhancement issue for that? not really related to the current changes and anyone can pick it up

@freschri Since you already have a PR for Collector config, Could you please add the config listed here for the API Troubleshooting board to work as you add the rules in CDK accelerator.
https://github.com/aws-observability/terraform-aws-observability-accelerator/blob/cc3fd5a8dda6edb69b1e444034c3b5687d654f87/modules/eks-monitoring/otel-config/templates/opentelemetrycollector.yaml#L72-L98
Also please add a flag to enable or disable API Server monitoring in Addon. We dont want this to be defaulted. Also please check this for adding documentation for API server mon.

done

@freschri We already have an Issue for this. Since you are working on AmpAddon with this PR and you might need this feature for your proposal to CDK accelerator, i felt it is very relevant to add this low hanging fruit to this PR. I will leave it up to you to add to this work or a PR later. Thanks!

ok thanks then I will leave the work to be done in the context of Issue

@freschri Can you fix the issues, We are planning to release this week.

@shapirov103 Could you review this PR?

@freschri Can you fix the issues, We are planning to release this week.

what issues? all looks addressed above...

I see the issues are unresolved, Lets ask Mikhail to review and close this.

@elamaran11 your review status is "changes requested" - this prevents the merge atm.

@elamaran11 your review status is "changes requested" - this prevents the merge atm.

Merged.


Fix comptime negative zero

1 is a good point, I'll do that. Without an argument to either one, toString() and toPrecision() seem to do the same thing:

Ah, this seems to be documented too:

If the precision argument is omitted, behaves as Number.prototype.toString().


fix: Improve windows (git bash) support

Not a complete fix, but at least allows "obserable build" to execute on windows (only tested in a git bash shell)

Is this still useful after #944?

@fil - #944 obsoletes this PR - closing.

Thanks! We also plan to have a configurable list of interpreters (#935). I'm not sure we should add cmd (Windows command) or osascript (AppleScript), though, but that's debatable.

@fil - #944 should superceed this!

Thanks! We also plan to have a configurable list of interpreters (#935). I'm not sure we should add cmd (Windows command) or osascript (AppleScript), though, but that's debatable.

I would have thought cmd on Windows is equivalent to sh on Linux?

ah, maybe—I don't know windows at all


Added tests to secrets handler

Closes: https://github.com/openfaas/faas-swarm/issues/45
Signed-off-by: Bart Smykla<EMAIL_ADDRESS>
Description
To test that endpoint I changed also functions parameters
from *client.Client to client.SecretAPIClient which is
interface created by docker for that purposes.
With that in place, I could create fake dockerClient
and pass it to MakeSecretsHandler function and then test it.
I also fixed a small bug, which was I found because of tests.
In updateSecret function I was checking if updateSecretErr
is not nil, and then instead of return this error wrapped
by new error, I was returning getSecretErr which was nil,
so function was panicking.

Motivation and Context

[x] I have raised an issue to propose this change (required)

How Has This Been Tested?
I deployed image with changes to local cluster and used curl with proper parameters to simulate requests to secrets endpoints.
➜  books git:(master) ✗ curl -X GET http://localhost:8080/system/secrets
[{"name":"testsecret"}]%
➜  books git:(master) ✗ curl -d '{"name":"foo","value":"test"}' -X POST
http://localhost:8080/system/secrets
➜  books git:(master) ✗ curl -X GET http://localhost:8080/system/secrets
[{"name":"testsecret"},{"name":"foo"}]%
➜  books git:(master) ✗ curl -d '{"name":"foo"}' -X DELETE http://localhost:8080/system/secrets
➜  books git:(master) ✗ curl -X GET http://localhost:8080/system/secrets
[{"name":"testsecret"}]%

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thank you both 👍


Long words don't break lines

Long words don't break lines.
Example
<template>

asdadsadsadsadsadasdasdasdasdasdasdasadsadsadsadsadasdasdasdasadsadsadsadasdasdasdasdasadsadsadsadasdasdasadsadsadasdasadsadsadsadasdasdasadsadasdasadsadasdasdasadsadasdasadsadsadasdasdasadsadasdasdasadsadsadsasa

</template>

Causes

I'm sorry Vitor, I've been way too busy lately. I promise I'll address your issue tonight!
Thanks a lot!

@Frondor, no problem. I just commented because I had already fixed it in PR #21 and even then you put the label of "good first issue"

Yes, the label was just a reminder for myself.
I was about to change the build system because I got a new Mac and rollup was giving me way too many problems, so before merging your PR I implemented another project of mine in the branch new-build. You can check it out, and I'm merging you there.
I'd appreciate if you confirm the build at vue-line-clamp#new-build is working for your project.


Tool windows enhancements

tool windows - add run and clear buttons
add FileEditorManagerListener to automatically open / close tool window when tinker file is detected

@Roboroads any feedback?


Adds support for relative url root

Closes #103
This replaces PR #130 to add support for relative_url_root
@brenogazzola hopefully this is easier to review.
You had commented that the below may need to account for the relative_url_root
mount app.assets.server => app.assets.config.prefix
We use rack config (config.ru) to run rails in the subdirectory as below, so we don't need the above changed
map '/subdirectory' do
  run Rails.application
end

We are currently using this change in our development pipeline, and it has been deployed to production. For production the static assets are served up by a separate server under the relative url.

Thank you for your contribution!


Issue with SIGSEGV on v0.3.7 as included by prologue with nim 2.0.0

I'm getting a similar problem to the OP here: https://github.com/planety/prologue/issues/227 - it only happens when using httpx as the prologue back end (asynchttpserver is fine via prologue's -d:usestd flag).
I noticed some commentary about httpbeast and nim 2.0 here:
https://github.com/nim-lang/Nim/issues/21422
Where I see a common name on both areas (@ringabout ) - so I am guessing this is known and maybe being worked on?
TIA!

I think this is the resolution on httpbeast, but only in HEAD as of this writing:
https://github.com/dom96/httpbeast/pull/89


Cap the warp sync proof by size, not by fragments

The proof we get for Kusama turns out to be larger than what the networking protocol allows.
This does it properly.

I just realized that there's a problem. We check the limit after pushing the proof, so the limit will always be exceeded.

bot merge


fix reset.yml for lxc containers, add support for extra worker packages

Proposed Changes

implements https://github.com/techno-tim/k3s-ansible/discussions/259
fixes the reset script for lxc containers, ref: https://github.com/techno-tim/k3s-ansible/pull/263

Tested by deploying to a test cluster with the following extra packages, and verifying they were present by using apt list --installed | grep <package name>. Also ran the reset script and verified that they were uninstalled using the same method.
extra_worker_packages:
- open-iscsi  # for longhorn
- nfs-common  # for longhorn backups

Checklist

[x] Tested locally
[x] Ran site.yml playbook
[x] Ran reset.yml playbook
[x] Did not add any unnecessary changes
[x] Ran pre-commit install at least once before committing
[x] 🚀

Thank you.  I think this is a good middle ground to allow someone to install a list of packages without too many changes or dependencies.    Why stop at just workers?  What about servers?
Also, it would be awesome to write a molecule test for this.  Install the package and verify it's there.

Whatcha mean by servers? Like the proxmox servers?
The nodes are VMs / containers, I don't know if it makes sense to define what packages you want on your proxmox servers within this playbook. This just lets you add packages to the worker nodes if you know you need them for your applications that will be running on the nodes.
I did briefly think about molecule, but it looks like the tests use the sample inventory, wasn't sure about the sample actually installing packages. Would you have a preferred place / way to set this only for a test? Or do you think it's fine for the sample to have something that would actually get installed?

oh, this is probably what the overrides file is for?

not sure if that update does anything or not or if it is the reason the default is failing, was trying to avoid downloading all of the stuff and just let the CI handle it but might have to

This is failing because the package isn't available on rocky, only Ubuntu so you'll have to modify the tests to only install on node1, not node2.
Also, when I mentioned the servers, I meant the master nodes since I think this is going to be the next things someone asks for.

This is failing because the package isn't available on rocky, only Ubuntu so you'll have to modify the tests to only install on node1, not node2.
Also, when I mentioned the servers, I meant the master nodes since I think this is going to be the next things someone asks for.

Oh gotcha, no user workloads run on the control nodes, right? I would think that any packages that need to be installed on the control nodes are the responsibility of the playbook, not the user. I do like the idea @sleiner proposed though with extra_packages but I think this depends on the mindset of allowing this.
My thought process is that the playbook is setting up a k3s cluster to run my applications, and my applications need X packages to run, so it's the responsibility of the playbook to make sure these are installed. Making sure that other packages are installed so that I can use the hosts for more than just k3s isn't really in this scope. I'm not sure we really want to offer to install extra packages on the control nodes, but admittedly it would probably be relatively easy to do it for any host, so I'm happy to take either approach.

Hey, sorry but I am going to close this PR, I should have when it was opened however the more I think about it the more it doesn't make a lot of sense for this playbook to take on the dependencies of something that's not required to run k3s.  While there might be features and changes that are seemingly easy to add, at the end of the day it introduces complexity to this playbook that is either unnecessary or untested.  Thank you again for the suggestion and thank you @sleiner for putting in time to do a code review even though this isn't a potential merge candidate.  Thank for understanding.

No problem! Sorry for going MIA for a while, work has been consuming most of my tech energy recently.
I've also been thinking about this and I think the real problem is that the playbook is the "interface" rather than the roles. This means if you want to do anything custom, you have to diverge from the upstream and figure out how to pull down changes while also keeping your changes. Not a huge deal with a separate branch and rebases, but can lead to merge conflicts and just general headaches.
gerlingguy has a sort of similar mac dev playbook, but the roles there are the "interface". This is accomplished by publishing the roles to ansible galaxy as a collection, and instead of forking his playbook, there is a link to a repo template to get you started. This way you still get all of the setup like forking, but you actually own the repo, and can just add tasks like any other playbook without worry about diverging. Updates are pulled by pulling the new role versions.
I think there is already an open issue for this (https://github.com/techno-tim/k3s-ansible/issues/198) so this is probably where effort should be focused to allow this 🙂

Added some closing thoughts to the discussion if anyone comes along and is wondering what their options are.
Discussion can be found here: https://github.com/techno-tim/k3s-ansible/discussions/259

@acdoussan I just saw that there were some open review questions for me that I forgot about - sorry about that :(


Select default values on resetting the dropdown of a form widget

Description
Select default values on resetting the dropdown of a form widget
Fixes #4230
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Change existing cypress form reset test to validate default values of dropdown are retained on form reset

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
No changes to code coverage between the base branch and the head branch

Adding validations for dropdown options to have all values as string or numbers
When switching select type the default value should be applied
Default dropdown value to be validated
Default dropdown value to accept number as valid options

@vicky-primathon Tested and working fine.

/ok-to-test sha=25e8408

@vicky-primathon please check the related tests failing!

/ok-to-test sha=6b20455

/ok-to-test sha=6b20455

@vicky-primathon there is a merge conflict. Please clear this out

Closing this in favour of separating mutiselect widget from the select widget


Que2 support

Adding support for que 2.x.x and ruby 3
based on https://github.com/que-locks/que-locks/pull/11. and adressing comments
Changes:
passing job options as keyword arguments when que version is 2
Updating versions of:

que to  ">= 1.0", "<3"
adding ruby to 3.3 to github workflow

@kyrofa I addressed the comments made to PR on this new, as the previous  was not updated since last year

@ZimbiX please can take a look?  I am tagging you as your review was also required on previous pr.


watershed delineation

Tried using macrosheds::ms_delineate_watershed() using lat/long from 2 sites and the following error was returned

the error message gives the solution! you need to run whitebox::install_whitebox()


[Feature] Update project to use something like https://golang.cafe/blog/golang-functional-options-pattern.html to help with server configuration

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Refactor current server configuration. Currently there is small number of configurational parameters but when this number will raise, using f.e. Options Pattern could be beneficial.
Describe alternatives you've considered
N/a
Additional context
https://golang.cafe/blog/golang-functional-options-pattern.html
or
https://github.com/eddycjy/go-gin-example/blob/master/main.go

I like this a lot - Would you like to work on this? @raj3k

@kevinanielsen yes, i will work on that

Perfect - Assigning you now!

Is this feature request being actively worked on? If not, I would like to work on it.

@josefmay I believe it is not, I can assign you to it now :)

Still working on this at the moment.

Hi @kevinanielsen, Is this issue still being worked on? Can I take it up?

Hi @kevinanielsen, Is this issue still being worked on? Can I take it up?

No update from @josefmay - Anvesh you can work on this :)

Hi @kevinanielsen, I've raised a PR for this issue which can be found here #147


libvirt_volume serial/wwn number

It would be very useful to have direct support for setting a libvirt_volume serial/wwn number. This would allow us to better find/identify the volume while in the guest OS (e.g in Windows, its as simple as Get-Disk -SerialNumber 123).
From https://libvirt.org/formatdomain.html#hard-drives-floppy-disks-cdroms:

serial
if present, this specify serial number of virtual hard drive. For example, it may look like WD-WMAP9A966149.  Not supported for scsi-block devices, that is those using disk type 'block' using device 'lun' on bus 'scsi'. Since 0.7.1
wwn
if present, this element specifies the WWN (World Wide Name) of a virtual hard disk or CD-ROM drive. It must be composed of 16 hexadecimal digits. Since 0.10.1

Does this make sense?
If so, I can try to make a PR with:
resource "libvirt_volume" "example_boot" {
  serial = "123"
}

I have nothing against adding the attribute, but I don't see obvious where to put it, as this belongs to the disk element in libvirt, not to the volume, and we don't have a disk element.

Hi @rgl,
do you want to create a PR?


Pronunciation Assessment with Custom Model

We have trained a custom model using audio+human labelled transcript. When we use the pronunciation sdk on custom model endpoint the score reduces dramatically.  For example, if the term is "Fovea Centralis" the "pronScore" from baseline endpoint is 91 whereas on custom endpoint is 31.8 for the same audio. The audio I used for testing(this term) is same which is used for training the custom model.
Also tried other methods of uploading dataset using pronunciation (A list of uncommon terms without standard pronunciations in a text (.txt) file, where each term should be designated with a displayed form and a spoken form), simple text file but still on testing with the sdk on this custom model endpoint the score is on lower side, 30.8 for "Fovea Centralis" and same audio.
Is there any specific reason on why it's happening?
Does custom model work for pronunciation assessment or is it just to improve speech to text, speech translation and batch transcription?? @yinhew @sally-baolian

For our official supported locales, Pronunciation Assessment doesn't support the custom STT model now. Using a custom STT model will cause serious mismatch issues and may result in huge performance degradation. @SagarK-TI

Closed as answered since no further updates in 3 weeks, please open a new issue if more support is needed.


[SPARK-31008][SQL] Support json_array_length function

What changes were proposed in this pull request?
At the moment we do not have any function to compute length of JSON array directly.
I propose a  json_array_length function which will return the length of the outermost JSON array.

This function will return length of the outermost JSON array, if JSON array is valid.

scala> spark.sql("select json_array_length('[1,2,3,[33,44],{\"key\":[2,3,4]}]')").show
+--------------------------------------------------+
|json_array_length([1,2,3,[33,44],{"key":[2,3,4]}])|
+--------------------------------------------------+
|                                                 5|
+--------------------------------------------------+

scala> spark.sql("select json_array_length('[[1],[2,3]]')").show
+------------------------------+
|json_array_length([[1],[2,3]])|
+------------------------------+
|                             2|
+------------------------------+

In case of invalid JSON string or null array or NULL input , NULL will be returned.

scala> spark.sql("select json_array_length('')").show
+-------------------+
|json_array_length()|
+-------------------+
|               null|
+-------------------+

In case of any other valid JSON string, an illegal argument exception will be thrown.

scala> sql("select json_array_length('{}')").show
java.lang.IllegalArgumentException: json_array_length can only be called on JSON array.
  at org.apache.spark.sql.catalyst.expressions.LengthOfJsonArray.parseCounter(jsonExpressions.scala:856)
  at org.apache.spark.sql.catalyst.expressions.LengthOfJsonArray.$anonfun$eval$14(jsonExpressions.scala:844)
  at org.apache.spark.sql.catalyst.expressions.LengthOfJsonArray.$anonfun$eval$14$adapted(jsonExpressions.scala:838)

Why are the changes needed?

As mentioned in JIRA, this function is supported by presto, postgreSQL, redshift, SQLite, MySQL, MariaDB, IBM DB2.

for better user experience and ease of use.

Performance Result for Json array - [1, 2, 3, 4]

Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
JSON functions:                           Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------------------------------
json_array_length                                  7728           7762          53          1.3         772.8       1.0X
size+from_json                                    12739          12895         199          0.8        1273.9       0.6X

Does this PR introduce any user-facing change?
Yes, now users can get length of a json array by using json_array_length.

How was this patch tested?
Added UT.

cc @cloud-fan @HyukjinKwon

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@iRakson What is the use case when you need to know length w/o full parsing? Whereas you can apply size after from_json().

There are cases where we need json arrays whose size is greater than a certain threshold. At the moment we have to parse all the json arrays and then only we can decide whether that json array is needed or not.
This problem can be solved by using this function.
There can be many other such scenarios where users first want to know the size of json array.

At the moment we have to parse all ...

You can avoid deep parsing by specifying string as element type. For example:
scala> val df = Seq("""[{"a":1}, {"a": 2}]""").toDF("json")
df: org.apache.spark.sql.DataFrame = [json: string]

scala> df.select(size(from_json($"json", ArrayType(StringType)))).show
+---------------------+
|size(from_json(json))|
+---------------------+
|                    2|
+---------------------+

It does actually the same as your expression. Maybe it is less optimal because from_json() materializes arrays but this is another question how to optimize the combination of size + from_json of array of strings. I would add an optimization rule instead of extending public API.

I would add an optimization rule instead of extending public API.

I believe public API might serve better as user are more familiar with json_array_length as this function is supported by most of the database engines . Also, it seems more straight-forward than size+from_json.

Could you check more databases, e.g., oracle, sql server, snowflake, ...?

Could you check more databases, e.g., oracle, sql server, snowflake, ...?

Teradata supports json_array_length.
MySQL supports JSON_LENGTH which returns length of any JSON document.
amazon athena supports as well.

ok to test

Test build #119263 has started for PR 27759 at commit d8ec950.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24002/
Test PASSed.

Test build #119263 has finished for PR 27759 at commit d8ec950.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class LengthOfJsonArray(child: Expression)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119263/
Test PASSed.

Test build #119279 has started for PR 27759 at commit 58a9e0d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24019/
Test PASSed.

Test build #119279 has finished for PR 27759 at commit 58a9e0d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119279/
Test FAILed.

Test build #119303 has started for PR 27759 at commit 34d915d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24044/
Test PASSed.

Test build #119303 has finished for PR 27759 at commit 34d915d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119303/
Test PASSed.

Test build #119365 has started for PR 27759 at commit d00fe19.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24102/
Test PASSed.

Test build #119365 has finished for PR 27759 at commit d00fe19.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119365/
Test FAILed.

Test build #119367 has started for PR 27759 at commit 0cb4f84.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24104/
Test PASSed.

Test build #119367 has finished for PR 27759 at commit 0cb4f84.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119367/
Test FAILed.

retest this please

@HyukjinKwon @maropu @MaxGekk I have tried to handle review comments from my side. Please Review once.

Test build #119614 has started for PR 27759 at commit 7dc25b9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24343/
Test PASSed.

Test build #119614 has finished for PR 27759 at commit 7dc25b9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119614/
Test FAILed.

Test build #119643 has started for PR 27759 at commit 5a860d7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24374/
Test PASSed.

Test build #119643 has finished for PR 27759 at commit 5a860d7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119643/
Test PASSed.

gentle ping @HyukjinKwon @maropu @cloud-fan

retest this please

@MaxGekk does it look good to you?

Test build #120033 has started for PR 27759 at commit 5a860d7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24751/
Test PASSed.

Test build #120033 has finished for PR 27759 at commit 5a860d7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120033/
Test PASSed.

Test build #120216 has started for PR 27759 at commit 9c7fc8e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24929/
Test PASSed.

Test build #120216 has finished for PR 27759 at commit 9c7fc8e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120216/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24981/
Test PASSed.

Test build #120271 has started for PR 27759 at commit c17556e.

Test build #120271 has finished for PR 27759 at commit c17556e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120271/
Test PASSed.

gentle ping @HyukjinKwon @MaxGekk @maropu

gentle ping @MaxGekk @HyukjinKwon @maropu

Test build #120804 has started for PR 27759 at commit 780c47b.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25504/
Test PASSed.

Test build #120804 has finished for PR 27759 at commit 780c47b.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds the following public classes (experimental):
case class LengthOfJsonArray(child: Expression) extends UnaryExpression

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120804/
Test FAILed.

Test build #120805 has started for PR 27759 at commit a70dc7e.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25505/
Test PASSed.

@dongjoon-hyun I have tried to handle all your review comments.
I have added some more test case in son-functions.sql. These test cases will cover all the corner cases, I think.
Kindly review the changes.

Test build #120806 has started for PR 27759 at commit b0c51dc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25506/
Test PASSed.

Test build #120805 has finished for PR 27759 at commit a70dc7e.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120805/
Test PASSed.

Test build #120806 has finished for PR 27759 at commit b0c51dc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120806/
Test PASSed.

Test build #120817 has started for PR 27759 at commit 391f33d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25516/
Test PASSed.

Please update the PR description, too. It's important because it will be a commit log.

Please update the PR description, too. It's important because it will be a commit log.

Updated. :)

Test build #120817 has finished for PR 27759 at commit 391f33d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120817/
Test PASSed.

Hi, @iRakson . Thank you for updating. I left only a few comments. The other things look okay to me.

@dongjoon-hyun Done.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25554/
Test PASSed.

Test build #120860 has started for PR 27759 at commit 313151f.

Test build #120860 has finished for PR 27759 at commit 313151f.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120860/
Test FAILed.

retest this please

Test build #120862 has started for PR 27759 at commit 313151f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25556/
Test PASSed.

Test build #120862 has finished for PR 27759 at commit 313151f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120862/
Test PASSed.

@cloud-fan I made the changes which you asked for in #27836.
Kindly review. I will also update the PR description accordingly.

Test build #120872 has started for PR 27759 at commit f44e24e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25565/
Test PASSed.

Test build #120872 has finished for PR 27759 at commit f44e24e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120872/
Test PASSed.

Thank you all for patiently reviewing the PR.


Self-signed cert support for external-dns (route53)

Rancher Versions:
Server: 1.5.1
Docker Version:
1.12.6
Steps to Reproduce:
*prereq: rancher server HA setup with self-signed cert
deploy the catalog item for route53 (rancher/external-dns:v0.6.2 image)
Results:
external dns provider fails to mount provided certs on host, and wont connect to rancher server url.

Needs to be tested for Rancher v1.5 and Rancher v1.6.
Templates are in v1.5.x-externaldns branch of catalog.

Testing on v1.5.8-rc1 has no issues, i was able to run rotue53 external dns catalog on a Rancher server with self signed certificate.
Testing on v1.6.0-rc1 showed an error with dns registration:
5/2/2017 10:15:21 PMtime="2017-05-02T19:15:21Z" level=info msg="Adding dns record: {{{`wordpress.wordpress.default`}}.rancher-test.com. [<IP_ADDRESS>] A 60}"
5/2/2017 10:16:21 PMtime="2017-05-02T19:16:21Z" level=info msg="Adding dns record: {{{`wordpress.wordpress.default`}}.rancher-test.com. [<IP_ADDRESS>] A 60}"

Template has been updated are in v1.5.x-externaldns branch of catalog.

Tested and verified the external dns template with Rancher v1.6