-
Notifications
You must be signed in to change notification settings - Fork 13
-
Notifications
You must be signed in to change notification settings - Fork 13
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
wss self signed nginx certificate and connecting to substrate node template #56
Comments
If you are following this doc https://wiki.polkadot.network/docs/en/maintain-wss
|
yes this https://wiki.polkadot.network/docs/en/maintain-wss server {
} so if i connect wss://154.114.57.236:443, doesnt reach the node if i goto https://www.dltlab.co.za, then the cert is picked up, and can add to whitelist in chrome Any help here thanks |
Not sure but you can try followings; reach as wss://dltlab.co.za:443 or update server1.conf with different port than 443
and try to access with wss://dltlab.co.za:9955 or wss://154.114.57.236:9955 or update server1.conf with different server name as
and try to access with wss://154.114.57.236:443 |
no matter what i try i keep getting WebSocket Protocol Error: Unable to parse WebSocket key. |
@mahalamobile is this still an issue? were you eventually able to solve it? If so, mind letting others know the fix here for future reference? If not, please reopen this and I will look into it further. |
neil@dtl:~/substrate/substrate-node-template$ ./target/release/node-template --dev --tmp --unsafe-ws-external --rpc-external --rpc-cors all
i run the following to bring up my node template
i have self signed cert for the nginx on the domain dltlab.co.za (154.114.57.236), see https://www.dltlab.co.za
i then connect
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2F154.114.57.236%3A9944#/explorer
Dec 01 11:12:18.020 INFO ✨ Imported paritytech/substrate#1 (0xe495…39b0)
Dec 01 11:12:18.078 INFO Accepted a new tcp connection from 102.65.218.50:63553.
Dec 01 11:12:18.079 ERROR WS Error <Http(Token)>: Invalid byte where token is required.
I get a connection on the substrate node but get this error
ERROR WS Error <Http(Token)>: Invalid byte where token is required.
any help appreciated
thanks
The text was updated successfully, but these errors were encountered: