Open MarcoFaul opened 4 years ago
I get the same error, did you find any solution?
This is because the function is async
and returns a promise. For more information see my comment in issue https://github.com/boyney123/garie-lighthouse/issues/24#issuecomment-578078026.
Relevant code or config
What you did:
What happened:
`root@Grafana-1:~/grafana/docker# docker logs docker_garie-lighthouse_1
Application listening on port 3000 (node:27) UnhandledPromiseRejectionWarning: Failed to initialise influx (node:27) 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(). (rejection id: 2) (node:27) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Application listening on port 3000 (node:17) UnhandledPromiseRejectionWarning: Failed to initialise influx (node:17) 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(). (rejection id: 2) (node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. root@Grafana-1:~/grafana/docker#`
Reproduction repository:
Problem description: I saw that the Grafana dashboard has no data since 30days… The Connection from Grafana to the influx db is successful. Would be awesome if someone can give me a hint