Skip to content

Conversation

canepat
Copy link
Member

@canepat canepat commented Jun 18, 2025

Fixes #10068

Currently, when you enable WebSocket (WS) support in stand-alone rpcdaemon, the WS server listening port changes in every run because the associated configuration parameter cfg.WebsocketPort assumes a random default value and is not tied to any command-line option.

This is different from erigon, where the same configuration parameter is associated to the ws.port option, which is set to 8546 by default.

@canepat canepat force-pushed the canepat/rpcdaemon_ws_port_issue_10068 branch from 2482e9b to 55f3c9e Compare June 19, 2025 16:14
@canepat canepat merged commit bd37b36 into main Jun 20, 2025
14 checks passed
@canepat canepat deleted the canepat/rpcdaemon_ws_port_issue_10068 branch June 20, 2025 11:47
@AskAlexSharov
Copy link
Collaborator

@canepat https://github.com/erigontech/erigon?tab=readme-ov-file#default-ports-and-firewalls
also will need add to release notes as breaking change

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

Successfully merging this pull request may close these issues.

Can not connect to websocket with web3py (--ws is on)
2 participants