diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-04 14:51:08 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-04 14:51:08 +0200 |
| commit | 08b0f8d7c457e5e58a31bea2b2e43c9f398a6923 (patch) | |
| tree | 4096c193b4f3fb181d5862e906ead8867a4b92a0 /packages/meshbay-hub/src | |
| parent | 598158757a436eb6ea554f7ce34182dc96f8d851 (diff) | |
| download | meshbay-08b0f8d7c457e5e58a31bea2b2e43c9f398a6923.tar.gz | |
fix: drop the retired Mozilla STUN server from the defaults
stun.services.mozilla.com no longer resolves — Mozilla shut the service
down — so every ICE gather waited out a DNS timeout on it. Removed from the
node defaults (config.py), the browser defaults (transport.js) and the Node
page's "reset to defaults" (node-page.js). Google (two endpoints) plus
Cloudflare still give two-provider coverage against a single outage, which
is the §2.12 resilience claim. draft-v6 §2.12 updated.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src')
| -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 |
2 files changed, 3 insertions, 2 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() { |