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

v1.1.0 seems to break websocket support #318

Closed
distributedstatemachine opened this issue Apr 12, 2024 · 0 comments
Closed

v1.1.0 seems to break websocket support #318

distributedstatemachine opened this issue Apr 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@distributedstatemachine
Copy link
Contributor

Describe the bug

It appears that v.1.0.0 does not support websockets , at least not through the --ws-port flag. This currently breaks the localnet setup script (./scripts/localnet.sh), and might have impacts upstream, as most of our services connect via websockets.

To Reproduce

  1. Clone the development branch
  2. Run .scripts/localnet.sh

Expected behavior

Node runs

*** Binary compiled
*** Building chainspec...
2024-04-12 17:19:46 Building chain spec    
*** Chainspec built and output to file
*** Purging previous state...
*** Previous chainstate purged
*** Starting localnet nodes...
error: unexpected argument '--ws-port' found

  tip: a similar argument exists: '--rpc-port'

Usage: node-subtensor --bob --port <PORT> --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>>

For more information, try '--help'.
error: unexpected argument '--ws-port' found

  tip: a similar argument exists: '--rpc-port'

Screenshots

No response

Environment

M3 Max ,OSX

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant