GNU bug report logs - #35398
http-get request fails for github.com

Previous Next

Package: guile;

Reported by: Brian Woodcox <bw <at> inskydata.com>

Date: Tue, 23 Apr 2019 16:04:02 UTC

Severity: normal

To reply to this bug, email your comments to 35398 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#35398; Package guile. (Tue, 23 Apr 2019 16:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Woodcox <bw <at> inskydata.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Tue, 23 Apr 2019 16:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Woodcox <bw <at> inskydata.com>
To: bug-guile <at> gnu.org
Subject: http-get request fails for github.com
Date: Tue, 23 Apr 2019 09:42:59 -0600
[Message part 1 (text/plain, inline)]
System is —> 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 “https://github.com <https://github.com/>”

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 …) …)
In unknown file:
           0 (get-bytevector-some #<input-output: string 1ca2f50>)

[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#35398; Package guile. (Thu, 23 May 2019 08:34:01 GMT) Full text and rfc822 format available.

Message #8 received at 35398 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Brian Woodcox <bw <at> inskydata.com>
Cc: 35398 <at> debbugs.gnu.org
Subject: Re: bug#35398: http-get request fails for github.com
Date: Thu, 23 May 2019 10:33:23 +0200
Hi Brian,

> System is —> 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 “https://github.com <https://github.com/>”
>
> 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 …) …)
> In unknown file:
>            0 (get-bytevector-some #<input-output: string 1ca2f50>)

I can reproduce this.  (http-get "https://gnu.org") works though.

-- 
Ricardo





Information forwarded to bug-guile <at> gnu.org:
bug#35398; Package guile. (Mon, 24 Jun 2019 13:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 35398 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Brian Woodcox <bw <at> inskydata.com>
Cc: 35398 <at> debbugs.gnu.org
Subject: Re: bug#35398: http-get request fails for github.com
Date: Mon, 24 Jun 2019 15:21:37 +0200
Hi Brian,

Brian Woodcox <bw <at> inskydata.com> skribis:

> 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)'.

<https://issues.guix.gnu.org/issue/34102> contains a workaround and a
link to the upstream fix in GnuTLS.

HTH!

Ludo’.




This bug report was last modified 6 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.