[Play 2.4.3] SSE connection timeout

252 views
Skip to first unread message

Peter Mortier

unread,
Oct 21, 2015, 12:17:29 AM10/21/15
to play-framework
Hello,

I'm using SSE (Server Sent Events) with Play framework.
I noticed that when the server stops sending events, after 1 minute the connection is closed.
The client (Chrome) then logs the following message and restarts the SSE connection:
GET http://xxx net::ERR_INCOMPLETE_CHUNKED_ENCODING

However I'd like to know if I can configure this timeout interval either in code or through configuration?
I have not found anything obvious.

Best regards,

Peter Mortier

Peter Mortier

unread,
Oct 21, 2015, 5:02:44 AM10/21/15
to play-framework
Apparently it is Apache, used a reverse proxy, which is closing the SSE connection after 1 minute.
If I bypass Apache, Play still closes the connection, but now after 2.5 minutes.

Best Regards,

Peter Mortier
Reply all
Reply to author
Forward
0 new messages