Skip to content

Enable P2P circuit relay client by default #1317

@bogdanfazakas

Description

@bogdanfazakas

Also include autoTLS setup in quickstart script

Browser-based clients (like the nodes dashboard) can only reach ocean-node over WSS, TLS, or a P2P circuit relay.

Circuit relay
Both circuit relay server and client are disabled by default:

enableCircuitRelayServer: false (P2P_ENABLE_CIRCUIT_RELAY_SERVER)
enableCircuitRelayClient: false (P2P_ENABLE_CIRCUIT_RELAY_CLIENT)
circuitRelays: 0 (P2P_CIRCUIT_RELAYS)
The quickstart script (scripts/ocean-node-quickstart.sh) has these commented out and never prompts for them.

AutoTLS
AutoTLS is always on for P2P internally, but the quickstart script does not help the operator configure P2P_ANNOUNCE_ADDRESSES with the correct /tls/ws or /tls/wss entries — so autoTLS never gets exercised properly in practice.

Proposed changes:

  • Quickstart script — prompt for autoTLS / announce addresses
  • Quickstart script — uncomment circuit relay options set to false

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions