my.home-assistant.io icon indicating copy to clipboard operation
my.home-assistant.io copied to clipboard

Link to system information does not work

Open tjorim opened this issue 1 year ago • 4 comments

The link to 'System info' does not work but leaves the user at the Repairs screen, still needing to make some extra clicks. https://my.home-assistant.io/redirect/system_health/

tjorim avatar May 19 '24 08:05 tjorim

I cannot reproduce this, for me it directly opens the system health dialog on that repairs screen.

frenck avatar Jul 24 '24 18:07 frenck

Definitely not on phone, let me try the browser later again.

tjorim avatar Jul 24 '24 20:07 tjorim

https://github.com/user-attachments/assets/33677f5a-9519-4423-b467-ff767664ca2f

tjorim avatar Mar 04 '25 18:03 tjorim

Looks like the frontend doesn't like the app adding external authentication to the URL here, breaking the redirect and not showing the dialog.

Opening this page gives the following paths internally:

  1. https://my.home-assistant.io/redirect/system_health/?mobile=1 is loaded in the app
  2. homeassistant://navigate/_my_redirect/system_health when tapping 'Open link'
  3. (https://home.example.com/_my_redirect/system_health the app is instructed to open this page, skipped)
  4. https://home.example.com/_my_redirect/system_health?external_auth=1 the app will load this
  5. https://home.example.com/config/repairs?dialog=system-health? the frontend redirects to this page

This seems quite easy to replicate in the browser. Any query parameter breaks it, e.g. https://home.example.com/_my_redirect/system_health?something=ok.

jpelgrom avatar Mar 05 '25 20:03 jpelgrom