-
Platform information:
-
Hardware: AWS t2.medium (2 core 8g)
-
OS: CentOS-7-2111-20220330_2.x86_64-d9a3032a-921c-4c6d-b150-bde168105e42
-
Java Runtime Environment:
node -v
v14.19.3
npm -v
6.14.17 -
openHAB version: openHab Cloud 1.0.16
-
-
Issue of the topic: Issue with running node app.js, hangs with no actionable error.
-
Please post configurations (if applicable):
Happy to post any relevant configs. -
If logs were generated please post these here using code fences:
Output of sudo DEBUG=* node app.js:
winston:create-logger: Define prototype method for "error"
winston:create-logger: Define prototype method for "warn"
winston:create-logger: Define prototype method for "info"
winston:create-logger: Define prototype method for "http"
winston:create-logger: Define prototype method for "verbose"
winston:create-logger: Define prototype method for "debug"
winston:create-logger: Define prototype method for "silly"
winston:create-logger: Define prototype method for "error"
winston:create-logger: Define prototype method for "warn"
winston:create-logger: Define prototype method for "info"
winston:create-logger: Define prototype method for "verbose"
winston:create-logger: Define prototype method for "debug"
winston:create-logger: Define prototype method for "silly"
winston:create-logger: Define prototype method for "audit"
oauth2orize register request parser code request +0ms
oauth2orize register response handler code response +1ms
oauth2orize register error handler code errorHandler +0ms
oauth2orize register exchanger authorization_code authorization_code +0ms
{}
(node:28180) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Netstat -tulpn never reveals a listener on port 3000, as the application never gets that far, so this is not an issue of network access.
A clue is the braces; related searches show this may have something to do with APN setup? The initial error looks more like:
{“errno”:-2,“syscall”:“open”,“code”:“ENOENT”,“path”:“certs/aps/AuthKey.p8”}
but per other articles I’ve seen (Setup your own openhab-cloud (myopenhab) server/instance - #229 by e36Alex) there doesn’t seem to be a known fix, and I’ve tried both removing the configuration object from config.json and putting a dummy certs/aps/AuthKey.p8 in place, both of which result in the empty brace in the logs.
Has anyone made progress on this since the post I linked, by any chance?
Is anyone maintaining this repo anymore? No release in over a year. Would it be a problem if a few of us stop by and try to freshen it up a bit?
Thanks in advance!