unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#35398: http-get request fails for github.com
@ 2019-04-23 15:42 Brian Woodcox
  2019-05-23  8:33 ` Ricardo Wurmus
  2019-06-24 13:21 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Brian Woodcox @ 2019-04-23 15:42 UTC (permalink / raw)
  To: 35398

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 2394 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#35398: http-get request fails for github.com
  2019-04-23 15:42 bug#35398: http-get request fails for github.com Brian Woodcox
@ 2019-05-23  8:33 ` Ricardo Wurmus
  2019-06-24 13:21 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2019-05-23  8:33 UTC (permalink / raw)
  To: Brian Woodcox; +Cc: 35398


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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#35398: http-get request fails for github.com
  2019-04-23 15:42 bug#35398: http-get request fails for github.com Brian Woodcox
  2019-05-23  8:33 ` Ricardo Wurmus
@ 2019-06-24 13:21 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-06-24 13:21 UTC (permalink / raw)
  To: Brian Woodcox; +Cc: 35398

Hi Brian,

Brian Woodcox <bw@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’.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-24 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23 15:42 bug#35398: http-get request fails for github.com Brian Woodcox
2019-05-23  8:33 ` Ricardo Wurmus
2019-06-24 13:21 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).