unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33151: 'guix substitute' returns a 504 error without trying to use other servers
@ 2018-10-25 15:31 Clément Lassieur
  2018-10-26 17:50 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Clément Lassieur @ 2018-10-25 15:31 UTC (permalink / raw)
  To: 33151

Hi,

I get a 504 error while installing Octave, even though Octave is built
on my substitute server (cuirass.lassieur.org), and I cleared the cache.

I think it should automatically fallback on another substitute server if
one of them is down.

--8<---------------cut here---------------start------------->8---
substitute: updating substitutes from 'https://cuirass.lassieur.org'... 100.0%
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0%
substitute: updating substitutes from 'https://cuirass.lassieur.org'... 100.0%
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
The following derivations will be built:
   /gnu/store/nk57a8qz74xnxqd2imxkgsxf2wynhdh9-profile.drv
   /gnu/store/zb57j7xxqwp551xcq7v703334hq2kcvw-fonts-dir.drv
   /gnu/store/w23wv5s58p1amjyxbdwmvmvzqzl5s7kh-xdg-mime-database.drv
   /gnu/store/qw3f7ardwva1r0vcxibv3wpbdhd6wd1z-xdg-desktop-database.drv
   /gnu/store/nr8y1gsyw1a2sc033qgn4i2n2537akl9-ca-certificate-bundle.drv
   /gnu/store/mf8jfsrg2324wjwh3c10lnbx0ch1amr0-gtk-im-modules.drv
   /gnu/store/kkvsygfry98lnfl4j2m6c23lfvnvbf1x-glib-schemas.drv
   /gnu/store/89lndcfdvd0k3y1gg2k4zmj4x9m2jvsl-gtk-icon-themes.drv
   /gnu/store/7m8196z2sm1cbwi5hlq7m0w25d0cizb7-info-dir.drv
   /gnu/store/i4my5nh2k8i4hc854s8lig4qfcccnsvz-graphviz-2.40.1.drv
   /gnu/store/3xi9isbhzzwyvw0cc5j2da6cbnic7z89-graphicsmagick-1.3.30.drv
   /gnu/store/9z6fsci062frwg5gjylbk916vxbx4y7q-gl2ps-1.4.0.drv
   /gnu/store/2x7lfxnz8kjxpki7myffingc4falxg6r-manual-database.drv
   /gnu/store/3fyvy9i8i6j7rk1f5rpxvrp3yp4hfiaj-octave-4.4.1.drv
20,8 MB will be downloaded:
   /gnu/store/9s72xm4slmqjn62j82y036i730pkf5sa-octave-4.4.1
   /gnu/store/7hv88pwzwwcasvfgf80kjajkglpz8mgv-suitesparse-4.5.5
building /gnu/store/9z6fsci062frwg5gjylbk916vxbx4y7q-gl2ps-1.4.0.drv...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0' failed: 504, "Gateway Time-out"
substitution of /gnu/store/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0 failed
building /gnu/store/i4my5nh2k8i4hc854s8lig4qfcccnsvz-graphviz-2.40.1.drv...
guix package: error: build failed: some substitutes for the outputs of derivation `/gnu/store/wj0y6b1cbqjhkfa074kgvgrbnz7ay9sw-octave-4.4.1.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 
--8<---------------cut here---------------end--------------->8---

Cheers,
Clément

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

* bug#33151: 'guix substitute' returns a 504 error without trying to use other servers
  2018-10-25 15:31 bug#33151: 'guix substitute' returns a 504 error without trying to use other servers Clément Lassieur
@ 2018-10-26 17:50 ` Ludovic Courtès
  2018-10-27  1:11   ` Clément Lassieur
  2018-11-05 10:53   ` Clément Lassieur
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2018-10-26 17:50 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 33151

Hello!

Clément Lassieur <clement@lassieur.org> skribis:

> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0' failed: 504, "Gateway Time-out"
> substitution of /gnu/store/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0 failed

The problem is that hydra.gnu.org is currently down¹ and
mirror.hydra.gnu.org is just proxying it.

What happens here is that
<https://mirror.hydra.gnu.org/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5.narinfo>
is available (cached), whereas the corresponding
<https://mirror.hydra.gnu.org/guix/nar/gzip/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0>
is not.

I don’t have a good solution to this other than temporarily removing
mirror.hydra.gnu.org from your substitute URLs.

HTH,
Ludo’.

¹ https://lists.gnu.org/archive/html/guix-devel/2018-10/msg00434.html

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

