From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Brian Woodcox Newsgroups: gmane.lisp.guile.bugs Subject: bug#35398: http-get request fails for github.com Date: Tue, 23 Apr 2019 09:42:59 -0600 Message-ID: <8E276556-0DAF-4DC4-8503-351847838653@inskydata.com> Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_A20AABFC-EB51-438B-9124-8A2EC7DF5028" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="232625"; mail-complaints-to="usenet@blaine.gmane.org" To: 35398@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Apr 23 18:04:45 2019 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIxuW-000yN0-El for guile-bugs@m.gmane.org; Tue, 23 Apr 2019 18:04:44 +0200 Original-Received: from localhost ([127.0.0.1]:56168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxuV-0007Hq-EL for guile-bugs@m.gmane.org; Tue, 23 Apr 2019 12:04:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxtr-0006ra-T6 for bug-guile@gnu.org; Tue, 23 Apr 2019 12:04:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIxtq-0005m4-LD for bug-guile@gnu.org; Tue, 23 Apr 2019 12:04:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIxtq-0005lu-Ho for bug-guile@gnu.org; Tue, 23 Apr 2019 12:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIxtq-0002xe-9K for bug-guile@gnu.org; Tue, 23 Apr 2019 12:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Brian Woodcox Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 23 Apr 2019 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35398 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155603541611348 (code B ref -1); Tue, 23 Apr 2019 16:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2019 16:03:36 +0000 Original-Received: from localhost ([127.0.0.1]:54169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIxtO-0002wv-3W for submit@debbugs.gnu.org; Tue, 23 Apr 2019 12:03:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIxgx-0002cx-G1 for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:50:44 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41655) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIxgs-0004eQ-2W for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:50:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxgq-0001QC-Lf for bug-guile@gnu.org; Tue, 23 Apr 2019 11:50:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIxgp-0004d7-Ah for bug-guile@gnu.org; Tue, 23 Apr 2019 11:50:36 -0400 Original-Received: from mail.inskydata.com ([184.68.229.6]:33977 helo=server.inskydata.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxgp-0004cR-1F for bug-guile@gnu.org; Tue, 23 Apr 2019 11:50:35 -0400 Original-Received: from [192.168.19.76] (unknown [192.168.19.76]) by server.inskydata.com (Postfix) with ESMTPSA id 262D0488D4D0 for ; Tue, 23 Apr 2019 09:43:01 -0600 (MDT) X-Mailer: Apple Mail (2.3445.6.18) X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 23 Apr 2019 12:03:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9318 Archived-At: --Apple-Mail=_A20AABFC-EB51-438B-9124-8A2EC7DF5028 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 System is =E2=80=94> Linux guix 4.20.10-gnu #1 SMP 1 x86_64 GNU/Linux I am running guile (GNU Guile) 2.2.4. http-get request is failing for =E2=80=9Chttps://github.com = =E2=80=9D The steps to reproduce are as follows: scheme@(guile-user)> (use-modules (web client)) scheme@(guile-user)> (http-get "https://github.com") ERROR: In procedure get-bytevector-some: Throw to key `gnutls-error' with args `(# read_from_session_record_port)'. Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,bt In web/client.scm: 386:24 6 (http-request _ #:body _ #:port _ #:method _ #:version _ = #:keep-alive? _ #:headers _ #:decode-body? _ #:streaming? _ #:request _) In web/response.scm: 198:31 5 (read-response #) In web/http.scm: 1186:15 4 (read-response-line _) 159:2 3 (read-header-line _) In unknown file: 2 (%read-line #) In web/client.scm: 142:24 1 (read! #vu8(1 17 1 37 14 19 5 17 1 18 11 16 23 0 0 2 46 0 = 17 1 18 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = =E2=80=A6) =E2=80=A6) In unknown file: 0 (get-bytevector-some #) --Apple-Mail=_A20AABFC-EB51-438B-9124-8A2EC7DF5028 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
System is =E2=80=94> Linux guix 4.20.10-gnu #1 SMP 1 = x86_64 GNU/Linux

I am running = guile (GNU Guile) 2.2.4.

http-get request is failing for =E2=80=9Chttps://github.com=E2=80=9D

The steps to = reproduce are as follows:

scheme@(guile-user)> (use-modules (web client))
scheme@(guile-user)> (http-get "https://github.com")
ERROR: In procedure get-bytevector-some:
Throw = to key `gnutls-error' with args `(#<gnutls-error-enum Resource = temporarily unavailable, try again.> = read_from_session_record_port)'.

Entering a = new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,bt
In = web/client.scm:
   386:24  6 (http-request = _ #:body _ #:port _ #:method _ #:version _ #:keep-alive? _ #:headers _ = #:decode-body? _ #:streaming? _ #:request _)
In = web/response.scm:
   198:31  5 = (read-response #<input-output: string 1ca2ee0>)
In = web/http.scm:
  1186:15  4 (read-response-line = _)
    159:2  3 (read-header-line _)
In unknown file:
        =    2 (%read-line #<input-output: string 1ca2ee0>)
In web/client.scm:
   142:24  1 = (read! #vu8(1 17 1 37 14 19 5 17 1 18 11 16 23 0 0 2 46 0 17 1 18 11 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 =E2=80=A6) = =E2=80=A6)
In unknown file:
    =        0 (get-bytevector-some #<input-output: = string 1ca2f50>)

= --Apple-Mail=_A20AABFC-EB51-438B-9124-8A2EC7DF5028--