Couldn't connect to network server

Dear Community,

When I try to connect to my NFS Synolgy shares from osmc, I get following error.

Couldn’t connect to network server.

The log is saying following:

19:11:45.854 T:1925880320 ERROR: CGUIMediaWindow::GetDirectory(nfs://192.168.0.45/volume1/video/Serien/) failed
19:11:45.854 T:1925880320 DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
19:11:45.854 T:1925880320 DEBUG: ParentPath =
19:11:45.856 T:1690514176 DEBUG: Thread JobWorker start, auto delete: true
19:11:45.864 T:1622881024 DEBUG: Thread BackgroundLoader start, auto delete: false
19:11:45.871 T:1925880320 DEBUG: ------ Window Init (DialogConfirm.xml) ------
19:11:45.873 T:1925866240 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
19:11:45.873 T:1925866240 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
19:11:45.874 T:1925880320 DEBUG: -------------Keyboard keyevent----------------
19:11:45.874 T:1925880320 DEBUG: CLinuxInputDevice::KeyEvent: TranslateKey with event type 0x0001, code 0x001c, v
alue 0x0001 returned XBMCKey = 0x000d
19:11:45.874 T:1925880320 DEBUG: CLinuxInputDevice::KeyEvent: keyMods 0x0000 kbMods 0x0000 keyMapTable 0x0000
19:11:45.874 T:1925880320 DEBUG: CLinuxInputDevice::GetKeymapEntry table 0x0000 code 0x001c value returned by Key
boardReadValue 0x0201
19:11:45.874 T:1925880320 DEBUG: CLinuxInputDevice::GetKeymapEntry values after KeyboardGetSymbol ktyp=0x02 kval=
0x01
19:11:45.875 T:1925880320 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:11:45.875 T:1925880320 DEBUG: -------------Keyboard keyevent----------------
19:11:45.875 T:1925880320 DEBUG: CLinuxInputDevice::KeyEvent: TranslateKey with event type 0x0001, code 0x001c, v
alue 0x0000 returned XBMCKey = 0x000d
19:11:45.875 T:1925880320 DEBUG: CLinuxInputDevice::KeyEvent: keyMods 0x0000 kbMods 0x0000 keyMapTable 0x0000
19:11:45.875 T:1925880320 DEBUG: CLinuxInputDevice::GetKeymapEntry table 0x0000 code 0x001c value returned by Key
boardReadValue 0x0201
19:11:45.875 T:1925880320 DEBUG: CLinuxInputDevice::GetKeymapEntry values after KeyboardGetSymbol ktyp=0x02 kval=
0x01
19:11:45.875 T:1925880320 DEBUG: OnKey: return (0xf00d) pressed, screen saver/dpms woken up
19:11:45.875 T:1925880320 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:11:45.875 T:1925866240 DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
19:11:45.875 T:1925866240 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
19:11:45.883 T:1622881024 DEBUG: Thread BackgroundLoader 1622881024 terminating

Any ideas?

Cheers George83

Please can you paste full logs via My OSMC

Sam

Hy sam_nazarko,

How do I have to past the log via My OSMC?

george

https://paste.osmc.tv/okocirizaw

Hi,

Double check the IP of your nas, you seemed to added 2 different ones:

19:14:51.056 T:1925880320   DEBUG: CGUIMediaWindow::GetDirectory (nfs://192.168.0.45/volume1/video/Serien/)

19:05:06.492 T:1698902784 WARNING: Process directory 'nfs://10.0.0.2/volume1/video/Serien/Ballers/' does not exist - skipping scan.

Tom.

10.0.0.2 was the old IP Address. The router died a half year ago.
I was able to reach the folder few days ago, without any problem

Thats why I dont understand it, as I havent changed nothing on my setup

Hi,

Please try this from the command line:

ping 192.168.0.45 -c 4 
showmount -e 192.168.0.45

Thanks Tom.

osmc@osmc:~$ ping 192.168.0.45 -c 4
PING 192.168.0.45 (192.168.0.45): 56 data bytes
64 bytes from 192.168.0.45: seq=0 ttl=64 time=0.677 ms
64 bytes from 192.168.0.45: seq=1 ttl=64 time=0.579 ms
64 bytes from 192.168.0.45: seq=2 ttl=64 time=0.615 ms
64 bytes from 192.168.0.45: seq=3 ttl=64 time=0.577 ms

— 192.168.0.45 ping statistics —
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.577/0.612/0.677 ms
osmc@osmc:~$ showmount -e 192.168.0.45
clnt_create: RPC: Port mapper failure - Unable to receive: errno 111 (Connection refused)
osmc@osmc:~$

Hi,

There seems to be an issue on the nas side. Is the the NAS on a static ip?

if the ip is correct, then try restarting the NAS.

Thanks Tom.

That was strange.

Since I Have the problem I did restart several times the NAS and that did not help!

Now I unticked the NFS Services and ticked it back and see here:

osmc@osmc:~$ showmount -e 192.168.0.45
Export list for 192.168.0.45:
/volume1/dokumente *
/volume1/downloads *
/volume1/video (everyone)

It worked!!! Thank you

This request can be closed

Hi,

Strange, seems the nfs service was having issues starting. Disabling and re-enabling must have fixed it.

Any way glad its sorted.

Thanks Tom.