Invalid HTTP version string: HTTP/1.0
See original GitHub issueVersion: 7.0.0
Environment:
- Mac OS X
- Safari
- 5.12.0
Expected result: Connection should be made without any issues
Actual result: Getting this error in Safari
WebSocket connection to 'wss://<domain name>/primus/?isapp=false&_mirage=90rqrqew432&_primuscb=LiPtb_J&EIO=3&transport=websocket&sid=oLp9L-EBnJ--2CtOAAAA&t=LiPtc2f&b64=1' failed: Invalid HTTP version string: HTTP/1.0
Steps to reproduce: I don’t know how to reproduce but here is what I did that may have caused issues.
- upgraded engine.io and primus to latest
- started using actual domain names with proper SSL certificate
I should also mention that I upgraded to 7.0.0 and only disabled ping and pong settings in client. Is that enough?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Hypertext Transfer Protocol -- HTTP/1.0 - W3C
A client establishes a connection with a server and sends a request to the server in the form of a request method, URI,...
Read more >postgresql - Pgadmin4: Invalid HTTP Version ... - Stack Overflow
The problem was in regular expression for nginx location. Nginx somehow strangely truncates the URL parameters.
Read more >Safari Websocket: Invalid HTTP version string: HTTP/1.0
原因是Safari的Websocket连接是基于HTTP/1.1的,需要把Websocket Sever的应答也基于HTTP/1.1一个不合适应答报文示例:1、Safari请求基于HTTP/1.1 ...
Read more >'on postgres@domain.tld HTTP/1.0''-docker - appsloveworld.com
Coding example for the question Pgadmin4: Invalid HTTP Version 'Invalid HTTP Version: 'on postgres@domain.tld HTTP/1.0''-docker.
Read more >HTTP::version - F5 Cloud Docs
can be used for Sharepoint Portal SSL Termination. Introduced: BIGIP-9.0.0. The BIG-IP API Reference documentation contains community-contributed content ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Version 10.0.3 (12602.4.8)
Looks like these HAProxy auth settings are messing with Safari (only).
Is there a sample HAproxy config hat works best with Primus somewhere?
@peacemakr the info about basic auth finished my few days debugging of that issue and saved long days, thank you very much.