Minimal Sync Error 404

15 views
Skip to first unread message

Vincent QB

unread,
Mar 24, 2012, 11:58:43 AM3/24/12
to servic...@mozilla.org
Hello,

I followed the steps on the website, but I get Error 404 when
attempting to access the minimal server. I had no problem running:

$ hg clone https://hg.mozilla.org/services/server-full
$ cd server-full
$ make build
$ make test
$ bin/paster serve development.ini
Starting server in PID 25070.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000

However, when I try to access the website,
$ links http://127.0.0.1:5000
I get the following output from the server:

2012-03-24 10:56:58,137 INFO [syncserver] 127.0.0.1 - -
[24/Mar/2012:10:56:58 -0500] "GET / HTTP/1.1" 404 154 "-" "Links
(2.3pre1; Linux 2.6.38-13-generic i686; 159x47)"
127.0.0.1 - - [24/Mar/2012:10:56:58 -0500] "GET / HTTP/1.1" 404 154
"-" "Links (2.3pre1; Linux 2.6.38-13-generic i686; 159x47)"

Any kind soul knowing what's going on? Thank you!
_______________________________________________
Services-dev mailing list
Servic...@mozilla.org
https://mail.mozilla.org/listinfo/services-dev

Ryan Kelly

unread,
Mar 25, 2012, 4:26:00 PM3/25/12
to servic...@mozilla.org, Vincent QB
On 25/03/12 02:58, Vincent QB wrote:
> Hello,
>
> I followed the steps on the website, but I get Error 404 when
> attempting to access the minimal server. I had no problem running:
>
> $ hg clone https://hg.mozilla.org/services/server-full
> $ cd server-full
> $ make build
> $ make test
> $ bin/paster serve development.ini
> Starting server in PID 25070.
> serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
>
> However, when I try to access the website,
> $ links http://127.0.0.1:5000
> I get the following output from the server:
>
> 2012-03-24 10:56:58,137 INFO [syncserver] 127.0.0.1 - -
> [24/Mar/2012:10:56:58 -0500] "GET / HTTP/1.1" 404 154 "-" "Links
> (2.3pre1; Linux 2.6.38-13-generic i686; 159x47)"
> 127.0.0.1 - - [24/Mar/2012:10:56:58 -0500] "GET / HTTP/1.1" 404 154
> "-" "Links (2.3pre1; Linux 2.6.38-13-generic i686; 159x47)"
>
> Any kind soul knowing what's going on? Thank you!

This is the expected, if somewhat confusing, behaviour of the
stand-alone server. There's nothing at the root of the site, all of the
functional URLs are beneath of path component such as "user" or "storage".

Try plugging that URL into your firefox sync setup, it should work
without further configuration of the server.

Cheers,

Ryan

Reply all
Reply to author
Forward
0 new messages