Comments (3)
This still seems to be an issue if the server panics or if the connection isn't shut down correctly.
Not always, but most of the time... Not sure yet as of the exact circumstances.
An example error is:
Unavailable (14)
all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: error while dialing: dial tcp [::1]:8761: connectex: No connection could be made because the target machine actively refused it."
The server is restarted and up and running, a restart of grpcui fixes it
from grpcui.
@PatrLind, that appears to be a different issue due to this part of the error message:
No connection could be made because the target machine actively refused it.
I suspect that is caused by a failure to reconnect when the server was down, and then RPC client using exponential backoff before re-trying to connect. So you may have caught it after its connection attempt was refused but before it re-tried the connection.
So I don't think grpcui needed to be restarted -- I think perhaps you needed to wait a little longer for the connection to heal. If you can try to verify that and if that's the case (it does eventually heal), file it as a different bug. If it never heals, try using -vv
logging options and include the log output.
from grpcui.
I can confirm that it is indeed caused by the exponential backoff.
I understand that grpcui uses the default grpc backoff settings (max 2 minutes), right?
Would it be possible to either change this to maybe a few seconds by default, or perhaps (better) add a configuration flag to set the BackoffConfig.MaxDelay?
from grpcui.
Related Issues (20)
- Question about JSON HOT 3
- -default-header would be clear when using -examples at the same time HOT 2
- Failed to dial target host "localhost:8181": context deadline exceeded HOT 3
- Can't I use Dockerfile? HOT 2
- where is the docker image hosted? HOT 5
- Import Error "lookup of '$ret6' failed HOT 3
- The browser displays a connection error. HOT 1
- How can I wait for stream answers? HOT 1
- Is gRPC curl still visible from `Raw request` tab?
- Runtime error: invalid memory address or nil pointer dereference HOT 4
- M1 grpcui -plaintext localhost:8023 Failed to compute set of methods to expose: proto: invalid syntax: "<unknown:0>" HOT 5
- Failed to compute set of methods to expose: EOF
- undefined: indent HOT 1
- Shareable grpcui link that auto-populates request
- Feature request: Searching RPC based on its name
- [Feature request] Allow re-compute headers on each grpc call HOT 2
- [Feature Request] Provide a Response Form to view Response just like Request form showing all field names and path underneath HOT 1
- background image (grpc-bg.svg) is too large HOT 1
- run grpcui and got "Symbol not found: grpc.health.v1.Health" HOT 1
- Release v1 reflection changes as 1.4.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpcui.