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.

dial attempt failed:

See original GitHub issue

Trying to run after installing it globally.

$ registry-mirror daemon --clone

{ Error: connect QmToeN85brexqyXUnWnKfHFqhvucJPViw9AxQQkjLoULy4 failure: dial attempt failed: <peer.ID Nk9fWi> --> <peer.ID ToeN85> dial attempt failed: connection refused
    at /home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/ipfs-api/lib/request-api.js:33:21
    at /home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/ipfs-api/lib/request-api.js:47:8
    at finish (/home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/wreck/lib/index.js:214:20)
    at wrapped (/home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/wreck/node_modules/hoek/lib/index.js:871:20)
    at ClientRequest.onResponse (/home/victor/.nvm/versions/node/v6.5.0/lib/node_modules/registry-mirror/node_modules/wreck/lib/index.js:161:20)
    at ClientRequest.g (events.js:286:16)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at HTTPParser.parserOnIncomingClient (_http_client.js:472:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:105:23) code: 0 }

Versions

{ npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.5.0',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.1.281.81',
  zlib: '1.2.8' }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
matthoffnercommented, Sep 1, 2018

Running the latest version from master resolved this for me, thanks.

1reaction
daviddiascommented, Apr 24, 2018

@mojoaxel thanks for the ping! We will be bringing back npm-on-ipfs this quarter (check OKRs here https://github.com/ipfs/js-ipfs/blob/master/OKR.md) as one of the test vectors for the JavaScript implementation of IPFS and also because we want to have a module that is full JS so that users don’t need to boot a go-ipfs node.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connecting to some peers fails with 'dial attempt ... - GitHub
Hi all! I installed clean instance of ipfs init and started ipfs daemon . After that ipfs swarm peers answers with nothing. When...
Read more >
`ipfs swarm connect:` connect failure: dial attempt failed
When I try to connect my laptop to another IPFS-peer, I face with following error: connect failure: dial attempt failed: context deadline ...
Read more >
Error codes for dial-up or VPN connections - Windows Client
List of error codes for dial-up connections or VPN connections ... The connection attempt failed because of failure to encrypt data.
Read more >
[RESOLVED]: How do I handle a failed Dial attempt
Hi I am a noob to asterisk and dial plan. I have an inbound call that I am answering and then attempting to...
Read more >
Dial-up Connection Error 777 - M2MSupport.net
Dial-up Connection Error 777 – The connection attempt failed because the modem (or other connecting device) on the remote computer is out of...
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