Comments (8)
Might be silly but refresh the page and everything will be alright :D
Of course I'll try to fix that asap.
from express-status-monitor.
I'm getting the same error pretty frequently, it's on an HTTPS server btw
WebSocket connection to 'wss://[url-here]/socket.io/?EIO=3&transport=websocket&sid=gt_zkj220dRXa8SDAAAD' failed: Connection closed before receiving a handshake response
from express-status-monitor.
That's a very similar error what I'm seeing in #27 (FWIW)
from express-status-monitor.
@afollestad are you using a real cert, or self-signed one? At least some node versions will cease to co-operate without a valid one. You can - but shouldn't - use certain env-vars in your app (on the top of my hat process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';
, should do it for self-signed certificates, which I usually use on development environments ( so btdt in another context; )
from express-status-monitor.
@jabis a real cert, on a remote server
from express-status-monitor.
@RafalWilinski I believe this are two distinct errors, as the OP is having 404 not found, while @afollestad is having a handshake error, would be wise to split maybe.
@afollestad next I'd like to point out that if you're not reverse proxying the /socket.io yours could very well be cross-origin problem. Are you just deploying the example as it is, or are you trying to integrate it with some other existing software (maybe using another socket.io already)?
from express-status-monitor.
I'm not doing anything special; it should work as is.
from express-status-monitor.
@afollestad if you access www.remote.tld and you access the serverside component from www.remote.tld:4000 then that is considered cross-origin, at least on modern chrome and firefox browsers :) If you on the other hand are reverse proxying the /socket.io port to "upstream" aka node process, then it should not be, and depending on your httpd, and node version, could be a proxy option or header problem - https( read: wss for sockets ) is really touchy with cross-origin, scripting.
from express-status-monitor.
Related Issues (20)
- Socket.io extra headers
- Installation on centos 7 HOT 1
- Package breaks with non-vulnerable Socket.Io version 4.1.2 HOT 1
- Cannot access status path HOT 3
- Not working on MacOS Safari, iOS browsers. HOT 2
- Own Socket instance? HOT 2
- Critical security vulnerability HOT 1
- ES5 import clause HOT 1
- Synk security issues
- ```healthcheck``` Failed for succesful host request
- Breaking changes on security update for socket.io-parser
- How to graceful shutdown HOT 2
- event-loop-stats not found, ignoring event loop metrics HOT 1
- Alert And Notification HOT 2
- Not working when running as root on a raspberry pi
- WebSocket connection to '<URL>' failed: WebSocket is closed before the connection is established. HOT 2
- Doesn't play well with vitest
- Dark UI proposal
- Add new field for report
- cannot pass header into endpoint healthcheck
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from express-status-monitor.