You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a problem where this extension fails to perform name resolution when initializing, retries a few times (which also fail), and then gives up, moving to an unusable state. I'm running Raspberry Pi OS with wifi as my sole network interface. The mopidy service is configured to come up after network-online.target, so I'm not entirely sure why name resolution is failing. I suspect even though the interface is available, it hasn't finished configuring via DHCP.
All request types fail so I've only shown a couple in the following backtrace from the mopidy service log. If you need more, I can pull it together but I need to strip the token value out of them:
ERROR [Thread-4] mopidy_ytmusic YTMusic failed to load auto playlists
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0xb20d4688>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
My solution for the time being is to manually restart the service. Everything works fine after that. Please let me know if you need any more info. My naive thought is that a back-off algorithm would help by progressively increasing the time between each retry attempt. Alternatively, a configuration for max number of retries ought to allow me to bump the threshold high enough that the requests eventually succeed.
The text was updated successfully, but these errors were encountered:
I'm running into a problem where this extension fails to perform name resolution when initializing, retries a few times (which also fail), and then gives up, moving to an unusable state. I'm running Raspberry Pi OS with wifi as my sole network interface. The mopidy service is configured to come up after network-online.target, so I'm not entirely sure why name resolution is failing. I suspect even though the interface is available, it hasn't finished configuring via DHCP.
All request types fail so I've only shown a couple in the following backtrace from the mopidy service log. If you need more, I can pull it together but I need to strip the
token
value out of them:My solution for the time being is to manually restart the service. Everything works fine after that. Please let me know if you need any more info. My naive thought is that a back-off algorithm would help by progressively increasing the time between each retry attempt. Alternatively, a configuration for max number of retries ought to allow me to bump the threshold high enough that the requests eventually succeed.
The text was updated successfully, but these errors were encountered: