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]: Home Assistant Community Add-on: Netboot.xyz unable to change webui port #341

Open
rysiulg opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working no-stale wontfix This will not be worked on

Comments

@rysiulg
Copy link
Contributor

rysiulg commented Oct 28, 2024

The problem

Yes in config is don't change, but -when other addon uses this port -it can't start -and this port is default used by grafana -very often integrated with HA
After input other port number in startup log there is:

Node.js v20.15.1
dnsmasq-dhcp: no address range available for DHCP request via end0
dnsmasq-dhcp: no address range available for DHCP request via end0
dnsmasq-dhcp: no address range available for DHCP request via end0
Invalid port "undefined" in environment variable WEB_APP_PORT. Using default port 3000 instead.
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::3000
    at Server.setupListenHandle [as _listen2] (node:net:1898:16)
    at listenInCluster (node:net:1946:12)
    at Server.listen (node:net:2044:7)
    at Object.<anonymous> (/app/app.js:359:6)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1925:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 3000
}

What version of Home Assistant Core has the issue?

2024.10.4

What version of the addon has the issue?

1.7.3

What type of installation are you running?

Home Assistant Supervised

Add-On causing the issue

Netboot-XYZ

Log information

at emitErrorNT (node:net:1925:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 3000
}

Node.js v20.15.1
dnsmasq-dhcp: no address range available for DHCP request via end0
dnsmasq-dhcp: no address range available for DHCP request via end0
dnsmasq-dhcp: no address range available for DHCP request via end0
Invalid port "undefined" in environment variable WEB_APP_PORT. Using default port 3000 instead.
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::3000
    at Server.setupListenHandle [as _listen2] (node:net:1898:16)
    at listenInCluster (node:net:1946:12)
    at Server.listen (node:net:2044:7)
    at Object.<anonymous> (/app/app.js:359:6)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1925:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 3000
}

Node.js v20.15.1
dnsmasq-dhcp: no address range available for DHCP request via end0
dnsmasq-dhcp: no address range available for DHCP request via end0
Invalid port "undefined" in environment variable WEB_APP_PORT. Using default port 3000 instead.
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::3000
    at Server.setupListenHandle [as _listen2] (node:net:1898:16)
    at listenInCluster (node:net:1946:12)
    at Server.listen (node:net:2044:7)
    at Object.<anonymous> (/app/app.js:359:6)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1925:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 3000
}

Node.js v20.15.1
dnsmasq-dhcp: no address range available for DHCP request via end0
dnsmasq-dhcp: no address range available for DHCP request via end0
Invalid port "undefined" in environment variable WEB_APP_PORT. Using default port 3000 instead.
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::3000
    at Server.setupListenHandle [as _listen2] (node:net:1898:16)
    at listenInCluster (node:net:1946:12)
    at Server.listen (node:net:2044:7)
    at Object.<anonymous> (/app/app.js:359:6)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1925:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 3000
}

Node.js v20.15.1
dnsmasq-dhcp: no address range available for DHCP request via end0
dnsmasq-dhcp: no address range available for DHCP request via end0

Additional information

No response

@rysiulg rysiulg added the bug Something isn't working label Oct 28, 2024
Copy link
Contributor

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale label Dec 30, 2024
@FaserF FaserF removed the stale label Dec 30, 2024
@FaserF FaserF added wontfix This will not be worked on no-stale labels Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-stale wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants