ETIMEDOUT after short runtime #469
Description
Hello,
I'm trying to run dimension for a private homeserver.
I run it on Ubuntu 20.04.3 LTS.
After I start the server I can briefly use it. I am also able to access the server via a browser.
However after a minute the server terminates with the following error code:
Fri, 04 Feb 2022 15:49:59 GMT [INFO] [Webserver] Registered route: /.well-known/matrix/integrations
Fri, 04 Feb 2022 15:49:59 GMT [INFO] [Webserver] API and UI listening on 0.0.0.0:8184
Fri, 04 Feb 2022 15:49:59 GMT [DEBUG] [MatrixHttpClient (REQ-1)] GET https://domain_name/_matrix/client/r0/account/whoami
Fri, 04 Feb 2022 15:50:59 GMT [ERROR] [MatrixHttpClient (REQ-1)] Error: ETIMEDOUT
at Timeout. (/home/admin/matrix-dimension/node_modules/request/request.js:848:19)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7) {
code: 'ETIMEDOUT',
connect: true
}
Error: ETIMEDOUT
at Timeout. (/home/admin/matrix-dimension/node_modules/request/request.js:848:19)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7) {
code: 'ETIMEDOUT',
connect: true
}
npm verb lifecycle [email protected]start:app: unsafe-perm in lifecycle truestart:app: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/admin/matrix-dimension/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
npm verb lifecycle [email protected]
npm verb lifecycle [email protected]start:app: CWD: /home/admin/matrix-dimensionstart:app: Failed to exec start:app script
npm info lifecycle [email protected]
npm verb stack Error: [email protected] start:app: npm run-script build && node build/app/index.js
npm verb stack Exit status 1
npm verb stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
npm verb stack at EventEmitter.emit (events.js:314:20)
npm verb stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack at ChildProcess.emit (events.js:314:20)
npm verb stack at maybeClose (internal/child_process.js:1022:16)
npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
npm verb pkgid [email protected]
npm verb cwd /home/secadm/matrix-dimension
npm verb Linux 5.4.0-97-generic
npm verb argv "/usr/bin/node" "/usr/bin/npm" "run" "--verbose" "start:app"
npm verb node v12.22.9
npm verb npm v6.14.15
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:app: npm run-script build && node build/app/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start:app script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 164811ms
It seems that there is a problem with requesting the user for the access_token. But I don't know what might be causing this.
Thank you in advance for the help!