* bug#33151: 'guix substitute' returns a 504 error without trying to use other servers
  2018-10-26 17:50 ` Ludovic Courtès
@ 2018-10-27  1:11   ` Clément Lassieur
  2018-11-05 10:53   ` Clément Lassieur
  1 sibling, 0 replies; 6+ messages in thread
From: Clément Lassieur @ 2018-10-27  1:11 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33151

Hello Ludovic, thank you for this explanation!

Ludovic Courtès <ludo@gnu.org> writes:

> Hello!
>
> Clément Lassieur <clement@lassieur.org> skribis:
>
>> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0' failed: 504, "Gateway Time-out"
>> substitution of /gnu/store/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0 failed
>
> The problem is that hydra.gnu.org is currently down¹ and
> mirror.hydra.gnu.org is just proxying it.
>
> What happens here is that
> <https://mirror.hydra.gnu.org/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5.narinfo>
> is available (cached), whereas the corresponding
> <https://mirror.hydra.gnu.org/guix/nar/gzip/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0>
> is not.
>
> I don’t have a good solution to this other than temporarily removing
> mirror.hydra.gnu.org from your substitute URLs.
>
> HTH,
> Ludo’.
>
> ¹ https://lists.gnu.org/archive/html/guix-devel/2018-10/msg00434.html

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

* bug#33151: 'guix substitute' returns a 504 error without trying to use other servers
  2018-10-26 17:50 ` Ludovic Courtès
  2018-10-27  1:11   ` Clément Lassieur
@ 2018-11-05 10:53   ` Clément Lassieur
  2018-11-05 21:33     ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Clément Lassieur @ 2018-11-05 10:53 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33151

Hi Ludovic,

I don't understand why you closed the bug report.  Your explanation of
the bug makes sense, but it doesn't mean that it's fixed.

I expect that when a substitute server is down, for whatever reason,
Guix should still work smoothly if there is another server set up.

If you think there is no way to fix it, maybe the tag "wontfix" would be
more appropriate?

Cheers,
Clément

Ludovic Courtès <ludo@gnu.org> writes:

> Hello!
>
> Clément Lassieur <clement@lassieur.org> skribis:
>
>> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0' failed: 504, "Gateway Time-out"
>> substitution of /gnu/store/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0 failed
>
> The problem is that hydra.gnu.org is currently down¹ and
> mirror.hydra.gnu.org is just proxying it.
>
> What happens here is that
> <https://mirror.hydra.gnu.org/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5.narinfo>
> is available (cached), whereas the corresponding
> <https://mirror.hydra.gnu.org/guix/nar/gzip/9xwrnm3vymsf9w17ayc7dfp5cl1aykq5-metis-5.1.0>
> is not.
>
> I don’t have a good solution to this other than temporarily removing
> mirror.hydra.gnu.org from your substitute URLs.
>
> HTH,
> Ludo’.
>
> ¹ https://lists.gnu.org/archive/html/guix-devel/2018-10/msg00434.html

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

* bug#33151: 'guix substitute' returns a 504 error without trying to use other servers
  2018-11-05 10:53   ` Clément Lassieur
@ 2018-11-05 21:33     ` Ludovic Courtès
  2018-11-10 15:08       ` Clément Lassieur
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-11-05 21:33 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 33151

Hello Clément,

Clément Lassieur <clement@lassieur.org> skribis:

> I don't understand why you closed the bug report.  Your explanation of
> the bug makes sense, but it doesn't mean that it's fixed.
>
> I expect that when a substitute server is down, for whatever reason,
> Guix should still work smoothly if there is another server set up.
>
> If you think there is no way to fix it, maybe the tag "wontfix" would be
> more appropriate?

No I think you’re right, I shouldn’t have closed it.

I think my first thought was that the problem (narinfo available but
corresponding nar missing) was mostly due to our peculiar nginx setup on
mirror.hydra.gnu.org: this cannot happen under normal circumstances
because ‘guix publish’ really honors the expiry it sets on narinfos.

That said, we could fix ‘process-substitution’ in (guix scripts
substitute) to try other nar URLs (if any) upon failure.

IMO such a fix is not “high-priority” for the reason I gave above, but
OTOH it can be helpful to better cope with the sad reality of situations
like the one we’re in.

Thoughts?

Thanks for the heads-up, and sorry for hitting the “close” button too
quickly!

Ludo’.

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

* bug#33151: 'guix substitute' returns a 504 error without trying to use other servers
  2018-11-05 21:33     ` Ludovic Courtès
@ 2018-11-10 15:08       ` Clément Lassieur
  0 siblings, 0 replies; 6+ messages in thread
From: Clément Lassieur @ 2018-11-10 15:08 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33151

Ludovic Courtès <ludo@gnu.org> writes:

> I think my first thought was that the problem (narinfo available but
> corresponding nar missing) was mostly due to our peculiar nginx setup on
> mirror.hydra.gnu.org: this cannot happen under normal circumstances
> because ‘guix publish’ really honors the expiry it sets on narinfos.
>
> That said, we could fix ‘process-substitution’ in (guix scripts
> substitute) to try other nar URLs (if any) upon failure.
>
> IMO such a fix is not “high-priority” for the reason I gave above, but
> OTOH it can be helpful to better cope with the sad reality of situations
> like the one we’re in.
>
> Thoughts?

I agree that fixing 'process-substitution' would be nice even though
it's not a high priority issue.

> Thanks for the heads-up, and sorry for hitting the “close” button too
> quickly!

No problem ;)  I also removed the "fixed" tag.

Clément

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

end of thread, other threads:[~2018-11-10 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 15:31 bug#33151: 'guix substitute' returns a 504 error without trying to use other servers Clément Lassieur
2018-10-26 17:50 ` Ludovic Courtès
2018-10-27  1:11   ` Clément Lassieur
2018-11-05 10:53   ` Clément Lassieur
2018-11-05 21:33     ` Ludovic Courtès
2018-11-10 15:08       ` Clément Lassieur

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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