I’m trying Apollo Router with my federation graphs, but i can’t get the subscriptions working.
Does Apollo Router support subscriptions with federation graphs?
rgoncalves@kravex-server ~ $ npx diagnose-endpoint@1.0.12 --endpoint=ws://127.0.0.1:4000/
npx: installed 34 in 3.313s
Diagnosing ws://127.0.0.1:4000/
(node:69418) ExperimentalWarning: The dns.promises API is experimental
⚠️ Failed to diagnose what went wrong. Here's the error: { UnsupportedProtocolError: Unsupported protocol "ws:"
at normalizeArguments (/Users/rgoncalves/.npm/_npx/69418/lib/node_modules/diagnose-endpoint/node_modules/got/dist/source/core/index.js:515:23)
at got (/Users/rgoncalves/.npm/_npx/69418/lib/node_modules/diagnose-endpoint/node_modules/got/dist/source/create.js:112:39)
at /Users/rgoncalves/.npm/_npx/69418/lib/node_modules/diagnose-endpoint/index.js:34:35
at Object.<anonymous> (/Users/rgoncalves/.npm/_npx/69418/lib/node_modules/diagnose-endpoint/index.js:171:3)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
name: 'UnsupportedProtocolError',
code: undefined,
timings: undefined } Unsupported protocol "ws:"