Page 1 of 1

VLC on iOS not playing HTTPS streams from Synology Disk Station

Posted: 19 Sep 2023 14:33
by ilpssun
When I open a movie in my DS File app on iOS, I can choose between the built-in player and using VLC for playback. When I choose VLC, the app opens and asks me whether I would like to stream or download the given URL. Neither option is working: both do not download/stream any data from my Synology server. The streaming shows only a black screen with no progress, the download fails with an error. When I input the URL in a browser on my laptop, the video plays fine.

In the app logs, there is a section that hints to the problem, as far as I can tell:

Code: Select all

[DBG] Creating an input for 'xxxx.mp4?dlink="..."&_sid="..."&mime=1' [DBG] reusing audio output [DBG] keeping audio output [DBG] using timeshift granularity of 50 MiB [DBG] using default timeshift path [DBG] `https://…:5001/fbdownload/….mp4?dlink=…&mime=1' gives access `https' demux `any' path `…' [DBG] creating demux: access='https' demux='any' location='…' file='(null)' [DBG] looking for access_demux module matching "https": 12 candidates [DBG] no access_demux modules matched [DBG] creating access: https://…:5001/fbdownload/…&mime=1 [DBG] looking for access module matching "https": 66 candidates [DBG] looking for keystore module matching "any": 6 candidates [DBG] no keystore modules matched [DBG] looking for tls client module matching "any": 3 candidates [DBG] open st client [DBG] using tls client module "securetransport" [DBG] resolving <myhostname> ... [WARN] Ignoring ALPN request due to lack of support in the backend. Proxy behavior potentially undefined. [DBG] open TLS session for <myhostname> [ERR] error while writing: 4 [ERR] handshake returned error -36 [ERR] TLS session handshake error [DBG] close TLS session [ERR] connection error: Interrupted system call
It seems to me that there is a problem with the TLS handshake, but I did not find any further info on that error code. Can anybody point me into the right direction?

Best regards,
ilpssun

Re: VLC on iOS not playing HTTPS streams from Synology Disk Station

Posted: 20 Sep 2023 16:44
by fkuehne
Is this a valid SSL certificate or something self-signed?

Re: VLC on iOS not playing HTTPS streams from Synology Disk Station

Posted: 22 Sep 2023 19:12
by ilpssun
It's a valid R3 (let's encrypt) certificate. At least that's the one my browser shows me for the URL.

Re: VLC on iOS not playing HTTPS streams from Synology Disk Station

Posted: 18 Aug 2024 05:21
by 8kguy
Some of my users are also experiencing a similar issue.