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

Tibber Pulse: crash when no data incoming from tibber #17094

Closed
1 task done
falkkrueger opened this issue Nov 5, 2024 · 6 comments · Fixed by #17619
Closed
1 task done

Tibber Pulse: crash when no data incoming from tibber #17094

falkkrueger opened this issue Nov 5, 2024 · 6 comments · Fixed by #17619
Labels
bug Something isn't working

Comments

@falkkrueger
Copy link

Describe the bug

evcc crashed when Tibber Pulse, the device Collection data from Home Grid and Sendung to tibber, loses Connection to tibber. Experienced by myself and here: #10206

Steps to reproduce

...

Configuration details

to be delivered when needed

Log details

Problem: main  ] FATAL 2024/11/04 13:17:15 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:18:11 evcc 0.131.4
[main  ] INFO 2024/11/04 13:18:11 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:18:11 connecting evcc-947393854 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:18:11 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:18:11 listening at :7070
[main  ] FATAL 2024/11/04 13:18:22 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: Post "https://api.tibber.com/v1-beta/gql": context deadline exceeded, Locations: [], Extensions: map[code:request_error], Path: []
[main  ] FATAL 2024/11/04 13:18:22 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:21:13 evcc 0.131.4
[main  ] INFO 2024/11/04 13:21:13 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:21:13 connecting evcc-985939043 at tcp://localhost:1883
[main  ] INFO 2024/11/04 13:21:13 listening at :7070
[mqtt  ] DEBUG 2024/11/04 13:21:13 tcp://localhost:1883 connected
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:24:15 evcc 0.131.4
[main  ] INFO 2024/11/04 13:24:15 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:24:15 connecting evcc-397906012 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:24:15 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:24:15 listening at :7070
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:27:17 evcc 0.131.4
[main  ] INFO 2024/11/04 13:27:17 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:27:18 connecting evcc-1991284905 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:27:18 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:27:18 listening at :7070
[main  ] FATAL 2024/11/04 13:27:30 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: Post "https://api.tibber.com/v1-beta/gql": context deadline exceeded, Locations: [], Extensions: map[code:request_error], Path: []
[main  ] FATAL 2024/11/04 13:27:30 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:30:20 evcc 0.131.4
[main  ] INFO 2024/11/04 13:30:20 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:30:20 connecting evcc-1417228583 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:30:20 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:30:20 listening at :7070
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:33:22 evcc 0.131.4
[main  ] INFO 2024/11/04 13:33:22 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:33:22 connecting evcc-2028869654 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:33:22 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:33:22 listening at :7070
[pulse ] ERROR 2024/11/04 13:36:23 unexpected end of JSON input
[main  ] FATAL 2024/11/04 13:36:23 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: unable to start stream api:98eb1cb388434ad68591fbdb3347fb71 for device 98eb1cb3-8843-4ad6-8591-fbdb3347fb71; userId 70b31f29-e689-402f-bc4b-3b797f3b0800, Locations: [{Line:1 Column:28}], Extensions: map[], Path: [liveMeasurement]
[main  ] FATAL 2024/11/04 13:36:23 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:36:24 evcc 0.131.4
[main  ] INFO 2024/11/04 13:36:24 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:36:24 connecting evcc-348777437 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:36:24 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:36:24 listening at :7070
[pulse ] ERROR 2024/11/04 13:36:25 unexpected end of JSON input
[main  ] FATAL 2024/11/04 13:36:25 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: unable to start stream api:98eb1cb388434ad68591fbdb3347fb71 for device 98eb1cb3-8843-4ad6-8591-fbdb3347fb71; userId 70b31f29-e689-402f-bc4b-3b797f3b0800, Locations: [{Line:1 Column:28}], Extensions: map[], Path: [liveMeasurement]
[main  ] FATAL 2024/11/04 13:36:25 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:39:26 evcc 0.131.4
[main  ] INFO 2024/11/04 13:39:26 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:39:26 connecting evcc-929739354 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:39:26 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:39:26 listening at :7070
[pulse ] ERROR 2024/11/04 13:39:27 unexpected end of JSON input
[main  ] FATAL 2024/11/04 13:39:27 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: unable to start stream api:98eb1cb388434ad68591fbdb3347fb71 for device 98eb1cb3-8843-4ad6-8591-fbdb3347fb71; userId 70b31f29-e689-402f-bc4b-3b797f3b0800, Locations: [{Line:1 Column:28}], Extensions: map[], Path: [liveMeasurement]
[main  ] FATAL 2024/11/04 13:39:27 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:42:28 evcc 0.131.4
[main  ] INFO 2024/11/04 13:42:28 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:42:28 connecting evcc-1838176471 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:42:28 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:42:28 listening at :7070
[pulse ] ERROR 2024/11/04 13:42:30 unexpected end of JSON input
[main  ] FATAL 2024/11/04 13:42:30 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: unable to start stream api:98eb1cb388434ad68591fbdb3347fb71 for device 98eb1cb3-8843-4ad6-8591-fbdb3347fb71; userId 70b31f29-e689-402f-bc4b-3b797f3b0800, Locations: [{Line:1 Column:28}], Extensions: map[], Path: [liveMeasurement]
[main  ] FATAL 2024/11/04 13:42:30 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:45:30 evcc 0.131.4
[main  ] INFO 2024/11/04 13:45:30 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:45:31 connecting evcc-290531763 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:45:31 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:45:31 listening at :7070
[pulse ] ERROR 2024/11/04 13:45:31 unexpected end of JSON input
[main  ] FATAL 2024/11/04 13:45:31 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: unable to start stream api:98eb1cb388434ad68591fbdb3347fb71 for device 98eb1cb3-8843-4ad6-8591-fbdb3347fb71; userId 70b31f29-e689-402f-bc4b-3b797f3b0800, Locations: [{Line:1 Column:28}], Extensions: map[], Path: [liveMeasurement]
[main  ] FATAL 2024/11/04 13:45:31 will attempt restart in: 15m0s
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2024/11/04 13:48:33 evcc 0.131.4
[main  ] INFO 2024/11/04 13:48:33 using config file: /config/evcc.yaml
[mqtt  ] INFO 2024/11/04 13:48:33 connecting evcc-897561613 at tcp://localhost:1883
[mqtt  ] DEBUG 2024/11/04 13:48:33 tcp://localhost:1883 connected
[main  ] INFO 2024/11/04 13:48:33 listening at :7070
[pulse ] ERROR 2024/11/04 13:48:33 unexpected end of JSON input
[main  ] FATAL 2024/11/04 13:48:33 cannot create meter 'tibber': cannot create meter type 'template': cannot create meter type 'tibber-pulse': Message: unable to start stream api:98eb1cb388434ad68591fbdb3347fb71 for device 98eb1cb3-8843-4ad6-8591-fbdb3347fb71; userId 70b31f29-e689-402f-bc4b-3b797f3b0800, Locations: [{Line:1 Column:28}], Extensions: map[], Path: [liveMeasurement]
[main  ] FATAL 2024/11/04 13:48:33 will attempt restart in: 15m0s

