Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

ETIMEDOUT after short runtime #469

Open
rajosch opened this issue Feb 4, 2022 · 1 comment
Open

ETIMEDOUT after short runtime #469

rajosch opened this issue Feb 4, 2022 · 1 comment

Comments

@rajosch
Copy link

rajosch commented Feb 4, 2022

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 matrix-dimension@1.0.0start:app: unsafe-perm in lifecycle true
npm verb lifecycle matrix-dimension@1.0.0
start: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 matrix-dimension@1.0.0start:app: CWD: /home/admin/matrix-dimension
npm info lifecycle matrix-dimension@1.0.0
start:app: Failed to exec start:app script
npm verb stack Error: matrix-dimension@1.0.0 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 matrix-dimension@1.0.0
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! matrix-dimension@1.0.0 start:app: npm run-script build && node build/app/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the matrix-dimension@1.0.0 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!

@rajosch
Copy link
Author

rajosch commented Feb 8, 2022

Edit: I run into this exact issue when trying to run it via docker or building it myself.

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

No branches or pull requests

1 participant