coinbase adapter: default WS_API_ENDPOINT wss://ws-feed.pro.coinbase.com no longer accepts connections
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, typescript
- Ambito
- backend, networking
Direzione di ricerca
Inizia da packages/sources/coinbase/src/config/index.ts, poi cerca il valore predefinito di WS_API_ENDPOINT in schemas/env.json e nella tabella del README. Aggiorna i valori predefiniti affinché usino l’host WebSocket di Coinbase Exchange descritto nell’issue e verifica che la sottoscrizione WebSocket dell’adattatore usi ancora il canale ticker e il payload indicati. Il lavoro è completato quando tutti e tre i valori predefiniti coincidono e il changeset è incluso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The coinbase source adapter still defaults its WebSocket URL to the Coinbase Pro host:
packages/sources/coinbase/src/config/index.ts
export const DEFAULT_WS_API_ENDPOINT = 'wss://ws-feed.pro.coinbase.com'
(also the default in schemas/env.json and the README table)
That host is retired. The WebSocket handshake fails (close 1006), a plain HTTPS request to it returns 530, and api.pro.coinbase.com answers 503 "Coinbase Pro API is deprecated." So with WS enabled and no WS_API_ENDPOINT override, the adapter never receives a ticker over the socket.
The same feed lives on the Exchange host, with the same subscribe message and the same ticker payload (type, product_id, price, ...), so makeWSHandler should work unchanged with:
export const DEFAULT_WS_API_ENDPOINT = 'wss://ws-feed.exchange.coinbase.com'
Repro (Node 22+, global WebSocket), sending the adapter's own subscription:
const sub = { type: 'subscribe', channels: ['ticker'], product_ids: ['BTC-USD', 'ETH-USD'] };
const run = (url) => new Promise((resolve) => {
let tickers = 0, first = '', err = '';
const ws = new WebSocket(url);
ws.onopen = () => ws.send(JSON.stringify(sub));
ws.onmessage = (e) => { const m = JSON.parse(e.data); if (m.type === 'ticker') { tickers++; if (!first) first = `${m.product_id} price=${m.price}`; } };
ws.onerror = () => { err = 'error event'; };
ws.onclose = (e) => { err += ` (close ${e.code})`; };
setTimeout(() => { try { ws.close(); } catch {} resolve(`${url}: ${tickers} ticker messages ${first} ${err}`.trim()); }, 10000);
});
for (const u of ['wss://ws-feed.pro.coinbase.com', 'wss://ws-feed.exchange.coinbase.com']) console.log(await run(u));
Output on 28 Nov 2026, 03:49 UTC:
wss://ws-feed.pro.coinbase.com: 0 ticker messages error event (close 1006)
wss://ws-feed.exchange.coinbase.com: 55 ticker messages BTC-USD price=59874.05
Deployments that already set WS_API_ENDPOINT are not affected. I help maintain a Coinbase SDK for Node.js (Siebly) and ran into the old host while checking our own defaults. Happy to send a PR with the config, schema and README change plus a changeset if that is easier.
- Lingua principale
- TypeScript
- Stelle
- 288
- Fork
- 263
- Merge medio
- 1g 8h
- PR unite (30g)
- 62
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di smartcontractkit/external-adapters-js
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
smartcontractkit/external-adapters-js#5623 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]:🐛Prototype-polluting assignmentForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
smartcontractkit/external-adapters-js#3705 ·
I maintainer di solito rispondono entro 1 giorno
-
Dependency DashboardForse di nuovo libera @boxhock l’ha presa 1781 giorni fa e non c’è nessuna pull request aperta. Aperta
smartcontractkit/external-adapters-js#848 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di smartcontractkit/external-adapters-js
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ardia-browser/ardia#4778 ·
I maintainer di solito rispondono entro 1 giorno
-
[M09] Silence parser misreads ffmpeg times in scientific notation (6.25e-05 → 6.25 s)Forse già presa @G-darshan-32 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
clipy-recorder/clipy#164 · 1 commento ·
-
bug from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nightly-labs/openbot#18462 ·
I maintainer di solito rispondono entro 1 giorno
-
Fast and light shell approval "Always allow" button shows raw English backticks and scrambles commands in ArabicForse già presa @tylerbea l’ha presa oggi. Apertaagent-ui bug p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input boxForse già presa @PranavTJ-05 l’ha presa oggi. Apertacomp/desktop desktop/chat desktop/shell os/windows P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NousResearch/hermes-agent#161023 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno