From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#26567: guix publish Resource not found Date: Wed, 19 Apr 2017 19:07:59 +0200 Message-ID: <878tmwuxzk.fsf@fastmail.com> References: <20170417184544.3d670274@riseup.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0t6J-0002Hp-AX for bug-guix@gnu.org; Wed, 19 Apr 2017 13:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0t6E-000408-BU for bug-guix@gnu.org; Wed, 19 Apr 2017 13:09:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0t6E-0003zu-1F for bug-guix@gnu.org; Wed, 19 Apr 2017 13:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0t6D-0005pn-Qf for bug-guix@gnu.org; Wed, 19 Apr 2017 13:09:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170417184544.3d670274@riseup.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Quiliro , 26567@debbugs.gnu.org --=-=-= Content-Type: text/plain Quiliro writes: > I have run as root: > guix archive --generate-key > guix publish --user=quiliro > But when opening web page: > http://0.0.0.0:8080/ > I get: > Resource not found: / That is expected. Note that "0.0.0.0" just means "listen on all available IPv4 addresses", I'm surprised it works in a browser. You should be able to use that URL from a different machine by invoking guix with "--substitute-urls='http://x.x.x.x:8080'" where x.x.x.x represents the IPv4 address of the machine running `guix publish`. Note that the "client" machine also needs to authorize the key generated in the first step. Hope this helps! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlj3mW8ACgkQoqBt8qM6 VPqG1gf/dg8EBEcVepoI2xb6lxA5DfMexYKujmOW1t/fQoDV+Crif78IbCiOtYME dEwQj3ZUELZi9UlVhcm5l7VRrpndB2/9hJEZQddT4/MZgWN/Oi7+enAmrKQ0w4rG v/ZX7Xp2iNuoXEMVofxkT60LZIko852sOEEmKKuKWxCDteTz9t+YIj2/TwzxYvMN L2SV8gjC/rfKa/2IsYVS6B2Ropz8SrCZUvN4CtR3o5OoZJ6VGf7KdkUZi2UrVczJ dPvnERo2VDBWEnKz4iOoaBdjIkNsjUXH0S8R4VLUQ231nrKDK1D7j1Y2dxcRamS3 +qdlgXSZMhUTvh7jKzzVNBaRgFji3A== =SOFI -----END PGP SIGNATURE----- --=-=-=--