GNOME Bugzilla – Bug 786140
souphttpsrc failed with Secure connection(https)
Last modified: 2017-08-11 10:27:37 UTC
Play an exoplayer of an MPEG-DASH test stream(Exoplayer play this stream is ok), the following error occurs: gst-launch-1.0 playbin uri=https://storage.googleapis.com/wvmedia/clear/h264/tears/tears.mpd ------------------ 01-01 11:07:44.758 5525 5849 W mmp : [gstsouphttpsrc.c:1279] <souphttpsrc> error: Secure connection setup failed. 01-01 11:07:44.758 5525 5849 W mmp : [gstsouphttpsrc.c:1279] <souphttpsrc> error: Unacceptable TLS certificate (6), URL: https://storage.googleapis.com/wvmedia/clear/h264/tears/tears.mpd, Redirect to: (NULL) 01-01 11:07:44.758 5525 5849 W mmp : [gstbasesrc.c:2939] <basesrc> error: Internal data stream error. 01-01 11:07:44.759 5525 5849 W mmp : [gstbasesrc.c:2939] <basesrc> error: streaming stopped, reason error (-5) 01-01 11:07:44.759 5525 5849 W mmp : [gsttypefindelement.c:991] <typefind> error: Stream doesn't contain enough data. 01-01 11:07:44.759 5525 5849 W mmp : [gsttypefindelement.c:991] <typefind> error: Can't typefind stream --------
The problem here is that the TLS certificate is not acceptable, i.e. the CA that issued it is not recognized by your system or you compiled glib-networking in a way that it doesn't find the CA certificates. Works here on a Debian system with the default installation on that stream.
> glib-networking in a way that it doesn't find the CA certificates. Really! ^^ Thanks. I checked the cerbero 's log(glib-networking) ------ checking location of system Certificate Authority list... disabled ------- when added --with-ca-certificates=/etc/ssl/xxx ,everything is OK. So this is not a BUG, it should be closed.