hassio-addons: šŸ› [Spotweb] CSS (and maybe more) breaks via Nabu Casa

Which addon?

  • Addon name : Spotweb
  • Addon version : 1.5.1-18

Describe the bug When Iā€™m connected to HA using my Nabu Casa URL the first page of Spotweb loads fine but selecting a filter breaks the layout, the CSS is not found (404).

Seeing some errors in DevTools, it looks like the URI gets a double entry (twice api/hassio_ingress/[redacted]).

GET https://[redacted].ui.nabu.casa/api/hassio_ingress/[redacted]/api/hassio_ingress/[redacted]/?page=statics&type=css&mod=1658843593 net::ERR_ABORTED 404 (Not Found) [redacted].ui.nabu.casa/:268

GET https://[redacted].ui.nabu.casa/api/hassio_ingress/[redacted]/api/hassio_ingress/[redacted]/?page=statics&type=js&lang=nl_NL&mod=1658843593 net::ERR_ABORTED 404 (Not Found) ?page=index&search[tree]=cat0_z2_c11&search[value][]=NULL:271

Uncaught ReferenceError: initSpotwebJs is not defined at ?page=index&search[tree]=cat0_z2_c11&search[value][]=NULL:271:13

To Reproduce

Full addon log 2022/07/29 16:11:48 [error] 268#268: *1109 "/app/api/hassio_ingress/[redacted]/index.php" is not found (2: No such file or directory), client: 127.0.0.1, server: _, request: "GET /api/hassio_ingress/[redacted]/?page=statics&type=css&mod=1658843593 HTTP/1.1", host: "[redacted].ui.nabu.casa", referrer: "https://[redacted].ui.nabu.casa/api/hassio_ingress/[redacted]/?page=index&search[tree]=cat0_z2_c11&search[value][]=NULL" 2022/07/29 16:11:48 [error] 268#268: *1111 "/app/api/hassio_ingress/[redacted]/index.php" is not found (2: No such file or directory), client: 127.0.0.1, server: _, request: "GET /api/hassio_ingress/[redacted]/?page=statics&type=js&lang=nl_NL&mod=1658843593 HTTP/1.1", host: "[redacted].ui.nabu.casa", referrer: "https://[redacted].ui.nabu.casa/api/hassio_ingress/[redacted]/?page=index&search[tree]=cat0_z2_c11&search[value][]=NULL"

Full addon config

System

  • Supervisor version: 2022.07.0
  • Host system version: Home Assistant 2022.7.7

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Commits related to this issue

Most upvoted comments

This looks promising! Will do some further testing later.

Take your time, enjoy your holidays and the coffee!

Iā€™m a new user so for me it was always existing, but I only used this version.