What type of operating system are you running?

Linux

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

No response

@falkkrueger
Copy link
Author

falkkrueger commented Nov 5, 2024 via email

@StefanSchoof
Copy link
Contributor

Da habe ich kurz nach dem Absenden gemerkt, dass das um den Tibber Pulse und freezes und nicht um Tibber Server Probleme geht. Habe das daher wieder gelöscht gehabt.

@naltatis naltatis changed the title evcc crashed when no data incoming from tibber Tibber Pulse: crash when no data incoming from tibber Nov 5, 2024
@StefanSchoof
Copy link
Contributor

Die aktuelle Meter Anbindung geht über die Cloud und ohne ein Grid Meter funktioniert evcc nicht.

Solange nicht ein lokales Tibber Meter (siehe #16514) gibt, gibt es wenig was evcc machen kann.

@andig andig closed this as completed Nov 5, 2024
@andig andig added the question Rather clarification than issue label Nov 5, 2024
@andig
Copy link
Member

andig commented Nov 5, 2024

Danke @StefanSchoof für die Erklärung- so ist es (derzeit…)

@falkkrueger
Copy link
Author

falkkrueger commented Nov 6, 2024 via email

@andig
Copy link
Member

andig commented Nov 6, 2024

Wie gesagt. Es stürzt nicht ab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants