Skip to content

Make direct WebRTC connections more reliable #122

@evangineer

Description

@evangineer

By default Holochain will pick any open ephemeral udp ports for making direct webrtc connections, and Docker falls over if you try to publish the full port range. You can either use host networking for the container or configure Holochain to choose from a smaller port range and bind those. The conductor config for the port range is network.advanced.transportTx5.ephemeral_udp_port_min and network.advanced.transportTx5.ephemeral_udp_port_max.

To confirm a peer has a direct connection (not relayed) to another you can do a dump_network_metrics and look at the field transport_stats_connections[].is_webrtc. It will be true for a direct connection.

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