unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26567: guix publish Resource not found
@ 2017-04-17 23:45 Quiliro
  2017-04-19 17:07 ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Quiliro @ 2017-04-17 23:45 UTC (permalink / raw)
  To: 26567

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: /

-- 
Saluton,
Quiliro
0987631031

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

* bug#26567: guix publish Resource not found
  2017-04-17 23:45 bug#26567: guix publish Resource not found Quiliro
@ 2017-04-19 17:07 ` Marius Bakke
  2017-04-19 21:48   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-04-19 17:07 UTC (permalink / raw)
  To: Quiliro, 26567

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

Quiliro <quiliro@riseup.net> 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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#26567: guix publish Resource not found
  2017-04-19 17:07 ` Marius Bakke
@ 2017-04-19 21:48   ` Ludovic Courtès
  2017-04-20  3:27     ` Quiliro
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-04-19 21:48 UTC (permalink / raw)
  To: Marius Bakke; +Cc: Quiliro, 26567-done

Marius Bakke <mbakke@fastmail.com> skribis:

> Quiliro <quiliro@riseup.net> 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.

Indeed, until now ‘guix publish’ did not show anything for / and
/index.html.  Fixed in commit e1bbc0e38d0c9a5d248ec8b686fdd0a972a61ff4.

Though note that ‘guix publish’ is meant to serve data to Guix clients; 
it’s not meant to serve HTML pages to human beings.  :-)

Thanks,
Ludo’.

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

* bug#26567: guix publish Resource not found
  2017-04-19 21:48   ` Ludovic Courtès
@ 2017-04-20  3:27     ` Quiliro
  0 siblings, 0 replies; 4+ messages in thread
From: Quiliro @ 2017-04-20  3:27 UTC (permalink / raw)
  To: 26567-done

El Wed, 19 Apr 2017 23:48:38 +0200
ludo@gnu.org (Ludovic Courtès) escribió:

> Marius Bakke <mbakke@fastmail.com> skribis:
> 
> > Quiliro <quiliro@riseup.net> 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.  
> 
> Indeed, until now ‘guix publish’ did not show anything for / and
> /index.html.  Fixed in commit
> e1bbc0e38d0c9a5d248ec8b686fdd0a972a61ff4.
> 
> Though note that ‘guix publish’ is meant to serve data to Guix
> clients; it’s not meant to serve HTML pages to human beings.  :-)
> 
> Thanks,
> Ludo’.

Thank you both.

-- 
Example of rude top posting:

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I leave quotations after my reply?

Saluton,
Quiliro
0987631031

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

end of thread, other threads:[~2017-04-20  3:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-17 23:45 bug#26567: guix publish Resource not found Quiliro
2017-04-19 17:07 ` Marius Bakke
2017-04-19 21:48   ` Ludovic Courtès
2017-04-20  3:27     ` Quiliro

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