From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 21 05:29:40 2018 Received: (at submit) by debbugs.gnu.org; 21 Jul 2018 09:29:40 +0000 Received: from localhost ([127.0.0.1]:50211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgoCp-0001z2-SZ for submit@debbugs.gnu.org; Sat, 21 Jul 2018 05:29:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgoCo-0001yr-NE for submit@debbugs.gnu.org; Sat, 21 Jul 2018 05:29:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgoCi-0004lr-GW for submit@debbugs.gnu.org; Sat, 21 Jul 2018 05:29:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,WEIRD_PORT autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgoCi-0004lY-EQ for submit@debbugs.gnu.org; Sat, 21 Jul 2018 05:29:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgoCh-0001BK-FB for bug-guix@gnu.org; Sat, 21 Jul 2018 05:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgoCe-0004jB-Cu for bug-guix@gnu.org; Sat, 21 Jul 2018 05:29:31 -0400 Received: from mail.lassieur.org ([83.152.10.219]:60318) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgoCe-0004f8-0C for bug-guix@gnu.org; Sat, 21 Jul 2018 05:29:28 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id c95bd089 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sat, 21 Jul 2018 09:29:22 +0000 (UTC) User-agent: mu4e 1.0; emacs 26.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: bug-guix@gnu.org Subject: Cuirass: Berlin web API times out Date: Sat, 21 Jul 2018 11:29:21 +0200 Message-ID: <87lga5lyxa.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) Hi, https://berlin.guixsd.org:8081/ times out. I'm using the exact same config at home to try to reproduce the issue. Cl=C3=A9ment From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 21 08:40:35 2018 Received: (at control) by debbugs.gnu.org; 21 Jul 2018 12:40:35 +0000 Received: from localhost ([127.0.0.1]:50293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgrBa-00028G-VG for submit@debbugs.gnu.org; Sat, 21 Jul 2018 08:40:35 -0400 Received: from mail.lassieur.org ([83.152.10.219]:50050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgrBZ-000285-9M for control@debbugs.gnu.org; Sat, 21 Jul 2018 08:40:33 -0400 Received: from rodion (37.170.115.37 [37.170.115.37]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 4ae42ea9 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sat, 21 Jul 2018 12:40:31 +0000 (UTC) Date: Sat, 21 Jul 2018 14:40:30 +0200 Message-Id: <87in58n4n5.fsf@lassieur.org> To: control@debbugs.gnu.org From: clement@lassieur.org (=?utf-8?Q?Cl=C3=A9ment?= Lassieur) Subject: control message for bug #32233 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) block 32233 by 32234 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 05:08:51 2018 Received: (at 32233) by debbugs.gnu.org; 23 Jul 2018 09:08:52 +0000 Received: from localhost ([127.0.0.1]:53071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhWpn-0001t4-Lu for submit@debbugs.gnu.org; Mon, 23 Jul 2018 05:08:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhWpm-0001sp-EX for 32233@debbugs.gnu.org; Mon, 23 Jul 2018 05:08:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhWpc-0003Go-A0 for 32233@debbugs.gnu.org; Mon, 23 Jul 2018 05:08:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,WEIRD_PORT autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhWpc-0003Gi-5S; Mon, 23 Jul 2018 05:08:40 -0400 Received: from [193.50.110.227] (port=34546 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhWpb-0002tm-Nt; Mon, 23 Jul 2018 05:08:40 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#32233: Cuirass: Berlin web API times out References: <87lga5lyxa.fsf@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Thermidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 23 Jul 2018 11:08:38 +0200 In-Reply-To: <87lga5lyxa.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Sat, 21 Jul 2018 11:29:21 +0200") Message-ID: <87lga2tj3d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32233 Cc: 32233@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello, Cl=C3=A9ment Lassieur skribis: > https://berlin.guixsd.org:8081/ times out. Note that Cuirass listens on localhost:8081, so you cannot reach it from the outside (and it=E2=80=99s HTTP, too.) There=E2=80=99s nginx that proxi= es things, see guix-maintenance.git. Now, with the version currently running, I can tell you that this URL is not very interesting: --8<---------------cut here---------------start------------->8--- $ wget -O - http://localhost:8081 --2018-07-23 11:06:22-- http://localhost:8081/ Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:8081... connected. HTTP request sent, awaiting response... 404 Not Found 2018-07-23 11:06:22 ERROR 404: Not Found. --8<---------------cut here---------------end--------------->8--- :-) Is the Web UI already in the current =E2=80=98cuirass=E2=80=99 package? If= so, what do we need to change in the nginx config? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 07:54:49 2018 Received: (at 32233-done) by debbugs.gnu.org; 23 Jul 2018 11:54:49 +0000 Received: from localhost ([127.0.0.1]:53132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhZQN-0007sM-DU for submit@debbugs.gnu.org; Mon, 23 Jul 2018 07:54:49 -0400 Received: from mail.lassieur.org ([83.152.10.219]:50274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhZQL-0007sB-I9 for 32233-done@debbugs.gnu.org; Mon, 23 Jul 2018 07:54:46 -0400 Received: from newt (smtp.parrot.biz [62.23.167.188]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id ec77115f (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Mon, 23 Jul 2018 11:54:43 +0000 (UTC) References: <87lga5lyxa.fsf@lassieur.org> <87lga2tj3d.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#32233: Cuirass: Berlin web API times out In-reply-to: <87lga2tj3d.fsf@gnu.org> Date: Mon, 23 Jul 2018 13:54:43 +0200 Message-ID: <87va96tbek.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32233-done Cc: 32233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Ludovic, Ludovic Court=C3=A8s writes: > Hello, > > Cl=C3=A9ment Lassieur skribis: > >> https://berlin.guixsd.org:8081/ times out. > > Note that Cuirass listens on localhost:8081, so you cannot reach it from > the outside (and it=E2=80=99s HTTP, too.) There=E2=80=99s nginx that pro= xies things, > see guix-maintenance.git. Ha :-) I had forgotten about it! So it's not a bug at all, closing it. > Now, with the version currently running, I can tell you that this URL is > not very interesting: > > --8<---------------cut here---------------start------------->8--- > $ wget -O - http://localhost:8081 > --2018-07-23 11:06:22-- http://localhost:8081/ > Resolving localhost (localhost)... 127.0.0.1 > Connecting to localhost (localhost)|127.0.0.1|:8081... connected. > HTTP request sent, awaiting response... 404 Not Found > 2018-07-23 11:06:22 ERROR 404: Not Found. > --8<---------------cut here---------------end--------------->8--- > > :-) Well yes, I was expecting 404, because even though it's not very interesting, it shows that the url handler works. > Is the Web UI already in the current =E2=80=98cuirass=E2=80=99 package? Soon! But I think we should change the NGINX config nonetheless because the json API is useful. > If so, what do we need to change in the nginx config? I guess we could add: --8<---------------cut here---------------start------------->8--- server { listen 8081 ssl; server_name berlin.guixsd.org; ssl_certificate /etc/letsencrypt/live/berlin.guixsd.org/fullchain.p= em; ssl_certificate_key /etc/letsencrypt/live/berlin.guixsd.org/privkey.pem; # Make sure SSL is disabled. ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Disable weak cipher suites. ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; # Use our own DH parameters created with: # openssl dhparam -out dhparams.pem 2048 # as suggested at . ssl_dhparam /etc/dhparams.pem; access_log /var/log/nginx/https.access.log; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; location / { proxy_pass http://localhost:8081; } } --8<---------------cut here---------------end--------------->8--- I can do the commit if you want (and agree with the content), as you wish. Cl=C3=A9ment From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 10:53:00 2018 Received: (at 32233-done) by debbugs.gnu.org; 23 Jul 2018 14:53:00 +0000 Received: from localhost ([127.0.0.1]:54228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhcCq-0005t0-Cx for submit@debbugs.gnu.org; Mon, 23 Jul 2018 10:53:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhcCn-0005sm-Bg for 32233-done@debbugs.gnu.org; Mon, 23 Jul 2018 10:52:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhcCf-00066n-7T for 32233-done@debbugs.gnu.org; Mon, 23 Jul 2018 10:52:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhcCf-00066h-3Y; Mon, 23 Jul 2018 10:52:49 -0400 Received: from [193.50.110.227] (port=34894 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhcCe-0002nv-IB; Mon, 23 Jul 2018 10:52:48 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#32233: Cuirass: Berlin web API times out References: <87lga5lyxa.fsf@lassieur.org> <87lga2tj3d.fsf@gnu.org> <87va96tbek.fsf@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Thermidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 23 Jul 2018 16:52:47 +0200 In-Reply-To: <87va96tbek.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Mon, 23 Jul 2018 13:54:43 +0200") Message-ID: <87h8kqovgg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32233-done Cc: 32233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Cl=C3=A9ment Lassieur skribis: >> Is the Web UI already in the current =E2=80=98cuirass=E2=80=99 package? > > Soon! But I think we should change the NGINX config nonetheless because > the json API is useful. The JSON API is available; see =E2=80=98berlin-locations.conf=E2=80=99. >> If so, what do we need to change in the nginx config? > > I guess we could add: > > server { [...] > location / { > proxy_pass http://localhost:8081; > } > } I think this change should go do =E2=80=98berlin-locations.conf=E2=80=99. = Feel free to commit! Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 11:29:21 2018 Received: (at 32233-done) by debbugs.gnu.org; 23 Jul 2018 15:29:21 +0000 Received: from localhost ([127.0.0.1]:54239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhcm0-0006k0-QY for submit@debbugs.gnu.org; Mon, 23 Jul 2018 11:29:20 -0400 Received: from mail.lassieur.org ([83.152.10.219]:50282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhcly-0006jr-SI for 32233-done@debbugs.gnu.org; Mon, 23 Jul 2018 11:29:19 -0400 Received: from newt (smtp.parrot.biz [62.23.167.188]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id abff1cd8 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Mon, 23 Jul 2018 15:29:17 +0000 (UTC) References: <87lga5lyxa.fsf@lassieur.org> <87lga2tj3d.fsf@gnu.org> <87va96tbek.fsf@lassieur.org> <87h8kqovgg.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#32233: Cuirass: Berlin web API times out In-reply-to: <87h8kqovgg.fsf@gnu.org> Date: Mon, 23 Jul 2018 17:29:16 +0200 Message-ID: <87sh4at1gz.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32233-done Cc: 32233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > Cl=C3=A9ment Lassieur skribis: > >>> Is the Web UI already in the current =E2=80=98cuirass=E2=80=99 package? >> >> Soon! But I think we should change the NGINX config nonetheless because >> the json API is useful. > > The JSON API is available; see =E2=80=98berlin-locations.conf=E2=80=99. > >>> If so, what do we need to change in the nginx config? >> >> I guess we could add: >> >> server { > > [...] > >> location / { >> proxy_pass http://localhost:8081; >> } >> } > > I think this change should go do =E2=80=98berlin-locations.conf=E2=80=99. That would conflict with the '/' location of ports 80 and 443. I was rather thinking about using port 8081 for Cuirass. In that case the 'server' block would be needed in berlin.conf. We would also remove # Cuirass. location /specifications { proxy_pass http://localhost:8081; } location /jobsets { proxy_pass http://localhost:8081; } location /build { proxy_pass http://localhost:8081; } location /api { proxy_pass http://localhost:8081; } from berlin-locations.conf. Otherwise we need to think about what routes go to Cuirass and what routes go to Guix publish. Alternatively, we could use another domain name with ports 80 and 443, but it's more work. WDYT? From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 16:07:49 2018 Received: (at 32233-done) by debbugs.gnu.org; 23 Jul 2018 20:07:49 +0000 Received: from localhost ([127.0.0.1]:54366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhh7V-0004sk-CN for submit@debbugs.gnu.org; Mon, 23 Jul 2018 16:07:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhh7U-0004sY-4L for 32233-done@debbugs.gnu.org; Mon, 23 Jul 2018 16:07:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhh7O-0008Al-2u for 32233-done@debbugs.gnu.org; Mon, 23 Jul 2018 16:07:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhh7N-0008AQ-Up; Mon, 23 Jul 2018 16:07:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50328 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhh7N-0006Tx-JW; Mon, 23 Jul 2018 16:07:41 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#32233: Cuirass: Berlin web API times out References: <87lga5lyxa.fsf@lassieur.org> <87lga2tj3d.fsf@gnu.org> <87va96tbek.fsf@lassieur.org> <87h8kqovgg.fsf@gnu.org> <87sh4at1gz.fsf@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Thermidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 23 Jul 2018 22:07:40 +0200 In-Reply-To: <87sh4at1gz.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Mon, 23 Jul 2018 17:29:16 +0200") Message-ID: <87d0vdogvn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32233-done Cc: 32233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Cl=C3=A9ment Lassieur skribis: > Ludovic Court=C3=A8s writes: > >> Cl=C3=A9ment Lassieur skribis: >> >>>> Is the Web UI already in the current =E2=80=98cuirass=E2=80=99 package? >>> >>> Soon! But I think we should change the NGINX config nonetheless because >>> the json API is useful. >> >> The JSON API is available; see =E2=80=98berlin-locations.conf=E2=80=99. >> >>>> If so, what do we need to change in the nginx config? >>> >>> I guess we could add: >>> >>> server { >> >> [...] >> >>> location / { >>> proxy_pass http://localhost:8081; >>> } >>> } >> >> I think this change should go do =E2=80=98berlin-locations.conf=E2=80=99. > > That would conflict with the '/' location of ports 80 and 443. I was > rather thinking about using port 8081 for Cuirass. In that case the > 'server' block would be needed in berlin.conf. We would also remove > > # Cuirass. > location /specifications { proxy_pass http://localhost:8081; } > location /jobsets { proxy_pass http://localhost:8081; } > location /build { proxy_pass http://localhost:8081; } > location /api { proxy_pass http://localhost:8081; } > > from berlin-locations.conf. Hmm, I think nginx should still expose both the Cuirass HTTP API and UI and =E2=80=98guix publish=E2=80=99 on ports 80 and 443. So we just need to= have: location / { proxy_pass http://localhost:8081; } and then exceptions for =E2=80=98guix publish=E2=80=99: location \.narinfo { =E2=80=A6 } location /nar/ { =E2=80=A6 } location /log/ { =E2=80=A6 } location /file/ { =E2=80=A6 } WDYT? Or am I missing something? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 16:12:27 2018 Received: (at 32233-done) by debbugs.gnu.org; 23 Jul 2018 20:12:27 +0000 Received: from localhost ([127.0.0.1]:54375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhhBy-00050A-TF for submit@debbugs.gnu.org; Mon, 23 Jul 2018 16:12:27 -0400 Received: from mail.lassieur.org ([83.152.10.219]:50292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhhBx-000502-Cm for 32233-done@debbugs.gnu.org; Mon, 23 Jul 2018 16:12:25 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id c9b71c41 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Mon, 23 Jul 2018 20:12:23 +0000 (UTC) References: <87lga5lyxa.fsf@lassieur.org> <87lga2tj3d.fsf@gnu.org> <87va96tbek.fsf@lassieur.org> <87h8kqovgg.fsf@gnu.org> <87sh4at1gz.fsf@lassieur.org> <87d0vdogvn.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#32233: Cuirass: Berlin web API times out In-reply-to: <87d0vdogvn.fsf@gnu.org> Date: Mon, 23 Jul 2018 22:12:23 +0200 Message-ID: <87tvopn23c.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32233-done Cc: 32233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > Cl=C3=A9ment Lassieur skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Cl=C3=A9ment Lassieur skribis: >>> >>>>> Is the Web UI already in the current =E2=80=98cuirass=E2=80=99 packag= e? >>>> >>>> Soon! But I think we should change the NGINX config nonetheless becau= se >>>> the json API is useful. >>> >>> The JSON API is available; see =E2=80=98berlin-locations.conf=E2=80=99. >>> >>>>> If so, what do we need to change in the nginx config? >>>> >>>> I guess we could add: >>>> >>>> server { >>> >>> [...] >>> >>>> location / { >>>> proxy_pass http://localhost:8081; >>>> } >>>> } >>> >>> I think this change should go do =E2=80=98berlin-locations.conf=E2=80= =99. >> >> That would conflict with the '/' location of ports 80 and 443. I was >> rather thinking about using port 8081 for Cuirass. In that case the >> 'server' block would be needed in berlin.conf. We would also remove >> >> # Cuirass. >> location /specifications { proxy_pass http://localhost:8081; } >> location /jobsets { proxy_pass http://localhost:8081; } >> location /build { proxy_pass http://localhost:8081; } >> location /api { proxy_pass http://localhost:8081; } >> >> from berlin-locations.conf. > > Hmm, I think nginx should still expose both the Cuirass HTTP API and UI > and =E2=80=98guix publish=E2=80=99 on ports 80 and 443. So we just need = to have: > > location / { proxy_pass http://localhost:8081; } > > and then exceptions for =E2=80=98guix publish=E2=80=99: > > location \.narinfo { =E2=80=A6 } > location /nar/ { =E2=80=A6 } > location /log/ { =E2=80=A6 } > location /file/ { =E2=80=A6 } > > WDYT? Or am I missing something? No :-) Sounds good! From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 29 19:25:38 2018 Received: (at 32233-done) by debbugs.gnu.org; 29 Jul 2018 23:25:38 +0000 Received: from localhost ([127.0.0.1]:34204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjv4E-0004TL-GK for submit@debbugs.gnu.org; Sun, 29 Jul 2018 19:25:38 -0400 Received: from mail.lassieur.org ([83.152.10.219]:50598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjv4D-0004TD-21 for 32233-done@debbugs.gnu.org; Sun, 29 Jul 2018 19:25:37 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id a436e560 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Sun, 29 Jul 2018 23:25:32 +0000 (UTC) References: <87lga5lyxa.fsf@lassieur.org> <87lga2tj3d.fsf@gnu.org> <87va96tbek.fsf@lassieur.org> <87h8kqovgg.fsf@gnu.org> <87sh4at1gz.fsf@lassieur.org> <87d0vdogvn.fsf@gnu.org> <87tvopn23c.fsf@lassieur.org> User-agent: mu4e 1.0; emacs 26.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#32233: Cuirass: Berlin web API times out In-reply-to: <87tvopn23c.fsf@lassieur.org> Date: Mon, 30 Jul 2018 01:25:31 +0200 Message-ID: <87pnz5bp5g.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32233-done Cc: 32233-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Cl=C3=A9ment Lassieur writes: > Ludovic Court=C3=A8s writes: [...] >> Hmm, I think nginx should still expose both the Cuirass HTTP API and UI >> and =E2=80=98guix publish=E2=80=99 on ports 80 and 443. So we just need= to have: >> >> location / { proxy_pass http://localhost:8081; } >> >> and then exceptions for =E2=80=98guix publish=E2=80=99: >> >> location \.narinfo { =E2=80=A6 } >> location /nar/ { =E2=80=A6 } >> location /log/ { =E2=80=A6 } >> location /file/ { =E2=80=A6 } >> >> WDYT? Or am I missing something? > > No :-) Sounds good! Pushed! From unknown Fri Sep 05 11:02:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 27 Aug 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator