question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect to Home Assistant

See original GitHub issue

Home Assistant Android version: 2002.2 Android version: 9 and 11 Phone model: OnePlus, Pixel-3, Teclast Tablet and others Home Assistant version: 2021.12.8 Last working Home Assistant release (if known): Don’t know. Auto-update updated it sometime in the last couple of days, I assume. Description of problem: I am experiencing the following (which just started two days ago and has persisted):

  • When launched, within a few seconds, the following message pops up:
Unable to connect to Home Assistant
Wait, Refresh External URL, Settings
  • The page continues to load without apparent problems.
  • If I click WAIT, or anywhere on the page, the message goes away but reappears several seconds later.
  • All pages continue to work as expected, but no matter what lovelace page is showing, the message reappears. I have checked my SSL certs and restarted the server to no avail. Although I see other issues regarding connections, I did not see any with similar symptoms to this issue.
  • I have force stopped the app and cleared the cache.

The identical problem is occurring on 8 different android devices.

Access to HA from Chrome directly has no problems.

I am running WebView 98.0.4758.101

Thanks for any advice/help…

P.S. I was running the latest Beta version, but downgraded to non-beta in the hope it would fix the problem.

Screenshot of problem:

Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:26 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
tuneroostercommented, Mar 13, 2022

I should mention…

I connect to the mqtt server over web sockets “wws:” and the the mosquitto server was failing to connect when attempting to open a web socket.

1reaction
dshokouhicommented, Mar 9, 2022

How can I determine why it disconnected? Should I start a new issue? The warning shows every time I play a video from a Frigate notification.

This would be a HA frontend issue/question as the connection status is reported via the external bus to the app

https://developers.home-assistant.io/docs/frontend/external-bus/#connection-status-update-connection-status

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot connect to Home Assistant - Configuration
I just get loading data then “Unable to connect to Home Assistant” via the browser. I can see the home assistant server in...
Read more >
Connecting to HA externally - Home Assistant Community
Connecting to HA externally - Unable to connect to Home Assistant · 1- set up a duckdns (or any other dns providers to...
Read more >
Getting "Unable to connect to Home Assistant." when using https
Hi, everyone. I am new to home assistant. When accessing home assistant using http://:8123 it works without any problem.
Read more >
Intermittent "Unable to connect to Home Assistant" on mobile ...
I randomly get the message that I am “Unable to connect to Home Assistant” on mobile app. It appears mostly when connecting to...
Read more >
Unable to connect to Home Assistant. RETRY
This should fix the computer/chrome issue. ... Go to wifi>select (i) next to the wifi network>select configure DNS - manual>Add server - here ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found