From a46ab8ddbc5e8fa5e9483ff1a801ccce78bcb61d Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Mon, 24 Aug 2026 09:52:55 -0700 Subject: [PATCH] fix(protocol): canonical relay endpoint is wss://relay.dig.net:443, not :9450 The peer-network protocol page told users and agents that the default `DIG_RELAY_URL` is `wss://relay.dig.net:9450`, and the `network_info` example returned the same. Nothing answers there: the relay.dig.net NLB has a :443 TLS listener and a :3478 UDP listener, and :9450 is the relay's internal container port behind it. This is the user-visible leg of the sweep - a published page and a published OpenRPC document instructing a dial to a closed port is a documented failure, not a stale comment. 30 occurrences across 16 files: docs/protocol/peer-network.md, the same page in all 13 i18n locales, scripts/dig-spec.mjs, and the generated static/openrpc-node.json (kept in sync with its source). Self-hosted relay guidance (--listen [::]:9450, your-relay-host:9450, relay.example.com:9450) is CORRECT and untouched: a relay you run yourself has no NLB in front of it. Refs https://github.com/DIG-Network/dig_ecosystem/issues/1218 Co-Authored-By: Claude --- docs/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- .../current/protocol/peer-network.md | 4 ++-- package.json | 2 +- scripts/dig-spec.mjs | 2 +- static/openrpc-node.json | 2 +- 17 files changed, 31 insertions(+), 31 deletions(-) diff --git a/docs/protocol/peer-network.md b/docs/protocol/peer-network.md index 9dc690a..11589f5 100644 --- a/docs/protocol/peer-network.md +++ b/docs/protocol/peer-network.md @@ -414,7 +414,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -545,7 +545,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/de/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/de/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/es/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/es/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/fr/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/hi/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/hi/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/hi/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/hi/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/id/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/id/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/id/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/id/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/ja/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/ko/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/ru/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/tr/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/tr/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/tr/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/tr/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/vi/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/vi/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/vi/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/vi/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/i18n/zh-TW/docusaurus-plugin-content-docs/current/protocol/peer-network.md b/i18n/zh-TW/docusaurus-plugin-content-docs/current/protocol/peer-network.md index f008c70..069d84e 100644 --- a/i18n/zh-TW/docusaurus-plugin-content-docs/current/protocol/peer-network.md +++ b/i18n/zh-TW/docusaurus-plugin-content-docs/current/protocol/peer-network.md @@ -351,7 +351,7 @@ Only the three `hole_punch_*` messages (steps 3, 4, 7) cross the relay — the c This section defines the relay's full `RelayMessage` wire, including its **fourth role** ([above](#the-relay-has-four-distinct-roles)): **relayed (TURN-like) transport**, in which the relay proxies **all** of a peer connection's data. This is the **high-bandwidth, last-resort** tier (strategy (f) of the [ladder](#nat-traversal)) — entered only after direct, UPnP/NAT-PMP/PCP, and the hole-punch signalling of [§5](#hole-punch) have all failed. It is a **distinct flow** from the low-bandwidth signalling roles: here the peer's bytes flow through the relay (`relay_message` / `broadcast`), whereas STUN, introducer, and hole-punch carry only control messages. -The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:9450` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. +The relay is a stateless rendezvous / circuit bridge speaking **JSON messages over a secure WebSocket** (`wss://`). The default endpoint is `DIG_RELAY_URL = wss://relay.dig.net:443` (override with the `DIG_RELAY_URL` environment variable; `off` disables the reservation). It exposes a plaintext health check at `GET /health` on port `9451`. Every message is a JSON object with a `type` discriminator. The message family is **RLY-001..RLY-007**: @@ -482,7 +482,7 @@ Report this node's own network posture — its identity, reachability, candidate "reflexive_addr": "203.0.113.1:9444", "candidate_addresses": [ "[2001:db8::7]:9444", "203.0.113.7:9444" ], "reachability": "direct", - "relay": { "url": "wss://relay.dig.net:9450", "reserved": true, "connected_peers": 42 } + "relay": { "url": "wss://relay.dig.net:443", "reserved": true, "connected_peers": 42 } } ``` diff --git a/package.json b/package.json index bb3168a..28d63f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docs-dig-net", - "version": "0.17.0", + "version": "0.17.1", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/scripts/dig-spec.mjs b/scripts/dig-spec.mjs index 92ceef2..50cd32d 100644 --- a/scripts/dig-spec.mjs +++ b/scripts/dig-spec.mjs @@ -770,7 +770,7 @@ export const nodeMethods = [ properties: { url: { type: "string", - description: "The relay endpoint (default wss://relay.dig.net:9450).", + description: "The relay endpoint (default wss://relay.dig.net:443).", }, reserved: { type: "boolean", diff --git a/static/openrpc-node.json b/static/openrpc-node.json index 756f2db..efe5086 100644 --- a/static/openrpc-node.json +++ b/static/openrpc-node.json @@ -351,7 +351,7 @@ "properties": { "url": { "type": "string", - "description": "The relay endpoint (default wss://relay.dig.net:9450)." + "description": "The relay endpoint (default wss://relay.dig.net:443)." }, "reserved": { "type": "boolean",