OSMC lost connection to network drive

Hello,

I have connected an folder via network and sporadic OSMC (2019-5-1) lost the connection. Attached over sftp.

Log is there
https://paste.osmc.tv/hadeluhifi

It worked stable with the last 17.x version

Can you please enable debugging and re-upload the log?

another Log with debug log on

https://paste.osmc.tv/rubigecupe

Suggest to check the ssh log on the Pi
2019-05-23 06:31:33.804 T:1484456672 ERROR: AddOnLog: SFTP support: SFTPSession: Not connected, can't list directory 'media/pi/Elements/' 2019-05-23 06:31:33.804 T:1484456672 ERROR: GetDirectory - Error getting sftp|ssh://USERNAME:PASSWORD@192.168.178.46:22/media/pi/Elements/

Also suggest to enable debugging log in to on OSMC

And as usual suggest to check network stability with iperf3 and maybe also scp on command line

Even if OSMC says it can’t connect SSH or SCP are working

Well if you have issue from within Kodi it is always good to check from command line first. Because than you can exclude that it is a Kodi issue

I had to, there aren’t any options to make a log without cli.

On OSMC you mean?

Yes

Via MyOSMC - Log Uploader :wink:

Anyhow check iperf3 and scp from command line to get to the source of your problem

Good to know, i will take a look at it with iperf3

New log

https://paste.osmc.tv/imosavimaj

and iperf

osmc@osmc:~$ iperf3 -R -c 192.168.178.46
Reverse mode, remote host 192.168.178.46 is sending
[ 4] local 192.168.178.28 port 47890 connected to 192.168.178.46 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 12.1 MBytes 101 Mbits/sec
[ 4] 1.00-2.00 sec 13.0 MBytes 109 Mbits/sec
[ 4] 2.00-3.00 sec 12.8 MBytes 107 Mbits/sec
[ 4] 3.00-4.00 sec 12.8 MBytes 107 Mbits/sec
[ 4] 4.00-5.00 sec 11.6 MBytes 97.7 Mbits/sec
[ 4] 5.00-6.00 sec 13.3 MBytes 111 Mbits/sec
[ 4] 6.00-7.00 sec 13.4 MBytes 112 Mbits/sec
[ 4] 7.00-8.00 sec 13.4 MBytes 112 Mbits/sec
[ 4] 8.00-9.00 sec 13.4 MBytes 112 Mbits/sec
[ 4] 9.00-10.00 sec 13.2 MBytes 111 Mbits/sec


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 132 MBytes 111 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 132 MBytes 111 Mbits/sec receiver

iperf Done.

and

osmc@osmc:~$ iperf3 -c 192.168.178.46
Connecting to host 192.168.178.46, port 5201
[ 4] local 192.168.178.28 port 47894 connected to 192.168.178.46 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 8.11 MBytes 68.0 Mbits/sec 0 100 KBytes
[ 4] 1.00-2.00 sec 8.43 MBytes 70.7 Mbits/sec 0 113 KBytes
[ 4] 2.00-3.00 sec 8.70 MBytes 73.0 Mbits/sec 0 113 KBytes
[ 4] 3.00-4.00 sec 9.09 MBytes 76.3 Mbits/sec 0 119 KBytes
[ 4] 4.00-5.00 sec 8.01 MBytes 67.2 Mbits/sec 2 96.2 KBytes
[ 4] 5.00-6.00 sec 8.68 MBytes 72.8 Mbits/sec 0 110 KBytes
[ 4] 6.00-7.00 sec 7.93 MBytes 66.5 Mbits/sec 0 110 KBytes
[ 4] 7.00-8.00 sec 7.71 MBytes 64.7 Mbits/sec 0 116 KBytes
[ 4] 8.00-9.00 sec 7.31 MBytes 61.3 Mbits/sec 1 94.7 KBytes
[ 4] 9.00-10.00 sec 7.99 MBytes 67.0 Mbits/sec 0 99.0 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 82.0 MBytes 68.7 Mbits/sec 3 sender
[ 4] 0.00-10.00 sec 81.8 MBytes 68.6 Mbits/sec receiver

iperf Done.

the smb connection worked well…

The iperf3 values looks OK even so some retries look high.
Not sure what the relay to SMB is. Did you tried scp from command line?

You mean from OSMC to the server?

No from server to OSMC, same direction as if you play it in Kodi