diff options
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/node-page.js | 2 | ||||
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/transport.js | 3 | ||||
| -rw-r--r-- | packages/meshbay-node/src/meshbay_node/config.py | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/node-page.js b/packages/meshbay-hub/src/meshbay_hub/static/node-page.js index 8df4c9d..a2d3e49 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/node-page.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/node-page.js @@ -383,11 +383,11 @@ export function NodePage({ groups }) { }, []); const resetStunDefaults = useCallback(() => { + // Keep in step with meshbay_node.config.DEFAULT_STUN_SERVERS. setEditStun([ 'stun:stun.l.google.com:19302', 'stun:stun1.l.google.com:19302', 'stun:stun.cloudflare.com:3478', - 'stun:stun.services.mozilla.com:3478', ]); setActionMsg(''); }, []); diff --git a/packages/meshbay-hub/src/meshbay_hub/static/transport.js b/packages/meshbay-hub/src/meshbay_hub/static/transport.js index 809bb83..ea1e70a 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/transport.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/transport.js @@ -147,7 +147,8 @@ const STUN_URLS = [ 'stun:stun.l.google.com:19302', 'stun:stun1.l.google.com:19302', 'stun:stun.cloudflare.com:3478', - 'stun:stun.services.mozilla.com:3478', + // Mozilla retired stun.services.mozilla.com; the name no longer resolves. + // Google + Cloudflare still cover a single-provider outage. ]; let _iceServersPromise = null; function iceServers() { diff --git a/packages/meshbay-node/src/meshbay_node/config.py b/packages/meshbay-node/src/meshbay_node/config.py index a5220cd..0e5a7de 100644 --- a/packages/meshbay-node/src/meshbay_node/config.py +++ b/packages/meshbay-node/src/meshbay_node/config.py @@ -24,7 +24,9 @@ DEFAULT_STUN_SERVERS: list[str] = [ "stun:stun.l.google.com:19302", "stun:stun1.l.google.com:19302", "stun:stun.cloudflare.com:3478", - "stun:stun.services.mozilla.com:3478", + # stun.services.mozilla.com was here — Mozilla retired it, the name no + # longer resolves, and each gather waited out its DNS timeout. Two + # providers (Google, Cloudflare) still cover a single-provider outage. ] DEFAULT_CONFIG_PATH = config_dir() / "node.toml" |