-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stomp SockJS Client disconnect periodically #1
Comments
Hi @aminmc, I haven't came across this probably because I never connected long enough. |
Hi there My client gets disconnected every 60 seconds. Thanks |
@aminmc I tested my setup, I don't face any issues. I kept my app running and sending text, didn't see any disconnect. Check if you are using the Redis Pub/Sub correctly. So if there are 2 instances and 2 clients get connected to 2 different instances to sync messages across these instances you'd need Redis Pub/Sub. |
Hi there. Thanks for the update. We have a Nginx proxy in front of the multiple WebSocket servers. So my assumption is that the proxy is disconnecting the client. In terms of Redis pub/sub is there docs you can point me to? Thanks |
Hey @aminmc Sorry for replying late. Redis Pub/Sub doc can be found here - https://docs.spring.io/spring-data/redis/docs/2.1.3.RELEASE/reference/html/#pubsub |
Hi there,
I have a spring boot app with WebSocket configured and using Redis. When I have multiple instances of the spring boot app I've noticed that my client disconnects periodically. Is this something you have encountered?
This is my WebSocket configuration:
https://github.com/UKHomeOffice/borders-private-workflow-engine/blob/development/src/main/java/uk/gov/homeoffice/borders/workflow/task/TaskWebSocketConfig.java
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: