EventSource icon indicating copy to clipboard operation
EventSource copied to clipboard

Disconnects after 61s.

Open AustinYQM opened this issue 3 years ago • 2 comments
trafficstars

I am attempting to use the Polyfill as my service now requires an api-key header. I know that I can open a long lasting http2 stream using curl in my terminal. However when using the polyfil the connection gets killed by the server after 61s. The message recieved is: IO: Stream reset by SERVER with error code INTERNAL_ERROR (0x2)

I am wondering what might be the cause of this? Does the polyfill use http2 and if so has it be tested properly on it?

AustinYQM avatar Mar 18 '22 20:03 AustinYQM

Did you set a longer timeout in your nginx configuration? timeout is usually 60 seconds

h0jeZvgoxFepBQ2C avatar May 16 '23 10:05 h0jeZvgoxFepBQ2C

I configured the length of 300 seconds in Nginx, and the normal connection was disconnected by 300, but my connection agent was disconnected in 60 seconds. I don’t know why. Can anyone help me answer it?

dongdong0421 avatar Oct 25 '23 14:10 dongdong0421