v7.9.53 "Connection timed out" when accesing SMB share on Raspberry Pi [updated]

  • Hi everyone,

    I'd like to report a bug on both versions v7.9.52 and v7.9.53.

    Symptoms:
    When trying to access SMB share (smb://WORKGROUP/) from either "add video..." or File Explorer, after loading (approx. 1min) I get "Connection timed out" error. I reproduced this error on both Raspberry Pi 1 B+ and Pi 3. This doesn't work right after initial install.

    Prove that my HW/network is not at fault:
    - I confirmed the samba access is working fine on stable v7.0.3.
    - Both versions v7.9.52 and v7.9.53 also work fine on X86.

    Not sure if this is Kodi or LibreElec related bug.

    Here is my full KODI log:
    ################################################################################
    # ... output of cat /storage/.kodi/temp/kodi.log
    # LibreELEC release: RPi.arm-7.95.3
    #
    ################################################################################
    09:40:48.614 T:1962029392 NOTICE: special://profile/ is mapped to: special://masterprofile/
    09:40:48.614 T:1962029392 NOTICE: -----------------------------------------------------------------------
    09:40:48.615 T:1962029392 NOTICE: Starting Kodi (17.0 Git:a10c504). Platform: Linux ARM 32-bit
    09:40:48.615 T:1962029392 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
    09:40:48.615 T:1962029392 NOTICE: Kodi compiled Feb 10 2017 by GCC 6.2.0 for Linux ARM 32-bit version 4.9.8 (264456)
    09:40:48.616 T:1962029392 NOTICE: Running on LibreELEC (official) - Version: 7.95.3 8.0, kernel: Linux ARM 32-bit version 4.9.8
    09:40:48.617 T:1962029392 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
    09:40:48.618 T:1962029392 NOTICE: Host CPU: ARMv6-compatible processor rev 7 (v6l), 1 core available
    09:40:48.618 T:1962029392 NOTICE: ARM Features: Neon disabled
    09:40:48.618 T:1962029392 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi/
    09:40:48.618 T:1962029392 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
    09:40:48.619 T:1962029392 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
    09:40:48.619 T:1962029392 NOTICE: special://masterprofile/ is mapped to: /storage/.kodi/userdata
    09:40:48.619 T:1962029392 NOTICE: special://envhome/ is mapped to: /storage
    09:40:48.619 T:1962029392 NOTICE: special://home/ is mapped to: /storage/.kodi
    09:40:48.620 T:1962029392 NOTICE: special://temp/ is mapped to: /storage/.kodi/temp
    09:40:48.620 T:1962029392 NOTICE: special://logpath/ is mapped to: /storage/.kodi/temp
    09:40:48.620 T:1962029392 NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
    09:40:48.621 T:1962029392 NOTICE: Local hostname: LibreELEC
    09:40:48.621 T:1962029392 NOTICE: Log File is located: /storage/.kodi/temp//kodi.log
    09:40:48.635 T:1962029392 NOTICE: -----------------------------------------------------------------------
    09:40:49.054 T:1962029392 ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
    09:40:49.115 T:1962029392 NOTICE: load settings...
    09:40:49.730 T:1962029392 NOTICE: Found 2 Lists of Devices
    09:40:49.730 T:1962029392 NOTICE: Enumerated PI devices:
    09:40:49.730 T:1962029392 NOTICE: Device 1
    09:40:49.732 T:1962029392 NOTICE: m_deviceName : HDMI
    09:40:49.733 T:1962029392 NOTICE: m_displayName : HDMI
    09:40:49.733 T:1962029392 NOTICE: m_displayNameExtra:
    09:40:49.733 T:1962029392 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
    09:40:49.733 T:1962029392 NOTICE: m_channels : FL,FR
    09:40:49.734 T:1962029392 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
    09:40:49.734 T:1962029392 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_RAW
    09:40:49.734 T:1962029392 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512
    09:40:49.735 T:1962029392 NOTICE: Device 2
    09:40:49.735 T:1962029392 NOTICE: m_deviceName : Analogue
    09:40:49.736 T:1962029392 NOTICE: m_displayName : Analogue
    09:40:49.736 T:1962029392 NOTICE: m_displayNameExtra:
    09:40:49.736 T:1962029392 NOTICE: m_deviceType : AE_DEVTYPE_PCM
    09:40:49.736 T:1962029392 NOTICE: m_channels : FL,FR
    09:40:49.737 T:1962029392 NOTICE: m_sampleRates : 48000
    09:40:49.737 T:1962029392 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
    09:40:49.737 T:1962029392 NOTICE: m_streamTypes : No passthrough capabilities
    09:40:49.737 T:1962029392 NOTICE: Device 3
    09:40:49.738 T:1962029392 NOTICE: m_deviceName : Both
    09:40:49.738 T:1962029392 NOTICE: m_displayName : HDMI and Analogue
    09:40:49.738 T:1962029392 NOTICE: m_displayNameExtra:
    09:40:49.739 T:1962029392 NOTICE: m_deviceType : AE_DEVTYPE_PCM
    09:40:49.739 T:1962029392 NOTICE: m_channels : FL,FR
    09:40:49.739 T:1962029392 NOTICE: m_sampleRates : 48000
    09:40:49.739 T:1962029392 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
    09:40:49.740 T:1962029392 NOTICE: m_streamTypes : No passthrough capabilities
    09:40:49.740 T:1962029392 NOTICE: Enumerated PULSE devices:
    09:40:49.740 T:1962029392 NOTICE: Device 1
    09:40:49.741 T:1962029392 NOTICE: m_deviceName : Default
    09:40:49.741 T:1962029392 NOTICE: m_displayName : Default
    09:40:49.741 T:1962029392 NOTICE: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO)
    09:40:49.742 T:1962029392 NOTICE: m_deviceType : AE_DEVTYPE_PCM
    09:40:49.742 T:1962029392 NOTICE: m_channels : FL,FR
    09:40:49.742 T:1962029392 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
    09:40:49.742 T:1962029392 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
    09:40:49.743 T:1962029392 NOTICE: m_streamTypes : No passthrough capabilities
    09:40:49.847 T:1962029392 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
    09:40:49.848 T:1962029392 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
    <?xml version="1.0" encoding="UTF-8" ?>
    <advancedsettings>
    <showexitbutton>false</showexitbutton>
    <fanartres>720</fanartres>
    <imageres>540</imageres>
    <samba>
    <clienttimeout>30</clienttimeout>
    </samba>
    </advancedsettings>
    09:40:49.857 T:1962029392 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
    09:40:49.858 T:1962029392 NOTICE: Default Video Player: VideoPlayer
    09:40:49.858 T:1962029392 NOTICE: Default Audio Player: paplayer
    09:40:49.858 T:1962029392 NOTICE: Disabled debug logging due to GUI setting. Level 0.
    09:40:49.859 T:1962029392 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
    09:40:49.860 T:1962029392 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
    09:40:49.866 T:1962029392 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
    09:40:49.872 T:1962029392 NOTICE: Loaded playercorefactory configuration
    09:40:49.874 T:1962029392 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
    09:40:49.875 T:1962029392 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
    09:40:50.170 T:1962029392 NOTICE: Running database version Addons27
    09:40:50.803 T:1962029392 NOTICE: ADDONS: Using repository repository.kodi.game
    09:40:50.804 T:1962029392 NOTICE: ADDONS: Using repository repository.libreelec.tv
    09:40:50.804 T:1962029392 NOTICE: ADDONS: Using repository repository.xbmc.org
    09:40:51.236 T:1962029392 NOTICE: Raspberry PI firmware version: Jan 31 2017 17:44:07
    Copyright (c) 2012 Broadcom
    version 8d94fbc3bbdde25c29b18a2572a5c60ee75c56f3 (clean) (release)
    09:40:51.237 T:1962029392 NOTICE: ARM mem: 352MB GPU mem: 160MB MPG2:0 WVC1:0
    09:40:51.237 T:1962029392 NOTICE: cache.memorysize: 20MB libass.cache: 0MB
    09:40:51.238 T:1962029392 NOTICE: Config:
    audio_pwm_mode=1
    config_hdmi_boost=2
    disable_auto_turbo=1
    disable_commandline_tags=2
    enable_uart=1
    force_pwm_open=1
    framebuffer_ignore_alpha=1
    framebuffer_swap=1
    hdmi_channel_map=8
    hdmi_force_cec_address=65535
    hdmi_ignore_cec_init=1
    ignore_lcd=1
    init_uart_clock=0x2dc6c00
    overscan_bottom=48
    overscan_left=48
    overscan_right=48
    overscan_top=48
    pause_burst_frames=1
    program_serial_random=1
    temp_limit=85
    09:40:51.239 T:1962029392 NOTICE: Config:
    device_tree=-
    09:40:51.239 T:1962029392 NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
    09:40:51.250 T:1962029392 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 60.000000 Hz
    09:40:51.250 T:1962029392 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 59.940063 Hz
    09:40:51.251 T:1962029392 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 72.000000 Hz
    09:40:51.251 T:1962029392 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 71.928070 Hz
    09:40:51.251 T:1962029392 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 75.000000 Hz
    09:40:51.252 T:1962029392 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 60.000000 Hz
    09:40:51.252 T:1962029392 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 59.940063 Hz
    09:40:51.252 T:1962029392 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 72.000000 Hz
    09:40:51.253 T:1962029392 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 71.928070 Hz
    09:40:51.253 T:1962029392 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 75.000000 Hz
    09:40:51.253 T:1962029392 NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 60.000000 Hz
    09:40:51.254 T:1962029392 NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 59.940063 Hz
    09:40:51.254 T:1962029392 NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 70.000000 Hz
    09:40:51.254 T:1962029392 NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 75.000000 Hz
    09:40:51.254 T:1962029392 NOTICE: Found resolution 1152 x 864 for display 0 with 1152 x 864 @ 75.000000 Hz
    09:40:51.255 T:1962029392 NOTICE: Found resolution 1280 x 800 for display 0 with 1280 x 800 @ 60.000000 Hz
    09:40:51.255 T:1962029392 NOTICE: Found resolution 1280 x 800 for display 0 with 1280 x 800 @ 59.940063 Hz
    09:40:51.255 T:1962029392 NOTICE: Found resolution 1280 x 1024 for display 0 with 1280 x 1024 @ 60.000000 Hz
    09:40:51.256 T:1962029392 NOTICE: Found resolution 1280 x 1024 for display 0 with 1280 x 1024 @ 59.940063 Hz
    09:40:51.256 T:1962029392 NOTICE: Found resolution 1280 x 1024 for display 0 with 1280 x 1024 @ 75.000000 Hz
    09:40:51.256 T:1962029392 NOTICE: Found resolution 1440 x 900 for display 0 with 1440 x 900 @ 60.000000 Hz
    09:40:51.257 T:1962029392 NOTICE: Found resolution 1440 x 900 for display 0 with 1440 x 900 @ 59.940063 Hz
    09:40:51.257 T:1962029392 NOTICE: Found resolution 1680 x 1050 for display 0 with 1680 x 1050 @ 60.000000 Hz
    09:40:51.257 T:1962029392 NOTICE: Found resolution 1680 x 1050 for display 0 with 1680 x 1050 @ 59.940063 Hz
    09:40:51.258 T:1962029392 NOTICE: Found resolution 1366 x 768 for display 0 with 1366 x 768 @ 60.000000 Hz
    09:40:51.258 T:1962029392 NOTICE: Found resolution 1366 x 768 for display 0 with 1366 x 768 @ 59.940063 Hz
    09:40:51.258 T:1962029392 NOTICE: Found resolution 1600 x 900 for display 0 with 1600 x 900 @ 60.000000 Hz
    09:40:51.259 T:1962029392 NOTICE: Found resolution 1600 x 900 for display 0 with 1600 x 900 @ 59.940063 Hz
    09:40:51.259 T:1962029392 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
    09:40:51.259 T:1962029392 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 59.940063 Hz
    09:40:51.260 T:1962029392 NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 60.000000 Hz
    09:40:51.260 T:1962029392 NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 59.940063 Hz
    09:40:51.262 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000000 Hz
    09:40:51.262 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 59.940063 Hz
    09:40:51.263 T:1962029392 NOTICE: Found resolution 720 x 576 for display 0 with 720 x 576 @ 50.000000 Hz
    09:40:51.263 T:1962029392 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
    09:40:51.264 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 50.000000 Hz
    09:40:51.264 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 24.000000 Hz
    09:40:51.264 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 23.976025 Hz
    09:40:51.265 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 25.000000 Hz
    09:40:51.265 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 30.000000 Hz
    09:40:51.265 T:1962029392 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 29.970032 Hz
    09:40:51.266 T:1962029392 NOTICE: Found ([email protected]) at 48, setting to RES_DESKTOP at 16
    09:40:51.266 T:1962029392 NOTICE: Checking resolution 16
    09:40:51.638 T:1962029392 NOTICE: GL_VENDOR = Broadcom
    09:40:51.638 T:1962029392 NOTICE: GL_RENDERER = VideoCore IV HW
    09:40:51.639 T:1962029392 NOTICE: GL_VERSION = OpenGL ES 2.0
    09:40:51.639 T:1962029392 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
    09:40:51.639 T:1962029392 NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
    09:40:54.541 T:1874850720 NOTICE: Running database version Addons27
    09:40:54.569 T:1874850720 NOTICE: Running database version ViewModes6
    09:40:54.598 T:1874850720 NOTICE: Running database version Textures13
    09:40:54.709 T:1874850720 NOTICE: Running database version MyMusic60
    09:40:54.916 T:1874850720 NOTICE: Running database version MyVideos107
    09:40:54.956 T:1874850720 NOTICE: Running database version TV29
    09:40:54.990 T:1874850720 NOTICE: Running database version Epg11
    09:40:55.023 T:1962029392 NOTICE: start dvd mediatype detection
    09:40:56.252 T:1832907680 NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
    09:40:59.571 T:1962029392 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
    09:41:02.041 T:1962029392 NOTICE: initialize done
    09:41:02.042 T:1962029392 NOTICE: Running the application...
    09:41:02.316 T:1962029392 NOTICE: starting zeroconf publishing
    09:41:02.322 T:1962029392 NOTICE: CWebServer[8080]: Started
    09:41:02.323 T:1962029392 NOTICE: starting upnp client
    09:41:02.402 T:1681912736 NOTICE: ES: Starting UDP Event server on port 9777
    09:41:02.403 T:1681912736 NOTICE: UDP: Listening on port 9777 (ipv6 : false)
    09:41:06.913 T:1757410208 WARNING: CSkinInfo: failed to load skin settings
    09:41:54.825 T:1774187424 ERROR: GetDirectory - Error getting
    09:43:04.319 T:1774187424 ERROR: Previous line repeats 6 times.
    09:43:04.319 T:1774187424 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://WORKGROUP/'
    unix_err:'6e' error : 'Connection timed out'

    Thanks ;)

    Edited once, last by djfelixus (February 14, 2017 at 10:52 AM).


  • I'm surprised there are no answers yet.

    Is no one using Libreelec with NAS as all of them must be affected or waiting for stable release? :)

    You posted the question:
    Yesterday, 10:08 (This post was last modified: Yesterday, 10:44 by djfelixus.)

    That was just ONE day ago!!

    You didn't explain if you had upgraded or a fresh install?

    I know there was an issue earlier with SMB, so either remove the source and add it again or use explicit paths like smb:/192.168.0.xx rather than smb://<server>

  • Hi,

    Thanks for responses guys.

    smp,
    Thanks for the feedback, it's good to know that SMB is working for someone using Rpi ;) it is strange that I even can't start browsing the Samba network.

    Iridium,
    It is a fresh default Install, img was written to the SD using win32diskimager. After running the initial configurator (I left all the settings in default, including DHCP settings) when I try to add a source or simply trying to access anything on the SMB network (starting with WORKGROUP) after loading I get this error every time.
    Another thing, while SMB cannot be access from the Kodi interface, from any other PC on the network I can ping and I can browse through LE's shares, so that proves my network is fine. Previously (when I upgraded from 7.0.3 to 7.95.2) I had a MySQL configured in AdvancedSettings.xml. While I could not access any files on the shares, I could see all my movies loaded from MySQL database which again proves Rpi can see the network.
    This was tested on Rpi3 and Rpi1 (different SD cards in each case) with both fresh installs of LE 7.95.2 and LE 7.95.3.

    When I load stable LE 7.0.3 (with older Kodi 16) onto the same devices, again, left initial config in default, tested and works straight away... Less then a second and I can access everything I need.

    I have tried LE 7.95.2 and LE 7.95.3 on my HTPC PC X64 (Intel Atom 1.6GHz). Both versions work fine on exactly the same network using the same NAS (FreeNAS btw). So I know it's not my network, it's not a config (fresh install) and it's not the device. Everything is pointing to LE, but I'm clueless what it could be. Anything on the Samba network is inaccessible and times out whether I point a IP and path or whenever I try to browse through the network.

    I'm wondering if anything has changed regarding samba client since 7.0.3. I tried to to play with "local master = no" to no avail, I'm still getting the error.

    Any help would be appreciated. ;)

  • All,

    I just made a discovery that when you upgrade LE from 7.0.3 to 7.95.3 on Raspberry Pi, it works fine. That's why not many people reported the issue I believe.

    The problem is there only with fresh install.

    Thanks

  • The problem is NOT only with fresh install.
    As already reported by me, on the Raspberry Pi 2 the problem happens after upgrade from version 7.95.2 to version 7.95.3.

    Edited once, last by outcave (February 15, 2017 at 2:17 PM).