AmandaDiscord / Volcano

A light-weight LavaLink compatible replacement
MIT License
71 stars 15 forks source link

"Error: read ECONNRESET" #34

Open dkrsk opened 1 year ago

dkrsk commented 1 year ago

i have trouble with run Volcano. after npm run start on Ubuntu 22.04.2 machine i get this:


> volcano@1.5.9 start
> node --enable-source-maps --optimize_for_size .

node:internal/process/esm_loader:100
    internalBinding('errors').triggerUncaughtException(
                              ^

Error: read ECONNRESET
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at __node_internal_errnoException (node:internal/errors:620:12)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read'
}

Node.js v19.9.0

I also try with Win11 and node v20, but that doesn't work either:


> volcano@1.5.11 start
> node --enable-source-maps --optimize_for_size .

node:internal/process/esm_loader:42
      internalBinding('errors').triggerUncaughtException(
                                ^

Error [ERR_SOCKET_CONNECTION_TIMEOUT]: Socket connection timeout
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at new NodeError (node:internal/errors:399:5)
    at internalConnectMultiple (node:net:1098:20)
    at Timeout.internalConnectMultipleTimeout (node:net:1637:3)
    at listOnTimeout (node:internal/timers:575:11)
    at process.processTimers (node:internal/timers:514:7) {
  code: 'ERR_SOCKET_CONNECTION_TIMEOUT'
}

Node.js v20.0.0

Any ideas how to solve this?

PapiOphidian commented 1 year ago

v1 currently isn't receiving updates anymore as we work on the rewrite. https://github.com/AmandaDiscord/Volcano/suites/12010352442/artifacts/630855049 This is a link to the latest v2 server build. v2 uses yarn over npm so ensure that yarn is installed and that you yarn install the dependencies then yarn start

dkrsk commented 1 year ago

After a lot of torment, it turned out to build, but when I start, I get it again:

node:internal/process/esm_loader:42
      internalBinding('errors').triggerUncaughtException(
                                ^

Error [ERR_SOCKET_CONNECTION_TIMEOUT]: Socket connection timeout
    at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
    at new NodeError (node:internal/errors:399:5)
    at internalConnectMultiple (node:net:1098:20)
    at Timeout.internalConnectMultipleTimeout (node:net:1637:3)
    at listOnTimeout (node:internal/timers:575:11)
    at process.processTimers (node:internal/timers:514:7) {
  code: 'ERR_SOCKET_CONNECTION_TIMEOUT'
}

Node.js v20.0.0

Also prism-media and node-gyp (probably?) is missing from package.json