I0408 08:38:10.927269051 4989 ssl_transport_security.cc:908] Invalid nullptr argument to |tsi_set_min_and_max_tls_versions|. E0408 08:38:10.927316013 4989 ssl_security_connector.cc:116] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0408 08:38:10.927351125 4989 secure_channel_create.cc:107] Failed to create secure subchannel for secure name ' securerelayserver.westus2.cloudapp.azure.com:8888' E0408 08:38:10.927563105 4989 secure_channel_create.cc:49] Failed to create channel args during subchannel creation.
looks like the ssl_context is null in the non working case, any suggestions on how I can fix the issue? On Thu, Apr 8, 2021 at 12:43 AM sundar ramamoorthy <[email protected]> wrote: > Sorry, the netstat info. is incorrect. please ignore that. I am still > seeing the issue where client is not able to connect to the server from two > different apps running on the same VM. > > ssl - grpc/c++ Handshaker factory creation failed with > TSI_INVALID_ARGUMENT - Stack Overflow > <https://stackoverflow.com/questions/66965898/grpc-c-handshaker-factory-creation-failed-with-tsi-invalid-argument> > > On Wed, Apr 7, 2021 at 11:56 PM sundar ramamoorthy < > [email protected]> wrote: > >> Hi, >> >> I am seeing an issue where a c++ client is not able to connect to the >> server from one app but it is able to from a different app on the same VM. >> >> In the working case, in netstat, I can see the right port: >> tcp6 0 0 GRPC-Secure-Test-:58770 xx.xx.xx.xx:8888 ESTABLISHED >> but in the non-working case, I always see: >> tcp6 0 1 GRPC-Secure-Test-:33222 xx.xx.xx.xx:http SYN_SENT >> >> I am calling the client API from both the apps in the same way. why would >> the port be set differently than what I have specified in create Channel?? >> >> Thanks, >> Sundar >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "grpc.io" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/grpc-io/ANv8Sp-kIkI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/2c0c11f8-f4b6-4d7d-bb2a-a89aaec609bbn%40googlegroups.com >> <https://groups.google.com/d/msgid/grpc-io/2c0c11f8-f4b6-4d7d-bb2a-a89aaec609bbn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAPq5PFHq-owtccaCvBxjh4_MWxFALcDQG%3DfOLr8W1F%3D4o%3DB7vA%40mail.gmail.com.
