GNU bug report logs -
#28731
guix weather backtrace on https://mirror.guixsd.org
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28731 in the body.
You can then email your comments to 28731 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#28731
; Package
guix
.
(Sat, 07 Oct 2017 14:53:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jan Nieuwenhuizen <janneke <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 07 Oct 2017 14:53:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Running guix weather on latest master* gives me
computing 6,224 package derivations for x86_64-linux...
looking for 6,486 store items on https://mirror.hydra.gnu.org...
updating list of substitutes from 'https://mirror.hydra.gnu.org'... 0.0%Backtrace:
10 (primitive-load "/home/janneke/bin/guix")
In guix/ui.scm:
1375:12 9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
837:9 8 (catch _ _ #<procedure 7fecbd7209d8 at guix/ui.scm:451:2 (key c)> _)
837:9 7 (catch _ _ #<procedure 7fecbd7209f0 at guix/ui.scm:539:6 (key proc format-string format-args . r…> …)
In srfi/srfi-1.scm:
640:9 6 (for-each #<procedure 109b57c0 at guix/scripts/weather.scm:228:16 (server)> ("https://mirror.hyd…"))
In guix/scripts/weather.scm:
99:17 5 (call-with-time _ #<procedure c734780 at guix/scripts/weather.scm:113:2 (time narinfos)>)
In unknown file:
4 (_ #<procedure 109b5580 at guix/scripts/weather.scm:113:2 ()> #<procedure list _> #<undefined>)
In guix/scripts/substitute.scm:
711:23 3 (lookup-narinfos _ _)
664:23 2 (fetch-narinfos _ _)
567:8 1 (http-multiple-get #<<uri> scheme: https userinfo: #f host: "mirror.hydra.gnu.org" port: #f path…> …)
In unknown file:
0 (put-bytevector #<input-output: string ae694d0> #vu8(71 69 84 32 47 57 48 100 104 50 114 54 107 …) …)
ERROR: In procedure put-bytevector:
ERROR: Throw to key `gnutls-error' with args `(#<gnutls-error-enum Resource temporarily unavailable, try again.> write_to_session_record_port)'.
My daemon uses substitute-urls "https://mirror.guixsd.org https://hydra.gnu.org http://guix.oban.verum.com:8181 http://guix2.oban.verum.com:8181 http://janneke.lilypond.org:8080"
*) 3ae76f7f5 gnu: vsearch: Update to 2.5.0.
--
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
Severity set to 'important' from 'normal'
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Fri, 20 Oct 2017 16:05:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Thu, 26 Oct 2017 07:30:04 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jan Nieuwenhuizen <janneke <at> gnu.org>
:
bug acknowledged by developer.
(Thu, 26 Oct 2017 07:30:04 GMT)
Full text and
rfc822 format available.
Message #12 received at 28731-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Jan Nieuwenhuizen <janneke <at> gnu.org> skribis:
> Running guix weather on latest master* gives me
>
> computing 6,224 package derivations for x86_64-linux...
> looking for 6,486 store items on https://mirror.hydra.gnu.org...
> updating list of substitutes from 'https://mirror.hydra.gnu.org'... 0.0%Backtrace:
> 10 (primitive-load "/home/janneke/bin/guix")
> In guix/ui.scm:
> 1375:12 9 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 837:9 8 (catch _ _ #<procedure 7fecbd7209d8 at guix/ui.scm:451:2 (key c)> _)
> 837:9 7 (catch _ _ #<procedure 7fecbd7209f0 at guix/ui.scm:539:6 (key proc format-string format-args . r…> …)
> In srfi/srfi-1.scm:
> 640:9 6 (for-each #<procedure 109b57c0 at guix/scripts/weather.scm:228:16 (server)> ("https://mirror.hyd…"))
> In guix/scripts/weather.scm:
> 99:17 5 (call-with-time _ #<procedure c734780 at guix/scripts/weather.scm:113:2 (time narinfos)>)
> In unknown file:
> 4 (_ #<procedure 109b5580 at guix/scripts/weather.scm:113:2 ()> #<procedure list _> #<undefined>)
> In guix/scripts/substitute.scm:
> 711:23 3 (lookup-narinfos _ _)
> 664:23 2 (fetch-narinfos _ _)
> 567:8 1 (http-multiple-get #<<uri> scheme: https userinfo: #f host: "mirror.hydra.gnu.org" port: #f path…> …)
> In unknown file:
> 0 (put-bytevector #<input-output: string ae694d0> #vu8(71 69 84 32 47 57 48 100 104 50 114 54 107 …) …)
>
> ERROR: In procedure put-bytevector:
> ERROR: Throw to key `gnutls-error' with args `(#<gnutls-error-enum Resource temporarily unavailable, try again.> write_to_session_record_port)'.
I believe this is fixed by this commit:
http://git.savannah.gnu.org/cgit/guix.git/commit/?id=d213cc8c7f085428e3c64243b0d163423e4bb5f6
The crux of the problem was that we were sending too many requests at
once, and for some reason the server would close the connection
prematurely (in HTTPS, not HTTP). It didn’t make sense to send too many
connections at once anyway, because the server won’t accept that many
(see ‘keepalive_requests’ in nginx), so the commit above sets a maximum.
The problem could be reproduced with:
--8<---------------cut here---------------start------------->8---
(use-modules (guix scripts substitute)
(guix build utils)
(web request)
(web uri)
(srfi srfi-1)
(gnutls))
(define base-url
(or (getenv "URL")
"https://mirror.hydra.gnu.org"))
(define base-uri
(string->uri base-url))
(define index.html
(build-request
(string->uri (string-append base-url
"/nix-cache-info"
;; "/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.narinfo"
;; "/yihvhxv3xyyvl1m2cy1lnf1lyi9h76fk.narinfo"
))))
(define http-multiple-get
(@@ (guix scripts substitute) http-multiple-get))
;; (set-log-level! 5)
;; (set-log-procedure! (lambda (level message)
;; (display message)))
(let ((requests (make-list 100000 index.html)))
(http-multiple-get base-uri
(lambda (req resp port result)
(dump-port port (%make-void-port "w"))
(cons 'x result))
'()
requests))
--8<---------------cut here---------------end--------------->8---
Thanks,
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 23 Nov 2017 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.