Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[v0.9.43] Removal of the options ws-port and ws-external #7364

Closed
gitmewai opened this issue Jun 14, 2023 · 3 comments
Closed

[v0.9.43] Removal of the options ws-port and ws-external #7364

gitmewai opened this issue Jun 14, 2023 · 3 comments

Comments

@gitmewai
Copy link

I believe not only the default port changed in v0.9.43 as mentioned in #7363 but also the removal of the options --ws-port and --ws-external in v0.9.43 also mentioned in #7361 .

Jun 14 08:20:20 polkadot-1 systemd[1]: Started westend node.
Jun 14 08:20:20 polkadot-1 polkadot[226905]: error: unexpected argument '--ws-port' found
Jun 14 08:20:20 polkadot-1 polkadot[226905]:   tip: a similar argument exists: '--rpc-port'
Jun 14 08:20:20 polkadot-1 polkadot[226905]: Usage: polkadot --name <NAME> --public-addr <PUBLIC_ADDR>... --listen-addr <LISTEN_ADDR>... --rpc-methods <METHOD SET> --rpc-port <PORT> <--chain <CHAIN_SPEC>|--dev|--base-path <PATH>|--log <LOG_PATTERN>...|--detailed-log-output|--disable-log-color|--enable-log-reloading|--tracing-targets <TARGETS>|--tracing-receiver <RECEIVER>>
Jun 14 08:20:20 polkadot-1 polkadot[226905]: For more information, try '--help'.
Jun 14 08:20:20 polkadot-1 systemd[1]: polkadot.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 14 08:20:20 polkadot-1 systemd[1]: polkadot.service: Failed with result 'exit-code'.

Can the team explain the breaking changes in v0.9.43, please? How websocket is supported in v0.9.43?

@bkchr
Copy link
Member

bkchr commented Jun 14, 2023

Yeah they were removed as part of the following pr: paritytech/substrate#13384

I have updated the release notes to make these changes more prominent.

@bkchr bkchr closed this as completed Jun 14, 2023
@hugh-onf
Copy link

hugh-onf commented Jun 15, 2023

Did we have some typo? --rpc--port not there but --rpc-port, notice the --.

image
image

Also is --rpc_external correct? so _ and not -?

Thanks.

@niklasad1
Copy link
Member

Yes, you are correct

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants