Sometimes got UNAVAILABLE status from rpc server?
See original GitHub issueProblem description
here is error log:
Error: 14 UNAVAILABLE: Stream refused by server
at Object.callErrorFromStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client.js:176:52)
at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at /usr/src/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
at processTicksAndRejections (internal/process/task_queues.js:75:11)
this error will occur 3 or more times a day
Environment
- OS name [Ubuntu 20.04 amd64]
- Node version [v14.16.1]
- Package name and version [“@grpc/grpc-js”: “^1.3.0”]
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to Fix "The RPC Server is Unavailable" Error in Windows
To check your network connection: 1) Press the Windows logo key and R on your keyboard to open the Run dialog.
Read more >Windows Server Troubleshooting: RPC server is unavailable
This error message may occur if the File and Printer Sharing for Microsoft Networks component is not enabled on the remote computer.
Read more >Fixed: The RPC Server Is Unavailable In Windows
When you get an error message saying the RPC Server is unavailable, it could mean that the service itself is stopped.
Read more >Troubleshooting 'RPC server is unavailable' error in WIndows
A third-party firewall or any other security application running on a server, or on a client, might sometimes block the traffic from reaching ......
Read more >Fixing “The RPC Server is Unavailable” error in Windows
Method 1: Making Sure that the RPC Services are Properly Functioning · Method 2: Configuring the Firewall · Method 3: Checking your Network ......
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
@blastshielddown That is a completely different error from the one at the start of this issue. The original error “Stream refused by server” means that the client sent the request to the server, and the server refused to handle the request. Your error “No connection established” means that the client failed to ever establish a connection to the server in the first place. There are any number of reasons that a client might fail to connect to a server: the DNS name could be wrong, or the DNS entry could be wrong, or the server might not be running yet, or the network doesn’t have a path to the server, etc.
If you run your code with the environment variables
GRPC_TRACE=all
andGRPC_VERBOSITY=DEBUG
, the log output should have more information about why it is failing to connect.Thanks for clarifying @murgatroid99 and apologies for conflating the issues inaccurately. The logging is helping shed more light on the problem. I’ll open a separate issue.