js-ipfs icon indicating copy to clipboard operation
js-ipfs copied to clipboard

Cannot connect to websocket peer

Open alanshaw opened this issue 2 years ago • 0 comments

$ jsipfs swarm connect /dns4/peer.ipfs-elastic-provider-aws.com/tcp/3000/ws/p2p/bafzbeibhqavlasjc7dvbiopygwncnrtvjd2xmryk5laib7zyjor6kf3avm

    Error: Unexpected server response: 403
        at ClientRequest.<anonymous> (/usr/local/lib/node_modules/ipfs/node_modules/ws/lib/websocket.js:768:7)
        at ClientRequest.emit (node:events:537:28)
        at HTTPParser.parserOnIncomingClient (node:_http_client:642:27)
        at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)
        at Socket.socketOnData (node:_http_client:505:22)
        at Socket.emit (node:events:537:28)
        at addChunk (node:internal/streams/readable:324:12)
        at readableAddChunk (node:internal/streams/readable:297:9)
        at Readable.push (node:internal/streams/readable:234:10)
        at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
$ jsipfs version --all
js-ipfs version: 0.15.4-965f5a4e00254cee48fca2127d95209deaee09cf
interface-ipfs-core version: ^0.155.2
ipfs-http-client version: 1.0.0
Repo version: 12
System version: arm64/darwin
Node.js version: v16.16.0
Commit: 965f5a4e00254cee48fca2127d95209deaee09cf

alanshaw avatar Jul 14 '22 16:07 alanshaw