You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I create ipfs-daemon with latest releases, I encoutnered this issue:
TypeError: message.ttl is not a function
at notify (file:///Users/tiansha/ipfs/dids-test/node_modules/@achingbrain/ssdp/dist/src/commands/notify.js:14:77)
at SSDPImpl.emit (node:events:513:28)
at parseSsdpMessage (file:///Users/tiansha/ipfs/dids-test/node_modules/@achingbrain/ssdp/dist/src/parse-ssdp-message.js:38:10)
at SSDPImpl.emit (node:events:513:28)
at Socket. (file:///Users/tiansha/ipfs/dids-test/node_modules/@achingbrain/ssdp/dist/src/create-sockets.js:10:22)
at Socket.emit (node:events:513:28)
at UDP.onMessage [as onmessage] (node:dgram:933:8)
should change this line: resolveService(ssdp, message.USN, message.NT, message.LOCATION, message.ttl()) to
resolveService(ssdp, message.USN, message.NT, message.LOCATION, message.ttl ? message.ttl():188000)
thanks.
The text was updated successfully, but these errors were encountered:
when I create ipfs-daemon with latest releases, I encoutnered this issue:
TypeError: message.ttl is not a function
at notify (file:///Users/tiansha/ipfs/dids-test/node_modules/@achingbrain/ssdp/dist/src/commands/notify.js:14:77)
at SSDPImpl.emit (node:events:513:28)
at parseSsdpMessage (file:///Users/tiansha/ipfs/dids-test/node_modules/@achingbrain/ssdp/dist/src/parse-ssdp-message.js:38:10)
at SSDPImpl.emit (node:events:513:28)
at Socket. (file:///Users/tiansha/ipfs/dids-test/node_modules/@achingbrain/ssdp/dist/src/create-sockets.js:10:22)
at Socket.emit (node:events:513:28)
at UDP.onMessage [as onmessage] (node:dgram:933:8)
should change this line: resolveService(ssdp, message.USN, message.NT, message.LOCATION, message.ttl()) to
resolveService(ssdp, message.USN, message.NT, message.LOCATION, message.ttl ? message.ttl():188000)
thanks.
The text was updated successfully, but these errors were encountered: