Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EHOSTUNREACH crash #883

Closed
achingbrain opened this issue Feb 7, 2021 · 2 comments
Closed

EHOSTUNREACH crash #883

achingbrain opened this issue Feb 7, 2021 · 2 comments

Comments

@achingbrain
Copy link
Member

  • Version: 0.30.x
  • Platform: os x
  • Subsystem: ??

Type: bug

Severity: critical

Description: crashes randomly after some time

Steps to reproduce the error:

  1. start a node
  2. wait
Error: connect EHOSTUNREACH 2604:1380:1000:b500::1:4002 - Local (:::60783)
    at internalConnect (net.js:921:16)
    at defaultTriggerAsyncIdScope (internal/async_hooks.js:430:12)
    at net.js:1009:9
    at processTicksAndRejections (internal/process/task_queues.js:75:11) {
  errno: -65,
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '2604:1380:1000:b500::1',
  port: 4002
}

May be related to #844 - something, somewhere is not handling errors properly.

@vasco-santos
Copy link
Member

Yes, I could replicate that error in #844 (comment)

A temporary solution is libp2p/js-libp2p-websockets#118

This should be fixed in node soon as it was already merged a fix, but we should still merge the websockets fix while it is not released and people update node:

@vasco-santos
Copy link
Member

I released libp2p-websockets@0.15.2 with the error handler for this.

I am going to close the issue, feel free to reopen if this is still an issue with the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants