I have the network share configured on a D-link 320 NAS and ports are all set up fine for FTPS.
The network share is reachable remotely without issues using other apps like ES File Explorer and FX File Explorer on Android. Having the same issue on RPi (latest OSMC version) so guessing it’s not an OS issue but more specific to Kodi, and the error 35 has led me to believe the SSL protocol version running on my DNS 320 may be a little outdated, or has something to do with the SSL certificate (something I know very little about.) Log shows it appears to be reachable but just won’t complete the handshake. Hopefully someone here can help.
Key part of the log:
2019-12-20 23:58:[13.854](tel:13854) T:[15659](tel:15659) DEBUG: CGUIMediaWindow::GetDirectory (ftps://USERNAME:[PASSWORD@noz.duckdns.org](mailto:PASSWORD@noz.duckdns.org):[3688](tel:3688)/)
2019-12-20 23:58:[13.854](tel:13854) T:[15659](tel:15659) DEBUG: ParentPath = [sources://video/]
2019-12-20 23:58:[13.855](tel:13855) T:[15722](tel:15722) DEBUG: Thread waiting start, auto delete: false
2019-12-20 23:58:[13.855](tel:13855) T:[15722](tel:15722) DEBUG: CurlFile::Open[(0x7353131700](tel:097353131700)) ftps://USERNAME:[PASSWORD@noz.duckdns.org](mailto:PASSWORD@noz.duckdns.org):[3688](tel:3688)/
2019-12-20 23:58:[13.955](tel:13955) T:[15659](tel:15659) DEBUG: ------ Window Init (DialogBusy.xml) ------
2019-12-20 23:58:[13.958](tel:13958) T:[15722](tel:15722) DEBUG: Curl::Debug - TEXT: Trying [92.14.25.17](http://91.13.25.17)...
2019-12-20 23:58:[13.958](tel:13958) T:[15722](tel:15722) DEBUG: Curl::Debug - TEXT: TCP_NODELAY set
2019-12-20 23:58:[14.154](tel:14154) T:[15722](tel:15722) DEBUG: Curl::Debug - TEXT: Connected to [nooz.duckdns.org](http://noz.duckdns.org) [(91.13.25.17](tel:91132517)) port [3688](tel:3688) (#0)
2019-12-20 23:58:[14.187](tel:14187) T:[15722](tel:15722) DEBUG: Curl::Debug - SSL_DATA_OUT:
2019-12-20 23:58:[14.187](tel:14187) T:[15722](tel:15722) DEBUG: Curl::Debug - TEXT: TLSv1.2 (OUT), TLS handshake, Client hello (1):
2019-12-20 23:58:[14.188](tel:14188) T:[15722](tel:15722) DEBUG: Curl::Debug - SSL_DATA_OUT:
2019-12-20 23:58:[14.188](tel:14188) T:[15722](tel:15722) DEBUG: Curl::Debug - SSL_DATA_OUT: �
2019-12-20 23:58:[14.188](tel:14188) T:[15722](tel:15722) DEBUG: Curl::Debug - SSL_DATA_OUT:
2019-12-20 23:58:[14.250](tel:14250) T:[15722](tel:15722) DEBUG: Previous line repeats 2 times.
2019-12-20 23:58:[14.250](tel:14250) T:[15722](tel:15722) DEBUG: Curl::Debug - SSL_DATA_IN: 220--
2019-12-20 23:58:[14.250](tel:14250) T:[15722](tel:15722) DEBUG: Curl::Debug - TEXT: error:[1408](tel:1408)F10B:SSL routines:ssl3_get_record:wrong version number
2019-12-20 23:58:[14.250](tel:14250) T:[15722](tel:15722) ERROR: CCurlFile::FillBuffer - Failed: SSL connect error(35)
2019-12-20 23:58:[14.250](tel:14250) T:[15722](tel:15722) ERROR: CCurlFile::Open failed with code 0 for ftps://USERNAME:[PASSWORD@noz.duckdns.org](mailto:PASSWORD@noz.duckdns.org):[3688](tel:3688)/:
2019-12-20 23:58:[14.250](tel:14250) T:[15722](tel:15722) ERROR: GetDirectory - Error getting ftps://USERNAME:[PASSWORD@noz.duckdns.org](mailto:PASSWORD@noz.duckdns.org):[3688](tel:3688)/
2019-12-20 23:58:[14.251](tel:14251) T:[15722](tel:15722) DEBUG: Thread waiting [15722](tel:15722) terminating
2019-12-20 23:58:[14.262](tel:14262) T:[15659](tel:15659) DEBUG: ------ Window Deinit (DialogBusy.xml) ------
2019-12-20 23:58:[14.265](tel:14265) T:[15659](tel:15659) ERROR: CGUIMediaWindow::GetDirectory(ftps://USERNAME:[PASSWORD@noz.duckdns.org](mailto:PASSWORD@noz.duckdns.org):[3688](tel:3688)/) failed