-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ws server]: doesn't reply with HTTP response on bad websocket HTTP upgrade request. #818
Comments
Hey @99Kies Are you expecting a proper HTTP response to the HTTP request? Should be quite easy to fix though, are you using this to find out when the websocket server has been started? |
0.9.22
, the websocket
service no longer supports HTTP
access.
Yes, we will try to check if the service is healthy via the HTTP protocol. I think this is also necessary. We will regularly use this method to judge whether the service of
|
It's bit "expensive" to open a WS connection for that everytime. Recently, we added However, we should fix it anyway thanks for reporting the issue. |
Hi @niklasad1 as we're using AWS to run our nodes, it seems that only ALB can support the wss protocol. In that case, ALB can only use HTTP(S) to run health check. We tried to use Network Load Balancer, the health check succeeded with TCP, but failed to connect via ws/wss. |
Alright, I see. This will fixed by #819 anyway |
Closed by #819 |
parachain version:
0.9.22
start command:
The previous websocket supports http access.
After upgrading to 22, websocket no longer supports http access.
The text was updated successfully, but these errors were encountered: