From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: WebKit: Failing to play most HTML5 videos Date: Wed, 12 Dec 2018 08:49:45 +0100 Message-ID: <877egf5gme.fsf@elephly.net> References: <87bm5wtd3d.fsf@ambrevar.xyz> <87sgz45vj6.fsf@elephly.net> <87r2eoashg.fsf@ambrevar.xyz> <87pnu8as0n.fsf@ambrevar.xyz> <87h8fj5x5u.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWzHN-00053Q-2k for help-guix@gnu.org; Wed, 12 Dec 2018 02:50:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWzHI-0000Y7-4c for help-guix@gnu.org; Wed, 12 Dec 2018 02:50:01 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21838) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gWzHH-0000XU-H3 for help-guix@gnu.org; Wed, 12 Dec 2018 02:49:56 -0500 In-reply-to: <87h8fj5x5u.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix Ricardo Wurmus writes: > Pierre Neidhardt writes: > >> With Epiphany: [=E2=80=A6] >> 0:00:02.444056430 6908 0xdc3320 WARN curlhttpsrc gstc= urlhttpsrc.c:1068:gst_curl_http_src_handle_response: Curl fai= led the transfer (60): SSL peer certificate or SSH remote key was not OK > > That=E2=80=99s the same error I got. It may be worth checking if we can = patch > gstcurlhttpsrc.c to ensure that the path of the certificate bundle is > set via environment variable. > > A hack to check that this is indeed the cause might be to place the cert > bundle in the expected default location that libcurl uses when the > client does not specify a location. Here=E2=80=99s a little patch to confirm that indeed this problem is caused= by gstcurlhttpsrc.c (of gst-plugins-bad) not configuring libcurl to look for certificates in the right place: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index f43a0fc2f..7a39e6653 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -286,7 +286,15 @@ developers consider to have good quality code and corr= ect functionality.") #:configure-flags (list (string-append "--with-html-dir=3D" (assoc-ref %outputs "doc") - "/share/gtk-doc/html")))) + "/share/gtk-doc/html")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'foo + (lambda _ + (substitute* "ext/curl/gstcurlhttpsrc.c" + (("source->custom_ca_file =3D NULL;") + "source->custom_ca_file =3D \"/etc/ssl/certs/ca-certificat= es.crt\";")) + #t))))) (propagated-inputs `(("gst-plugins-base" ,gst-plugins-base))) (native-inputs --8<---------------cut here---------------end--------------->8--- With this patch and gst-plugins-bad installed I do see the video when using this command: GST_DEBUG=3D2 eolie https://old.reddit.com/r/funny/comments/a53e07/fina= lly_redone_correctly/ Can you confirm this? -- Ricardo