[RPi4] DLNA access unstable after boot

  • Dear all,

    my setup is as follows:
    Raspberry Pi 4, LibreELEC 12.0.2 with Kodi (Omega) v21.2

    The Raspberry Pi is connected to my network via Wifi. In my network, a Synology NAS is present providing DLNA.
    The server is stored as a favorite.
    What I experience is the following:
    Apparently, the Pi has network connectivity during boot time, since it shows the correct time and date in Kodi after boot.
    When I try to access the DLNA server directly after boot, in most of the cases, I just get a connection error
    If I let the system sit a couple of minutes after boot and do not try to access DLNA, the issue does not appear.
    In case the issue happens, DLNA seems „stuck“ in that non-working state.
    What I do to repair this, is:
    switch off / on DLNA in Kodi settings
    or/and:
    switch off and on wifi connection in Libreelec settings.

    What can I do to better narrow down the problem?