New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container BC24 Preview - CoreClrClientWebSocketFactory error #3435
Comments
Can you create the container without the -licensefile parameter? |
same error: |
it seems to be using the cmdlets to import the license, and that is failing |
I have retried this with the same generic image and settings, and I cannot repro this. |
What does |
Microsoft.AspNetCore.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] |
The original problem might be related to what #3437 is observing |
could you (on a failed container) use Get-BcContainerEventlog and submit the event log here? |
Type: System.InvalidOperationException Message: An error occurred when creating the WebSocket with the factory of type 'CoreClrClientWebSocketFactory'. See the inner exception for details. Source: System.Private.ServiceModel HResult: -2146233079 StackTrace: at System.ServiceModel.Channels.ClientWebSocketTransportDuplexSessionChannel.CreateWebSocketWithFactoryAsync(X509Certificate2 certificate, TimeoutHelper timeoutHelper) at System.ServiceModel.Channels.ClientWebSocketTransportDuplexSessionChannel.OnOpenAsync(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.OnOpenAsyncInternal(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.System.ServiceModel.IAsyncCommunicationObject.OpenAsync(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpenAsync(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.OnOpenAsyncInternal(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.System.ServiceModel.IAsyncCommunicationObject.OpenAsync(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.OpenAsyncInternal(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(MethodCall methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args) at generatedProxy_1.OpenAdminConnection(ConnectionRequest) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span |
Do you know what this is: |
well. |
eos-sprimo1 - is that your machine then? |
yes, that is my host. |
And any configuration changes - or everything default? |
Could you maybe grab customsettings.config and dump here? |
Do you have any port mapping or publish ports on the container creation? |
please run the following commands and display the output: docker network ls docker network inspect nat |
Also - anything in C:\ProgramData\Docker\config\daemon. json on the host? |
CustomSetting on container Do you have any port mapping or publish ports on the container creation?
BC23 and lower, everything works as usual (never had problems) |
and docker inspect BC24 |
Inside the container, try this:
|
and... Try recreating the container with this parameter: -PublishPorts @(7086) |
thanks, but no need. the strange thing is that it never was a problem for <BC23! |
Well, a lot of things have changed in BC24 - including the connection to the admin service. Thanks |
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
when creating a container for BC24, throws this error:
An error occurred when creating the WebSocket with the factory of type 'CoreClrClientWebSocketFactory'. See the inner exception for details.
Scripts used to create container and cause the issue
Full output of scripts
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The text was updated successfully, but these errors were encountered: