GRPC name resolution problem
See original GitHub issueHello,
When trying to access GRPC that isn’t located in root (/) context it fails with error:
{
"code": 14,
"details": "Name resolution failed for target dns:host/ws",
"metadata": {}
}
I’m trying to access method in /ws context. For example:
GRPC HOST/ws/com.some.pkg…
It resolves everyting until /com as host.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
python - grpc client dns resolution failed when trying to access ...
When running against localhost:5001 it works fine, but running against the actual IP of the machine from within the same network like 192.168....
Read more >[gRPC] DNS resolution failed for service · Issue #1871 - GitHub
GRPC will report DNS resolution failed when with telepresence connect ed on macos. The error message is listed below: File "/Users/foo/bar/venv/ ...
Read more >GRPC Core: gRPC Name Resolution
A fully qualified, self contained name used for gRPC channel construction uses URI syntax as defined in RFC 3986. The URI scheme indicates...
Read more >It's Always DNS . . . Except When It's Not: A Deep Dive ...
If a connection is lost, the gRPC client will resolve the service's DNS name to re-establish a connection. It will continue to re-resolve...
Read more >gRPC Name Resolution
gRPC Name Resolution. Overview. gRPC supports DNS as the default name-system. A number of alternative name-systems are used in various deployments.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@grpc/grpc-js is the successor of grpc. For grpc there is https://github.com/grpc/grpc/issues/14900, which mentions prefix of url. https://github.com/grpc/grpc/issues/14900#issuecomment-378071244:
I also found the following issue: https://github.com/grpc/grpc-node/issues/980#issuecomment-517794622. grpc-js does not seem to support this feature.
I will extend httpyac so that the options can be set from outside (support channelFactoryOverride). And in addition, I will interpret the specification of the Path instead of to the server to the service
It seems that grpc-js uses as default port 443 (used in line 83)
Thanks for the feedback:-)