You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run substrate-contracts-node --help part of the output is:
--ws-external
Listen to all Websocket interfaces. Default is local. Note: not all RPC methods are safe to be exposed publicly. Use an RPC proxy server to filter out dangerous methods. More details: <https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs>. Use `--unsafe-ws-external` to suppress the warning if you understand the risks
--unsafe-ws-external
Listen to all Websocket interfaces. Same as `--ws-external` but doesn't warn you about it
So I don't think the statement Same as --ws-external but doesn't warn you about it is accurate, because what I found was that it doesn't just avoid you encountering warnings, it avoids you encountering errors, and I was able to overcome the error by using --unsafe-ws-external instead of just --ws-external.
So I think it should say Same as --ws-external but doesn't give you errors about it., otherwise users might choose to use --ws-external instead thinking that they'll just get some harmless warnings, but then might encounter the error and not realise why.
I think --unsafe-rpc-external might need to be updated too.
The text was updated successfully, but these errors were encountered:
If I run
substrate-contracts-node --help
part of the output is:But I was able to use
--unsafe-ws-external
instead of just--ws-external
to be able to connect to https://contracts-ui.substrate.io/?rpc=ws://127.0.0.1:9944, as i've described in the solution to the errorAPI-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure
that was produced otherwise here https://substrate.stackexchange.com/a/8648/83So I don't think the statement
Same as --ws-external but doesn't warn you about it
is accurate, because what I found was that it doesn't just avoid you encountering warnings, it avoids you encountering errors, and I was able to overcome the error by using--unsafe-ws-external
instead of just--ws-external
.So I think it should say
Same as
--ws-externalbut doesn't give you errors about it.
, otherwise users might choose to use--ws-external
instead thinking that they'll just get some harmless warnings, but then might encounter the error and not realise why.I think
--unsafe-rpc-external
might need to be updated too.The text was updated successfully, but these errors were encountered: