Skip to content
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

Flags don't have effect / behave strangely #137

Open
Swader opened this issue Sep 14, 2021 · 0 comments
Open

Flags don't have effect / behave strangely #137

Swader opened this issue Sep 14, 2021 · 0 comments

Comments

@Swader
Copy link

Swader commented Sep 14, 2021

Modding Alice like so

                "nodes": [
                        {
                                "name": "alice",
                                "wsPort": 9944,
                                "port": 30444,
                                "flags": ["--unsafe-ws-external"]

or so

                "nodes": [
                        {
                                "name": "alice",
                                "wsPort": 9944,
                                "port": 30444,
                                "flags": ["--ws-external"]

Will not open up WS for connections from the outside.

Running the binary directly with kusama --dev --tmp --ws-external works fine and immediately connects, which indicates that the flag is not being added.

Additionally, adding mutliple flags to alice like ["--ws-external", "--rpc-cors all"] will make it completely un-connectable even locally:

2021-09-14 12:33:37          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:39          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:42          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:44          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:47          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:49          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:52          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:54          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:57          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:33:59          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:02          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:04          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:07          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:09          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:12          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:14          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:17          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:19          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:22          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:24          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:27          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:29          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:32          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:34          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:37          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
2021-09-14 12:34:39          API-WS: disconnected from ws://127.0.0.1:9944: 1006:: connection failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant