Error analysis
websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' head
WebSocket
This problem occurs when the reverse proxy or load balancer is not delivering the request correctly.
solution
Nginx plus the following analysis
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade
Apache plus the following analysis
<Location /ws>
ProxyPass ws://localhost:8000
ProxyPassReverse ws://localhost:8000/
</Location>
Read More:
- [Solved] websocket error in Linux service: / lib64 / libc. So. 6: version ` glibc_2.17‘ not found
- [Solved] Error during WebSocket handshake Unexpected response code 404
- [Solved] Beeline Error: Error: Could not open client transport with JDBC Failed to Connection
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface
- [Solved] zookeeper Cluster error: Error: JAVA_HOME is not set and java could not be found in PATH.
- [Solved] ERROR: Subproject directory not found and gst-plugins-base.wrap file not found
- After Centos installation is complete, ifconfig: command not found
- [Solved] Nginx Startup Error: directive is not allowed here in
- [Solved] Error: Connection activation failed: No suitable device found for this connection.
- The upgrade of Ubuntu results in an error in the compilation of Android Jack [Two Method to Solve]
- Error in Linux running file: bash: $’\r’: command not found
- [Solved] Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- Docker pull Command Error response from daemon: Head https://registry-1.docker.io/v2/library/
- net::ERR_HTTP2_PROTOCOL_ERROR 200 [How to Solve]
- How to Solve NPM Error 426 Upgrade Required
- Mac opens Terminal and reports an error -bash:: command not found
- [Solved] Pointsift Error: – ltensorflow not found_framework
- Centos7 Error: initramfs not found
- Error: could not fork new process for connection: Resource temporarily unavailable
- Login Error: token failed, reason: getaddrinfo EAI_AGAIN ks-apiserver (kubesphere is Installed)