From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: ci.guix.info 504 gateway timeout (was Re: guix package builds, subsitutes and --no-build) Date: Mon, 25 Feb 2019 14:11:43 +0100 Message-ID: <87a7ik57xs.fsf@roquette.mug.biscuolo.net> References: <87pnrm76ta.fsf@roquette.mug.biscuolo.net> <20190220214442.GA22965@jasmine.lan> <871s416umx.fsf@roquette.mug.biscuolo.net> <87ef80trpm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyG3O-0006P3-Qs for help-guix@gnu.org; Mon, 25 Feb 2019 08:12:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyG3M-0000Wg-Tv for help-guix@gnu.org; Mon, 25 Feb 2019 08:12:18 -0500 In-Reply-To: <87ef80trpm.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich Cc: guix-devel@gnu.org, help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Chris, thanks for looking into this issue! Chris Marusich writes: > Giovanni Biscuolo writes: [...] >> actually all https://ci.guix.info/ returns 504 "Gateway Time-out": >> AFAIU this mean I'm not able to install that package (possibly others) >> for some problem in the CDN > > Summary: A Cuirass API is failing, but substitutes are available. The > CDN is not the problem. I'll explain more below. OK I got it, actually I didn't check https://berlin.guixsd.org/ whan I got that error the "504 Gateway Time-out" is coming from https://berlin.guixsd.org/, **but** _sometimes_ the error goes away I mean: if I try to reach https://berlin.guixsd.org/ or https://ci.guix.info/ and periodically reload the page, sometimes I get 504 error and sometimes not in particular, it _seems_ to me that the gateway time-out is triggered by a visit to https://ci.guix.info/api/queue?nr=3D1000 I mean: if I reach https://berlin.guixsd.org/ or https://ci.guix.info/ and I get a proper response (not 504) I can subsequently reload the page and clean the cache and always get a proper response; after I try to visit https://ci.guix.info/api/queue?nr=3D1000 in my browser and then try to visit https://ci.guix.info/ or https://berlin.guixsd.org/ I systematically get a 504 > The 504 error comes from berlin, not the CDN. If you access > berlin.guixsd.org directly when the 504 occurs, I think you'll see a 504 > from there, too. OK, sorry for the confusion I made: it's not CDN related nevertheless it seems to me we have a problem with our infrastructure [...] > What I'm trying to say is that the 504 doesn't mean substitutes are > unavailable. OK, so my problem getting ungoogled-chromium installed is not related to the 504 gateway timeout from the web API unfortunately I'm still having problems installing it since my client does not download the substitute but starts building the derivation: =2D-8<---------------cut here---------------start------------->8--- $ guix package -i ungoogled-chromium substitute: updating substitutes from 'https://ci.guix.info'... 100.0% building /gnu/store/4mvzzx2jmr4r4p2kx0hcvwr9s9lvx0gd-ungoogled-chromium-72.= 0.3626.109.drv... \ 'set-paths' phase^C =2D-8<---------------cut here---------------end--------------->8--- despite =2D-8<---------------cut here---------------start------------->8--- computing 1 package derivations for x86_64-linux... looking for 1 store items on https://ci.guix.info... https://ci.guix.info 100.0% substitutes available (1 out of 1) 99,3 MiB of nars (compressed) 288,3 MiB on disk (uncompressed) 0,059 seconds per request (0,1 seconds in total) 16,9 requests per second 'https://ci.guix.info/api/queue?nr=3D1000' returned 504 ("Gateway Time-ou= t") =2D-8<---------------cut here---------------end--------------->8--- ...and I still can't understand why Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxz6Y8ACgkQ030Op87M ORJGihAAq7i4RPNHWuNZiLqdghtPzIRVK7bgcGzPIFGNPlKRUiY3u+8HI6vERO4u Co7FQEoqEgt9eF3bY4LpfaZ7ZQVELdRiLIUT/yLbZMj7y3PBxelVQgln7DW9XQeT Gla0BVfXnll237NddHjZcSUY1V6NeIvLGHRN1IeLNKnFDlZemkXz4f6kDDyKzsHM t6g3vrVT4Qxi8mfUOaw493MkXdbmNHC5AOKGm4hCZUSzoMTPukPMFq8ieG7CPreR w9SRpSlBA3CfYfpmAlMHC2zn2gQCfn7Dt+Vt/EzLSUGrog65d/eRr4iuhLIQ8u4+ VavlJPmyBsI7Vo+NG4PSfCI37R08OLLW06m70g1g3uLHz5eI1XB34Og4KqzZdDdg /vOA2o/OGo4cHpUmnKYIlVVnYo/lbPdVwiEDoh28upcvu4tgGcEsBvo1lc1tVhGU 6rsrKR+yO4GxgaZwIQD3ubqOe2dYX09m3ag/7Q5wskJsnHAIAwQY4s/Weih9g7Yh CxEr0uyXxo4EPGxWfJeTRtOxAO5L+WqVqID7HctXvKFT2vzza0d7qURflGGc1r2L qnXYEHVQLVKzGihHGtKZZJBA+8LPvZZrlMJBfkCZmRQknnED5U5ePzwIwfFdX3rx ZLLG3FVRqiY/7tgN9zrdPUn1+6jXAjO9qRBRdPISmexxftVIp6g= =90EQ -----END PGP SIGNATURE----- --=-=-=--