iobroker-community-adapters / ioBroker.habpanel

AngularJS-based dashboard-like interface for ioBroker (based on openHAB panel)
Eclipse Public License 2.0
22 stars 15 forks source link

Widget Gallery: Some widgets gets Invalid URL error and HABPanel crashes #133

Closed x2on closed 1 year ago

x2on commented 2 years ago

On some of the widgets in the Widget Gallery i get a "Invalid URL" error. If i click for example "Clickable Camera Widget" the loading indicator pops up. After some seconds the HabPanel gets an "Connection lost error" and the HABPanel crashes.

In the logs the following errors happens:

host.iobroker
2022-07-11 08:51:46.472 error   instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.iobroker
2022-07-11 08:51:46.472 error   Caught by controller[0]: at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17)
host.iobroker
2022-07-11 08:51:46.472 error   Caught by controller[0]: at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17)
host.iobroker
2022-07-11 08:51:46.472 error   Caught by controller[0]: at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17)
host.iobroker
2022-07-11 08:51:46.471 error   Caught by controller[0]: at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17)
host.iobroker
2022-07-11 08:51:46.471 error   Caught by controller[0]: at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:86:23)
host.iobroker
2022-07-11 08:51:46.471 error   Caught by controller[0]: at Object.wrappedMethod [as get] (/opt/iobroker/node_modules/@sentry/src/integrations/http.ts:100:27)
host.iobroker
2022-07-11 08:51:46.471 error   Caught by controller[0]: at Object.normalizeRequestArgs (/opt/iobroker/node_modules/@sentry/src/integrations/utils/http.ts:139:35)
host.iobroker
2022-07-11 08:51:46.471 error   Caught by controller[0]: at new URL (node:internal/url:629:5)
host.iobroker
2022-07-11 08:51:46.471 error   Caught by controller[0]: at URL.onParseError (node:internal/url:553:9)
host.iobroker
2022-07-11 08:51:46.471 error   Caught by controller[0]: at new NodeError (node:internal/errors:372:5)
host.iobroker
2022-07-11 08:51:46.470 error   Caught by controller[0]: TypeError: Invalid URL

web.0
2022-07-11 08:51:46.376 error   Exception-Code: ERR_INVALID_URL: Invalid URL

web.0
2022-07-11 08:51:46.376 error   TypeError: Invalid URL at new NodeError (node:internal/errors:372:5) at URL.onParseError (node:internal/url:553:9) at new URL (node:internal/url:629:5) at Object.normalizeRequestArgs (/opt/iobroker/node_modules/@sentry/src/integrations/utils/http.ts:139:35) at Object.wrappedMethod [as get] (/opt/iobroker/node_modules/@sentry/src/integrations/http.ts:100:27) at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:86:23) at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17) at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17) at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17) at loadWidgetDataDL (/opt/iobroker/node_modules/iobroker.habpanel/lib/habpanelapi.js:102:17)

web.0
2022-07-11 08:51:46.375 error   uncaught exception: Invalid URL

Any idea what happens and how to solve the issue?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

x2on commented 1 year ago

Issue still exists.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] commented 1 year ago

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.