You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running the secure-with-tls sample in .net 48 I constantly get this exception:
System.InvalidOperationException
HResult=0x80131509
Message=Status(StatusCode="Unavailable", Detail="failed to connect to all addresses", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1622060341.251000000","description":"Failed to pick subchannel","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x86\src\core\ext\filters\client_channel\client_channel.cc","file_line":4166,"referenced_errors":[{"created":"@1622060341.246000000","description":"failed to connect to all addresses","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x86\src\core\ext\filters\client_channel\lb_policy\pick_first\pick_first.cc","file_line":398,"grpc_status":14}]}")
Source=EventStore.Client
StackTrace:
at EventStore.Client.Interceptors.TypedExceptionInterceptor.<AsyncClientStreamingCall>b__5_0[TRequest,TResponse](Task`1 t) in c:\Temp\EventStore-Client-Dotnet\src\EventStore.Client\Interceptors\TypedExceptionInterceptor.cs:line 54
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Inner Exception 1:
RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1622060341.251000000","description":"Failed to pick subchannel","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x86\src\core\ext\filters\client_channel\client_channel.cc","file_line":4166,"referenced_errors":[{"created":"@1622060341.246000000","description":"failed to connect to all addresses","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x86\src\core\ext\filters\client_channel\lb_policy\pick_first\pick_first.cc","file_line":398,"grpc_status":14}]}")
Actually only working for net5.0!
Tried to run the code for all targets (net48, net5.0 and netcoreapp3.1) and only net5.0 is working: secure-with-tls.exe Connecting to EventStoreDB at: esdb://admin:changeit@localhost:2113?Tls=true&TlsVerifyCert=true SUCCESS! Append result: C:12529/P:12529
Describe the bug
Running the secure-with-tls sample in .net 48 I constantly get this exception:
What am I doing wrong?
To Reproduce
Steps to reproduce the behavior:
Config/Logs/Screenshots
EventStore details
EventStore server version: 21.2.0.0
Operating system: Microsoft Windows NT 10.0.18363.0
The text was updated successfully, but these errors were encountered: