首页 > 解决方案 > 握手状态 400 错误请求 pythone

问题描述

我正在尝试访问 websocket,它给了我以下错误

--- response header ---
HTTP/1.1 400 Bad Request

Server: nginx
Date: Wed, 13 Oct 2021 08:19:12 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Set-Cookie: .ASPXAUTH=; domain=.hub.online.kian.trade; expires=Tue, 13-Oct-2020 08:19:12 GMT; path=/; HttpOnly; SameSite=Lax
Access-Control-Allow-Origin: http://hub.online.kian.trade, https://online.kian.trade
Access-Control-Allow-Credentials: true
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Referrer-Policy: no-referrer
-----------------------
Handshake status 400 Bad Request

我真的很想找这个问题,但我找不到

请问有什么帮助吗??

标签: pythonwebsocket

解决方案


推荐阅读