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

Webpage card internal home assistant media-browser not loading on android app but it loads on any web browser #5058

Open
JulioVillamizar opened this issue Feb 24, 2025 · 6 comments
Labels
bug Something isn't working question Further information is requested webview

Comments

@JulioVillamizar
Copy link

Home Assistant Android app version(s):
2025.2.5-full
Android version(s):
15 AQ3A.240912.001
Device model(s):
Redmi Note 13 Pro 5G
Home Assistant version:
2025.2.5
Last working Home Assistant release (if known):

Description of problem, include YAML if issue is related to notifications:
Webpage card iframe internal home assistant media-browser not loading on android app but it loads on any web browser

It keeps loading with the home assistant logo but never finishes loading

type: iframe url: /media-browser aspect_ratio: "100"

Companion App Logs:


Screenshot or video of problem:

Additional information:

@JulioVillamizar JulioVillamizar added the bug Something isn't working label Feb 24, 2025
@dshokouhi
Copy link
Member

please share the app error log after reproducing the issue

@dshokouhi dshokouhi added question Further information is requested webview labels Feb 24, 2025
@JulioVillamizar
Copy link
Author

I enabled remote debugging of webview in the app but I don't get any error log in my home assistant instance

This is the log I download from the app

homeassistant_companion_log_1-24-2025_17-47-39.txt

@JulioVillamizar
Copy link
Author

I installed a VM in Proxmox with Home Assistant OS and the problem remains the same, if I access it from any web browser it opens perfectly but if I do it from the Android application it does not load, the Home Assistant logo continues loading indefinitely.

@dshokouhi
Copy link
Member

just to confirm using chrome for android on the same device works as expected?

@JulioVillamizar
Copy link
Author

Yes, I also entered through Chrome for Android and it loaded fine.

@jpelgrom
Copy link
Member

jpelgrom commented Feb 25, 2025

I'm guessing this has something to do with authentication? The app works differently than a browser for that and the iframe probably cannot access it. At the same time that also makes it tricky to fix. No obvious errors or blocked requests when using remote debugging. We may need someone from the frontend team here...

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

No branches or pull requests

3 participants