I think your server is running with certificates and client is not supplying the cert chain of server.
>From node client, you may need to do like below. let credentials = grpc.credentials.createSsl( fs.readFileSync( 'cert-chain-path'), ); grpcClient = new YourService(`IP:PORT`, credentials); On Wednesday, 12 May, 2021 at 9:50:08 pm UTC+5:30 octavio roscioli wrote: > These are my GRPC logs: > > 2021-05-07T17:53:28.248Z | channel | dns:abc.mywebsite.com:443 createCall > [2010] method="/Abc/RunStep", deadline=1620410308247 > 2021-05-07T17:53:28.248Z | call_stream | [2010] Sending metadata > 2021-05-07T17:53:28.248Z | call_stream | [2010] write() called with > message of length 336 > 2021-05-07T17:53:28.248Z | call_stream | [2010] end() called > 2021-05-07T17:53:28.248Z | call_stream | [2010] attachHttp2Stream from > subchannel 192.168.79.249:443 > 2021-05-07T17:53:28.248Z | call_stream | [2010] sending data chunk of > length 341 > 2021-05-07T17:53:28.248Z | call_stream | [2010] calling end() on HTTP/2 > stream > 2021-05-07T17:53:31.444Z | call_stream | [2010] ended with status: code=14 > details="Connection dropped" > 2021-05-07T17:53:31.444Z | call_stream | [2010] close http2 stream with > code 8 > 2021-05-07T17:53:31.481Z | call_stream | [2010] HTTP/2 stream closed with > code 8 > > > On Wednesday, May 12, 2021 at 11:44:10 AM UTC-4 octavio roscioli wrote: > >> Hi, >> >> I am running a python server and node client using GRPC. >> >> On my Node end I am getting an error >> >> Error: 14 UNAVAILABLE: Connection dropped at Object.callErrorFromStatus >> (/home/node/app/node_modules/@grpc/grpc-js/src/call.ts:81:24) at >> Object.onReceiveStatus >> (/home/node/app/node_modules/@grpc/grpc-js/src/client.ts:334:36) at >> Object.onReceiveStatus >> (/home/node/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:426:34) >> >> at Object.onReceiveStatus >> (/home/node/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48) >> >> at /home/node/app/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24 at >> processTicksAndRejections (internal/process/task_queues.js:79:11) >> >> How can I figure out what is dropping the connection? Is it client or >> server side that is dropping the connection? >> >> I see the source of this error message here >> <https://github.com/grpc/grpc-node/blob/bf2e5cb1dd25e43f53605d8de2b8e082072ec23e/packages/grpc-js/src/call-stream.ts#L251>. >> >> But not sure what in fact is triggering it? >> >> My node client is @grpc/[email protected]. >> >> Regards, >> - Octavio >> > -- 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/ecd22198-5250-4c6b-ada9-c4ff8d951074n%40googlegroups.com.
