Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6129

If the SSE connection client terminates abnormally, sse send is not sent and the server hangs [closed]

$
0
0

In the development environment, the application is installed in the Docker container on the Ubuntu server, and data is transferred from the server to the client via Spring Boot, Undertow, and SSE connections.

The problem arises when the client network goes down. The server cannot know whether the client has terminated abnormally, and after some time the server will not function properly.

When testing with a Windows local server, I can receive the RST packet below and handle an exception, but I cannot receive the RST packet from the Ubuntu server, so I don't know what to check.local server test

I tried changing the Linux keep-alive time settings and the server nginx settings, but the same thing happened.

If anyone has solved this problem or knows the direction to check, I would really appreciate it if you could let me know.


Viewing all articles
Browse latest Browse all 6129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>