Open otherguy opened 1 year ago
I have this issue too from time to time. Don't know how to reproduce exactly. Sometimes after sleep it is just not working and I've to restart the remote.
We'll release an update this week which improves the dock reconnection in certain environments. The Philips Hue integration also gets a bigger update, which won't loose the configured entities anymore.
This is happening for me as well, I'm on the latest version of the remote and dock software.
I running in to this issue multiple times a day. It's quite annoying. Any workaround known so far? Currently I have to use multiple remotes.
Same for me NVIDIA Shield internal server error after waking from sleep, restarting the remote makes it work again most of the time. UCR2_logs_2023-10-08.txt
Same for me NVIDIA Shield internal server error after waking from sleep, restarting the remote makes it work again most of the time. UCR2_logs_2023-10-08.txt
According to the provided core service logs, it seems as the Android TV integration is no longer responding because of this error entry Error connecting to driver ws://127.0.0.1:8096: ServiceUnavailable("Failed to connect to host: Connection refused (os error 111)")
. This is one of those should not happen bugs :-)
@Thebuz Can you provide the "Android TV integration" logs? I fear that the integration crashed but hope it's an easy fix.
As a tempoary workaround for the dock connection issue after remote wakeup:
Please try to configure the dock with the assigned IP address (plain IP address is sufficient, full WebSocket URL is not required). Example:
This will disable the mDNS resolver and only use the configured IP address to reconnect to the dock.
A manually set dock IP address is a workaround, if your log shows the following error multiple times after a wakeup and the dock can't be connected within a few seconds:
Error connecting to dock ws://uc-dock-xxxxxxxxxxxx.local:946/: ServiceUnavailable("Failed to connect to host:
Failed resolving hostname: failed to lookup address information: Temporary failure in name resolution")
Attention: using an IP address for the dock with DHCP won't work anymore if your DHCP server / router decides to assign another IP address, or if you change the dock connection from WiFi to LAN (or vice versa).
How to find out the dock IP address:
UC-Dock
_uc-dock._tcp
.
dns-sd -Z _uc-dock._tcp
avahi-browse -d local _uc-dock._tcp --resolve -t
Please report back, if this improved or even solved the dock connection issues. We continue working on the "name resolution failures" issues, which happen in certain network environments.
Same for me NVIDIA Shield internal server error after waking from sleep, restarting the remote makes it work again most of the time. UCR2_logs_2023-10-08.txt
According to the provided core service logs, it seems as the Android TV integration is no longer responding because of this error entry
Error connecting to driver ws://127.0.0.1:8096: ServiceUnavailable("Failed to connect to host: Connection refused (os error 111)")
. This is one of those should not happen bugs :-) @Thebuz Can you provide the "Android TV integration" logs? I fear that the integration crashed but hope it's an easy fix.
So, The Log file is empty when choosing just Android TV integration :/
As a tempoary workaround for the dock connection issue after remote wakeup:
Please try to configure the dock with the assigned IP address (plain IP address is sufficient, full WebSocket URL is not required). Example:
This will disable the mDNS resolver and only use the configured IP address to reconnect to the dock.
A manually set dock IP address is a workaround, if your log shows the following error multiple times after a wakeup and the dock can't be connected within a few seconds:
Error connecting to dock ws://uc-dock-xxxxxxxxxxxx.local:946/: ServiceUnavailable("Failed to connect to host: Failed resolving hostname: failed to lookup address information: Temporary failure in name resolution")
Attention: using an IP address for the dock with DHCP won't work anymore if your DHCP server / router decides to assign another IP address, or if you change the dock connection from WiFi to LAN (or vice versa).
How to find out the dock IP address:
- check your router / DHCP server, which IP address was assigned to the dock. Host name starts with:
UC-Dock
The dock is advertised with mDNS service name
_uc-dock._tcp
.
On macOS:
command line:
dns-sd -Z _uc-dock._tcp
Linux:
command line:
avahi-browse -d local _uc-dock._tcp --resolve -t
Please report back, if this improved or even solved the dock connection issues. We continue working on the "name resolution failures" issues, which happen in certain network environments.
Did this since the remote was configured when it arrived. IP is manual DHCP configured, so the dock and the remote does get the same ip address all the time. The issue still occours for me. I guess it is an issue because the wifi is disconnected when the remote is in sleep mode. After picking up it isn't fast enought to re-establish the connection until I press the first button. But it is annoying, as it should just work.
Edit: may you should allow to set manual IP on remote & dock itself. So DHCP delay can be ruled out.
Same for me NVIDIA Shield internal server error after waking from sleep, restarting the remote makes it work again most of the time. UCR2_logs_2023-10-08.txt
According to the provided core service logs, it seems as the Android TV integration is no longer responding because of this error entry
Error connecting to driver ws://127.0.0.1:8096: ServiceUnavailable("Failed to connect to host: Connection refused (os error 111)")
. This is one of those should not happen bugs :-) @Thebuz Can you provide the "Android TV integration" logs? I fear that the integration crashed but hope it's an easy fix.So, The Log file is empty when choosing just Android TV integration :/
Try choosing DEBUG
as log level and export it again.
Same for me NVIDIA Shield internal server error after waking from sleep, restarting the remote makes it work again most of the time. UCR2_logs_2023-10-08.txt
According to the provided core service logs, it seems as the Android TV integration is no longer responding because of this error entry
Error connecting to driver ws://127.0.0.1:8096: ServiceUnavailable("Failed to connect to host: Connection refused (os error 111)")
. This is one of those should not happen bugs :-) @Thebuz Can you provide the "Android TV integration" logs? I fear that the integration crashed but hope it's an easy fix.So, The Log file is empty when choosing just Android TV integration :/ UCR2_logs_2023-10-09.txt
Try choosing
DEBUG
as log level and export it again.
That worked 👍
UCR2_logs_2023-10-09 atv debug.txt
Using IP seems to have improved things for me, I'm now able to pick up the sleeping remote and use the buttons immediately.
Edit: may you should allow to set manual IP on remote & dock itself. So DHCP delay can be ruled out.
That's in the backlog, but no ETA yet.
I'm facing the same issue. It doesn't matter, in my case, if I use WLAN or LAN connection.
At the moment, the remote is completely unusable. It is not possible to navigate smart TV menus, increase/decrease the volume or perform other simple tasks.
As a tempoary workaround for the dock connection issue after remote wakeup: Please try to configure the dock with the assigned IP address (plain IP address is sufficient, full WebSocket URL is not required). Example:
This will disable the mDNS resolver and only use the configured IP address to reconnect to the dock. A manually set dock IP address is a workaround, if your log shows the following error multiple times after a wakeup and the dock can't be connected within a few seconds:
Error connecting to dock ws://uc-dock-xxxxxxxxxxxx.local:946/: ServiceUnavailable("Failed to connect to host: Failed resolving hostname: failed to lookup address information: Temporary failure in name resolution")
Attention: using an IP address for the dock with DHCP won't work anymore if your DHCP server / router decides to assign another IP address, or if you change the dock connection from WiFi to LAN (or vice versa). How to find out the dock IP address:
- check your router / DHCP server, which IP address was assigned to the dock. Host name starts with:
UC-Dock
The dock is advertised with mDNS service name
_uc-dock._tcp
.
On macOS:
command line:
dns-sd -Z _uc-dock._tcp
Linux:
command line:
avahi-browse -d local _uc-dock._tcp --resolve -t
Please report back, if this improved or even solved the dock connection issues. We continue working on the "name resolution failures" issues, which happen in certain network environments.
Did this since the remote was configured when it arrived. IP is manual DHCP configured, so the dock and the remote does get the same ip address all the time. The issue still occours for me. I guess it is an issue because the wifi is disconnected when the remote is in sleep mode. After picking up it isn't fast enought to re-establish the connection until I press the first button. But it is annoying, as it should just work.
Edit: may you should allow to set manual IP on remote & dock itself. So DHCP delay can be ruled out.
Didn't change anything for me.
Slight update, when I start or stop an activity with AndroidTV actions in it, the Remote still performs those actions, it's only when I press buttons that I get "internal server error"
Ver. 1.4.2
Is there an existing issue for this?
Description
So far I only have 3 types of devices added: Android TV, the same TV with manually recorded IR codes and a couple of Philips Hue lights.
When the remote goes to sleep, and I pick it up again, I sometimes cannot control my devices with the remote. When that happens, I see 3 different issues, depending on the device I‘m trying to control:
Connection to Dock not established
uc_hue_driver session not available
After waiting a couple of minutes (and not letting the remote go to sleep), it reconnects to the dock and starts working again.
How to Reproduce
I cannot reproduce this reliably. Once the issue happened, and the remote reconnects to the dock, the issue doesn‘t happen again for a while.
Nevertheless, here are the steps:
Expected behavior
The remote should be able to control any device immediately after picking it up.
System version
1.1.2
What part of the system affected by the problem?
Integration
Additional context
No response