-
Notifications
You must be signed in to change notification settings - Fork 645
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
The client hangs, no callback form server #2055
Comments
The first log shows that it does not establish a connection at all. Are you sure the server is running on the specified machine on port 443? |
Yes, I'm sure. Let me show you another log with grpc 1.24.11. Their server is the same. |
|
The first log shows that the client is connecting to |
Sry, my bad. This is a clerical error, they are not real ip. In the log, I changed the real ip, they represent the same server. |
In the last log, I cut out some lines because there are too many. And I found something interesting.
|
Connect to the same adress dev.test.com:443 (Forwarding grpc requests using ingress) grpc 1.24.11 + Node 14.18.3 Success. grpc-js 1.5.7 + Node 14.18.3 Error, client hangs and no callback from server |
So, you included the lines that showed It looks like that error indicates that the root certificates you provide are not able to verify the certificate provided by the server. I notice that you set the option |
I'm not 100% if it's the same thing, but this might be related to #2090. |
That's not the same. That bug only occurs if name resolution never succeeds. |
You can ignore the IP and domain mentioned in the log. After several tests, the following results were obtained: Connect to the same adress dev.test.com:443 (Forwarding grpc requests using ingress) grpc 1.24.11 + Node 14.18.3 Success. grpc-js 1.5.7 + Node 14.18.3 Error, client hangs and no callback from server |
I've tested version 1.6.4 and it's the same problem, cry.... |
I guess the current situation is different because the TLS module of node version is different. grpc-js 1.5.7 + Node 14.18.3 Error, client hangs and no callback from server |
Problem description
The client hangs, no callback form server, but when use grpc 1.24.11 there is no problem.
and if don't use ssl ,there is no problem too.
Environment
Additional context
Log1 with ssl: (ip and domain is no real)
then the client hangs
Log2 without ssl: every thing is ok!
The text was updated successfully, but these errors were encountered: