node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

Server-sent events not working

Open davej opened this issue 9 years ago • 21 comments
trafficstars

It works for a period of time and then I get an error in the browser console: "net::ERR_INCOMPLETE_CHUNKED_ENCODING"… after this it stops working.

Works perfectly if I load the site directly (i.e. not through the proxy).

Code I'm using to proxy request/responses is simply:

proxy.web(req, res, { target = 'http://localhost:8888' });

Previous issue was: #357

davej avatar Dec 03 '15 19:12 davej