xhr poll error / type: 'TransportError' / description: 426 #4171
Unanswered
dudek-igor
asked this question in
Q&A
Replies: 1 comment
-
According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426, How did you setup the server? Are you using an HTTP/2 server?
Which version are you using?
Could you please provide your nginx setup? Did you check the troubleshooting guide here? https://socket.io/docs/v4/troubleshooting-connection-issues/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone.
I am in the middle of a recruitment task and unfortunately I have a problem - xhr poll error / type: 'TransportError' / description: 426.
Error: xhr poll error at XHR.onError (C:\dev\MEC\node_modules\engine.io-client\lib\transport.js:29:17) at Request.<anonymous> (C:\dev\MEC\node_modules\engine.io-client\lib\transports\polling-xhr.js:97:12) at Request.Emitter.emit (C:\dev\MEC\node_modules\component-emitter\index.js:145:20) at Request.onError (C:\dev\MEC\node_modules\engine.io-client\lib\transports\polling-xhr.js:245:10) at Timeout._onTimeout (C:\dev\MEC\node_modules\engine.io-client\lib\transports\polling-xhr.js:195:20) at listOnTimeout (internal/timers.js:555:17) at processTimers (internal/timers.js:498:7) { type: 'TransportError', description: 426 }
When i connect via Postman everything works, but when connect via my node server running on localhost i got an error :(
Any ideas?
CORS?
Mix SSL - origin server have ssl but mine doesn't
Different version of packages?
Invalid nginx setup?
Beta Was this translation helpful? Give feedback.
All reactions