We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I GET the address that call lua script with client example I receive error: "failed to receive the frame: bad RSV1, RSV2, or RSV3 bits"
nginx.conf:
server{ listen 80; server_name comet.io; location /cli{ default_type 'text/html'; content_by_lua_file 'path/to/lua/ws_client.lua'; } }
ws_client.lua: <copy-paste from https://github.com/openresty/lua-resty-websocket#restywebsocketclient>
curl http://comet.io/cli failed to receive the frame: bad RSV1, RSV2, or RSV3 bits
There is my ws server config:
server { listen 8020; server_name comet.io; location /ser { proxy_pass http://comet.io:8010; proxy_http_version 1.1; proxy_set_header Upgrade "websocket"; proxy_set_header Connection "Upgrade"; proxy_set_header sec-websocket-key tfyt7uhy08yuh08909uoij; proxy_set_header sec-websocket-version 13; } } server { listen 8010; server_name comet.io; location /ser { default_type 'text/html'; content_by_lua_file '/root/ws_server.lua'; } }
The text was updated successfully, but these errors were encountered:
@sdmrnv Have you find a solution to fix this problem, I have same problem when I tried to connect to wss://ws.kraken.com/book
Sorry, something went wrong.
No branches or pull requests
When I GET the address that call lua script with client example I receive error: "failed to receive the frame: bad RSV1, RSV2, or RSV3 bits"
nginx.conf:
server{
listen 80;
server_name comet.io;
location /cli{
default_type 'text/html';
content_by_lua_file 'path/to/lua/ws_client.lua';
}
}
ws_client.lua: <copy-paste from https://github.com/openresty/lua-resty-websocket#restywebsocketclient>
There is my ws server config:
The text was updated successfully, but these errors were encountered: