Pi 4 / 9.2.1-Wifi hangs every night

  • I'm having this issue every night. All works well and fine but every morning i find The Wifi link in "failed" state. If i try to connect returns a "Network Error Input/Output Error". The only solution is as someone said "turn it off and on again...".


    I have found this message in the log, everyday it happens at the same hour ..


    2020-05-29 05:54:32.691 T:2753835888 ERROR: ## LibreELEC Addon ## oe::load_url(updates.php?i=074d21962f3684e3200e97cb5caf6b34&d=LibreELEC&pa=RPi4.arm&v=9.2.1&f=00c03111) ## ERROR: (URLError(gaierror(-3, 'Temporary failure in name resolution'),))

    2020-05-29 05:54:32.693 T:2753835888 ERROR: Traceback (most recent call last):

    File "/var/lib/jenkins/LE/build5/workspace/RPi4/build.LibreELEC-RPi4.arm-9.2.1/LibreELEC-settings-6f6ca1e46c230d1e5045e6bb92a03889e1f1c71a/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/oe.py", line 361, in load_url

    File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen

    File "/usr/lib/python2.7/urllib2.py", line 429, in open

    File "/usr/lib/python2.7/urllib2.py", line 447, in _open

    File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain

    File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open

    File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open

    URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

    2020-05-29 05:54:32.699 T:2753835888 ERROR: ## LibreELEC Addon ## updates::check_updates_v2 ## ERROR: (TypeError('expected string or buffer',))

    2020-05-29 05:54:32.702 T:2753835888 ERROR: Traceback (most recent call last):

    File "/var/lib/jenkins/LE/build5/workspace/RPi4/build.LibreELEC-RPi4.arm-9.2.1/LibreELEC-settings-6f6ca1e46c230d1e5045e6bb92a03889e1f1c71a/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/updates.py", line 564, in check_updates_v2

    File "/usr/lib/python2.7/json/__init__.py", line 339, in loads

    File "/usr/lib/python2.7/json/decoder.py", line 364, in decode

    TypeError: expected string or buffer

    2020-05-29 11:54:32.733 T:2753835888 ERROR: ## LibreELEC Addon ## oe::load_url(https://update.libreelec.tv/up…i4.arm&v=9.2.1&f=00c03111) ## ERROR: (URLError(gaierror(-3, 'Temporary failure in name resolution'),))

    2020-05-29 11:54:32.734 T:2753835888 ERROR: Traceback (most recent call last):

    File "/var/lib/jenkins/LE/build5/workspace/RPi4/build.LibreELEC-RPi4.arm-9.2.1/LibreELEC-settings-6f6ca1e46c230d1e5045e6bb92a03889e1f1c71a/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/oe.py", line 361, in load_url

    File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen

    File "/usr/lib/python2.7/urllib2.py", line 429, in open

    File "/usr/lib/python2.7/urllib2.py", line 447, in _open

    File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain

    File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open

    File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open

    URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

    2020-05-29 11:54:32.737 T:2753835888 ERROR: ## LibreELEC Addon ## updates::check_updates_v2 ## ERROR: (TypeError('expected string or buffer',))

    2020-05-29 11:54:32.739 T:2753835888 ERROR: Traceback (most recent call last):

    File "/var/lib/jenkins/LE/build5/workspace/RPi4/build.LibreELEC-RPi4.arm-9.2.1/LibreELEC-settings-6f6ca1e46c230d1e5045e6bb92a03889e1f1c71a/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/updates.py", line 564, in check_updates_v2

    File "/usr/lib/python2.7/json/__init__.py", line 339, in loads

    File "/usr/lib/python2.7/json/decoder.py", line 364, in decode

    TypeError: expected string or buffer


    Any ideas???


    Thanks a lot!!!!

  • No ideas why it fails, but we have cron in the OS so the ugly workaround is to schedule a reboot at 2am every night.

  • [Update]

    I'm trying to access via SSH. I'm using standard settings. I connect, login, password and nothing happens, no access.


    I can acces directories with SAMBA. I have configured root directory but can create /etc/cron.d directory.