storacha/ipns-publisher

404 endpoint not found, when running publisher

Opened this issue · 0 comments

The code is trying to connect to /name/*/watch which is not present in the ipfs node. Is this script to be used with a modified version of ipfs ?

Current ipfs version : v0.17.0

Error: Server responded with a non-101 status: 404 Not Found
Response Headers Follow:
content-type: text/plain; charset=utf-8
x-content-type-options: nosniff
date: Thu, 08 Jun 2023 11:22:53 GMT
content-length: 19

    at WebSocketClient.failHandshake (/Users/a1/Desktop/Office/projects/Rana/KEYCHAIN/IPFS-resolve-test/ipns-publisher/node_modules/websocket/lib/WebSocketClient.js:339:32)
    at ClientRequest.<anonymous> (/Users/a1/Desktop/Office/projects/Rana/KEYCHAIN/IPFS-resolve-test/ipns-publisher/node_modules/websocket/lib/WebSocketClient.js:278:18)
    at ClientRequest.emit (node:events:390:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:623:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at Socket.socketOnData (node:_http_client:487:22)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)