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

[Bug]: Actual Server fails to start when host has IPV6 disabled #337

Closed
1 task done
Krupski19 opened this issue Apr 11, 2024 · 1 comment
Closed
1 task done

[Bug]: Actual Server fails to start when host has IPV6 disabled #337

Krupski19 opened this issue Apr 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Krupski19
Copy link

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

When trying to start actual-server locally or through Docker on a host that has IPv6 disabled, the server fails to start as it tries to bind port 5006 to :: on IPV6. With IPV6 being disabled on the host through the kernel, the bind fails and actual-server is unable to start.

What error did you receive?

Checking if there are any migrations to run for direction "up"...

Migrations: DONE

Listening on :::5006...

node:events:495

      throw er; // Unhandled 'error' event

      ^

Error: listen EAFNOSUPPORT: address family not supported :::5006

    at Server.setupListenHandle [as _listen2] (node:net:1800:21)

    at listenInCluster (node:net:1865:12)

    at doListen (node:net:2014:7)

    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

Emitted 'error' event on Server instance at:

    at emitErrorNT (node:net:1844:8)

    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {

  code: 'EAFNOSUPPORT',

  errno: -97,

  syscall: 'listen',

  address: '::',

�

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Other

Operating System

Linux

@Krupski19 Krupski19 added the bug Something isn't working label Apr 11, 2024
@MatissJanis
Copy link
Member

Duplicate of #336

@MatissJanis MatissJanis marked this as a duplicate of #336 Apr 13, 2024
@MatissJanis MatissJanis closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants