question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot listen to ipfs subscribe on the default provided channel

See original GitHub issue

Screen Shot 2021-08-15 at 12 00 45 PM See screenshot. the default provided channel cannot connect. If there is a better option for most people to have it working out of the box, we should set that one as the default.


index.js:67 Uncaught (in promise) Error: Couldn't listen on any of the servers
    at index.js:67
    at parallel.js:43
    at once.js:13
    at iteratorCallback (eachOf.js:65)
    at onlyOnce.js:13
    at parallel.js:40
    at index.js:59
    at f (once.js:24)```

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
grahamtallencommented, Aug 19, 2021

(whoops, commented on the issue instead of the PR)

I’ve tried installing with yarn and npm, for some reason no matter what I do, get a syntax error on this ipfs node module on this branch. @Aragar199 any ideas?

I’m node 14.17.3

SyntaxError: /Users/grahamallen/workdir/eth.build/node_modules/ipfs-core/src/ipns/publisher.js: Identifier directly after number (257:21)

  255 | 
  256 |     // Determinate the record sequence number
> 257 |     let seqNumber = 0n
      |                      ^
  258 | 
  259 |     if (record && record.sequence !== undefined) {
  260 |       seqNumber = !uint8ArrayEquals(record.value, value) ? BigInt(record.sequence) + 1n : BigInt(record.sequenc```
1reaction
MrWater98commented, Aug 30, 2021

(whoops, commented on the issue instead of the PR)

I’ve tried installing with yarn and npm, for some reason no matter what I do, get a syntax error on this ipfs node module on this branch. @Aragar199 any ideas?

I’m node 14.17.3

SyntaxError: /Users/grahamallen/workdir/eth.build/node_modules/ipfs-core/src/ipns/publisher.js: Identifier directly after number (257:21)

  255 | 
  256 |     // Determinate the record sequence number
> 257 |     let seqNumber = 0n
      |                      ^
  258 | 
  259 |     if (record && record.sequence !== undefined) {
  260 |       seqNumber = !uint8ArrayEquals(record.value, value) ? BigInt(record.sequence) + 1n : BigInt(record.sequenc```

How to fix this problem?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubo CLI - IPFS Docs
Default : text. --stream-channels bool - Stream channel output. --timeout string - Set a global timeout on the command.
Read more >
ipfs pubsub not working across two remote peers
The problem should be that your peers are not connected between each other (or with a common set of peers running pubsub) to...
Read more >
IPFS Access via Port 5001 - Ethereum Stack Exchange
I am using IPFS to store media files with the address on the blockchain. I have had a lot of issues with ports...
Read more >
Client does not receive pubsub after api node reboots #3465
It seems the handler to ipfs.pubsub.subscribe somehow gets broken. Steps to reproduce the error: 1. Start jsipfs daemon. DEBUG=ipfs* jsipfs ...
Read more >
IPFS-cluster unable to bootstrap second node - Reddit
Both nodes in default config try to listen on the same ports, which should normally throw an error... If you were trying to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found