Hey,
my app suddenly stopped working in Chrome. If I take a look into my error console, I can see a lot of red errors like this:
WebSocket connection to 'wss://www.myapp.com/sockjs/759/f7g95n8q/websocket' failed: WebSocket is closed before the connection is established.
fbe08d7….js?meteor_js_resource=true:99 POST https://www.myapp.com/sockjs/759/bz2dhbi9/xhr_send 404 ()
y._start @ fbe08d7….js?meteor_js_resource=true:99
(anonymous) @ fbe08d7….js?meteor_js_resource=true:99
fbe08d7….js?meteor_js_resource=true:99 Uncaught Error: INVALID_STATE_ERR
at C._didClose (fbe08d7….js?meteor_js_resource=true:99)
at fbe08d7….js?meteor_js_resource=true:99
at n.XHRCorsObject.o.onfinish (fbe08d7….js?meteor_js_resource=true:99)
at n.XHRCorsObject.i.emit (fbe08d7….js?meteor_js_resource=true:99)
at XMLHttpRequest.s.xhr.onreadystatechange (fbe08d7….js?meteor_js_resource=true:99)
I can access the app still via HTTPS. Also FireFox is working without any problems. PM2 logs are empty.
The app is running behind a NGINX proxy for about 1 year, we didn’t change anything there. I get a 404 on
https://www.myapp.com/sockjs/759/bz2dhbi9/xhr_send:
access-control-allow-credentials:true
access-control-allow-origin:https://www.myapp.com
cache-control:no-store, no-cache, no-transform, must-revalidate, max-age=0
content-type:text/plain; charset=UTF-8
date:Tue, 14 Feb 2017 19:03:07 GMT
server:nginx
status:404
vary:Origin