Comments (8)
I'll try to reproduce it locally and come back when I find something.
from anycable-go.
I've tried to reproduce it at that simple chat application, but unfortunately (or fortunately) couldn't experience the problem.
from anycable-go.
@palkan Sorry, I can't reproduce it after upgrading from Ubuntu 16.04 to 18.04. It might have been something related to that specific version of Nginx for Ubuntu, or I might have misconfigured something else in Nginx that I have not noticed.
from anycable-go.
Hey @avlazarov! Have you tried to play with grpc_read_timeout
configuration? What happens when the default timeout, 60s, passes?
from anycable-go.
I assume that AnycableGo is not aware of you RPC servers went done because nginx still keeps the connection because of the grpc_read_timeout
and grpc_send_timeout
directives.
from anycable-go.
I assume that AnycableGo is not aware of you RPC servers went done
As I understood, other clients (new connections) work fine, i.e., gRPC connectivity is restored.
The problem is that the first one, the one that "caught" the broken connection, is getting stuck:
Bottom line is that performing actions on a subscription after getting error 502 blocks all new actions from being performed by the anycable-go server for a particular client/subscription.
@avlazarov Right?
And that's strange: if other clients could successfully perform an action, the first one should do this as well on the next attempt, since they uses the same grpc pool.
from anycable-go.
@palkan Yes, the odd part is that even when the next client makes a series of successful actions, the first one remains stuck. If instead of error 502
I totally shutdown nginx (causing refused connection), anycable-go
will perform the operations, print errors but once nginx is back again, the gRPC servers will correctly receive the actions and the client will no longer be stuck.
from anycable-go.
@avlazarov Please, take a look the @bibendi 's PR above. We couldn't reproduce the problem. Are we missing something?
from anycable-go.
Related Issues (20)
- Client cannot reconnect after going to sleep HOT 10
- GRPC max message size HOT 4
- JWT auth enhancements HOT 1
- TurboDrive/TurboStream Subscribe/Unsubscribe Race Condition HOT 16
- readme shows invalid "go get" command HOT 1
- became root HOT 3
- Cookies filter HOT 3
- Metrics anycable_go_clients_num and anycable_go_clients_uniq_num count are not update correctly HOT 5
- Hide `Disconnect error: grpc connection is not ready` message HOT 1
- Unable to run it's docker image on M1 Mac
- Latest docker image missing GLIBC_2.29 HOT 6
- Feature Request: TLS on rpc service HOT 1
- Panic during history retrieval HOT 4
- Panic during history retrieval with 1.4.2 fix HOT 3
- Anycable-go ignores Redis database number HOT 1
- Failed to install by source HOT 2
- Posthog HOT 1
- Support redis socket url? HOT 11
- Intermittent GoAway Error with ENHANCE_YOUR_CALM Code in AnyCable-Go 1.4.8 Despite Functional Setup HOT 1
- WRN Using a non-distributed broadcaster without a pub/sub enabled HOT 1
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 anycable-go.