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.

Device timesout after a getting data for a short time

See original GitHub issue

Describe the bug

Hey guys.

I have for the last week or so been having a weird problem with my Google Nest Mini. Our integration works great, but after a couple of minutes i get this debug message (See logs below) which i expect.

I can still talk to the device, but in the Google Home app i cannot access my device settings for my device. My first thought was that something had gone wrong with the device. I tried reseting it multiple times. When i disable or stop our integration it seems to work again, but as soon as i activated our integration again, it stops working and is timing out again. 😞 A power cycle also makes it work for a couple of minutes, and then it stops again.

What do you guys think is happening?

I thought maybe we are hammering it to hard, but then again the would be weird if i am the only one having this problem.

Version of the integration

If you are unsure about the version check the github release here.

1.4.2

Logs

2021-04-13 19:54:40 DEBUG (MainThread) [custom_components.google_home] Fetching data from Google Home device Køkken - https://192.168.0.205:8443/setup/assistant/alarms
2021-04-13 19:54:42 DEBUG (MainThread) [custom_components.google_home] Køkken device timed out while trying to get alarms and timers.
2021-04-13 19:54:42 DEBUG (MainThread) [custom_components.google_home] Getting Do Not Disturb setting from Google Home device Køkken
2021-04-13 19:54:42 DEBUG (MainThread) [custom_components.google_home] Requesting endpoint setup/assistant/notifications for Google Home device Køkken - https://192.168.0.205:8443/setup/assistant/notifications
2021-04-13 19:54:44 DEBUG (MainThread) [custom_components.google_home] Køkken device timed out while trying to post data to it - Raw data: None
2021-04-13 19:54:44 DEBUG (MainThread) [custom_components.google_home] Finished fetching sensor data in 4.009 seconds

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:85 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
KapJIcommented, Apr 13, 2021

Well, script 😅

for i in {1..100}; do echo "Request $i"; curl -H "cast-local-authorization-token: <token>" --insecure https://192.168.1.2:8443/setup/assistant/alarms; done
3reactions
KapJIcommented, Jun 28, 2021

I think making update interval configuration via config flow is reasonable, so people experiencing this issue can adjust it to their needs.

I personally have this issue very rarely, e.g. once in few weeks which I think correlated to HA updates in my case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Device Timed Out" error in Sidecar - Apple Community
Mac: Choose Apple Menu > System Preferences > General, then turn off “Allow Handoff between this Mac and your iCloud devices.” (From: Support....
Read more >
IVMS 4500 Device timed out - "Receiving data from ... - Use-IP
Hi all, Need some help, IVMS 4500 Iphone app has suddenly stopped working on my phone , when i am using data i...
Read more >
Error while waiting for device: Timed out after 300seconds ...
When i encountered a similar situation, i wiped out the data and then it worked normally. If you are running the emulator for...
Read more >
[SOLVED] How to Fix the ERR_CONNECTION_TIMED_OUT ...
An 'err connection timed out' error is something that can be easily fixed by updating your system's network adapter driver. We recommend using ......
Read more >
The Connection Has Timed Out How To Fix It Tutorial - YouTube
A server connection timeout error does little to tell you what ... the device that made the initial request for data from another...
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