Hi,
I am using windows 10 and I have installed Ubuntu in the Hyper-v. I have setup the GRPC with php and it was working fine. But When I tried to connect to the remote server. I am getting this error.
Request:
client.getDatesById( {
nests: '21',
topics: '82312',
products: ['186599']
}, printReply)
Error: { Error: 14 UNAVAILABLE: DNS resolution failed
at Object.exports.createStatusError (/usr/lib/node_modules/grpcc/node_modules/grpc/src/common.js:91:15)
at Object.onReceiveStatus (/usr/lib/node_modules/grpcc/node_modules/grpc/src/client_interceptors.js:1209:28)
at InterceptingListener._callNext (/usr/lib/node_modules/grpcc/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/usr/lib/node_modules/grpcc/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/usr/lib/node_modules/grpcc/node_modules/grpc/src/client_interceptors.js:847:24) code: 14, metadata: {}, details: 'DNS resolution failed' }
FYI: I am a beginner to GRPC and this DNS resolution issue is blocking me to move forward.
Also I found out in some blogs, they have asked to add this "GRPC_DNS_RESOLVER=native". I don't where I need to add this. Also I like to know whether this solve the issue.
Could you please help me in fix this issue