-
Notifications
You must be signed in to change notification settings - Fork 838
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
YARP keep terminating the WebSocket after around 2 minutes #2615
Comments
YARP uses an The way to avoid it triggering for long-lived requests like WebSockets is to enable keep-alive/ping mechanisms. |
@MihaZupan modified the |
You're seeing messages about Are you able to create a small runnable repro? Keep-Alive headers won't affect this. What I was referring to are actual periodic pings sent by the WebSocket client and/or server. E.g. if the client is using |
Yes exactly the same message
can't it requires to set up qliksense enterprise
doesn't work |
If you're seeing that message after 2 minutes after having increased the Can you share how you're configuring YARP? Without any info, this isn't actionable from our side.
You've enabled WebSocket pings and you're still seeing the timeout? Can you share a network capture? |
I just ran the project now and found it working fine I guess it was a cache issue I just tested it and commented the |
When I connect to the web socket through the original site, there is no problem in connecting and it lasts for a long time
But when I connect through YARP reverse proxy , this error appears after around 2 minutes:
I also noticed that yarp receive the ws calls as http
The text was updated successfully, but these errors were encountered: