Proxy does not terminate SSE connections when the backend closes #765
Replies: 2 comments 5 replies
-
Can you share the options you've tried? |
Beta Was this translation helpful? Give feedback.
-
@chimurai I'm running into the same issue. The configuration you shared here works great. However I did notice https://github.com/chimurai/http-proxy-middleware/blob/master/src/plugins/default/debug-proxy-errors-plugin.ts#L30 which looks like it might have been fixed in v3. I was looking into upgrading to v3 and I thought I might be able to remove this config but when testing that does not seem to be the case. I'm just wondering if this issue has been fixed in v3? |
Beta Was this translation helpful? Give feedback.
-
I have a Flask server doing SSE, which I am proxying to. It works fine, until the SSE endpoint dies (which happens on reload). It then does not reconnect on the backend, nor disconnect the client.
If it would boot off the client or reconnect silently on the backend, either would be fine. I'd probably prefer booting off the client in this case, and forcing the client to cause the reconnection.
I've tried some options here and have not had any luck.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions