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

Getting error with new version #10

Closed
skank01 opened this issue Jan 23, 2021 · 8 comments
Closed

Getting error with new version #10

skank01 opened this issue Jan 23, 2021 · 8 comments

Comments

@skank01
Copy link

skank01 commented Jan 23, 2021

[url=https://ibb.co/k9RqW3r][img]https://i.ibb.co/tx7YWZN/Knipsel.jpg[/img][/url]

@MaxWinterstein
Copy link
Owner

Can you post the log files of the add on? “log” tab?

@skank01
Copy link
Author

skank01 commented Jan 23, 2021

Snippet:
1611405349: New connection from x.x.x.x on port 1883.
1611405349: New client connected from x.x.x.X as mqttjs_6434f9f9 (p2, c1, k60, u'chris').
1611405350: Socket error on client mqttjs_6434f9f9, disconnecting.
1611405380: New connection from x.x.x.x on port 1883.
1611405380: New client connected from x.x.x.x as mqttjs_a29d4a60 (p2, c1, k60, u'chris').
1611405381: Socket error on client mqttjs_a29d4a60, disconnecting.

and so on and so on

@MaxWinterstein
Copy link
Owner

This looks like the log of the mqtt broker? I mean the log output of the addon itself.

@skank01
Copy link
Author

skank01 commented Jan 23, 2021

ur right sorry
here:
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[19:22:39] INFO: Exporting log level for nodejs: info
[19:22:39] INFO: Symlinking data dir
[19:22:39] INFO: Generating config.yml from options.json
[19:22:39] INFO: Image build with version 0.2.4
[19:22:39] INFO: starting original stuff...

eufy-ha-mqtt-bridge@1.0.0 start /app
NODE_ENV=production node --unhandled-rejections=strict index.js
info: Migrating the database... {"timestamp":"2021-01-23T18:22:41.033Z"}
(node:356) UnhandledPromiseRejectionWarning: Error: Request failed: https://mysecurity.eufylife.com/api/v1/passport/login -> 100028 - Failed to request.
at /app/node_modules/eufy-node-client/build/http/http.utils.js:24:15
at Generator.next ()
at fulfilled (/app/node_modules/eufy-node-client/build/http/http.utils.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! eufy-ha-mqtt-bridge@1.0.0 start: NODE_ENV=production node --unhandled-rejections=strict index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the eufy-ha-mqtt-bridge@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-01-23T18_22_41_852Z-debug.log
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...


            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when
starting or running this add-on.

Be sure to check the log above, line by line, for hints.

@MaxWinterstein
Copy link
Owner

This seems more and more confusing to me. There is also some discusson about that on the home assistant community and here: matijse/eufy-ha-mqtt-bridge#35

will have some tests and see if i can find something...

@MaxWinterstein
Copy link
Owner

is this still a thing?

@skank01
Copy link
Author

skank01 commented Feb 13, 2021

no, you can close it

@skank01
Copy link
Author

skank01 commented Feb 13, 2021

closed

@skank01 skank01 closed this as completed Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants