I've a problem accessing http://localhost:9000/@status. "Not
authorized".
Same if I run "play status":
~ Cannot retrieve the application status... (503)
This is probably because my ip is resolved as 0:0:0:0:0:0:0:1%0
(request.remoteAddress contains this). I guess it is possible to fix
that somewhere in OS X but... Anyway, is there a way to specify ip
address(es) able to access @status? This could be useful for
production too.
Alexander
On 2 mars 2010, at 12:51, Alexander Strebkov <alexande...@gmail.com
> wrote:
> --
> You received this message because you are subscribed to the Google
> Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en
> .
>
On Mar 2, 3:36 pm, Guillaume Bort <guillaume.b...@gmail.com> wrote:
> There is a --url option that let you specify the exact address of your
> server.
>
> On 2 mars 2010, at 12:51, Alexander Strebkov <alexanderstreb...@gmail.com
>
>
>
> > wrote:
> > Hi all,
>
> > I've a problem accessinghttp://localhost:9000/@status. "Not
It is not protected by IP. It uses the secret key to sign the request.
That's normal that you can't access directly to the @status url using
a browser. It is protected.
From the code of the CorePlugin, 503 means that the application is not started:
if (!Play.started) {
response.status = 503;
response.print("Not started");
return true;
}
In DEV mode you need to run a first request to start the application.
On Mar 2, 6:08 pm, Guillaume Bort <guillaume.b...@gmail.com> wrote:
> > I think it is
> > protected by some ip filter or something. Is it configurable?
>
> It is not protected by IP. It uses the secret key to sign the request.
>
> That's normal that you can't access directly to the @status url using
> a browser. It is protected.
>
> From the code of the CorePlugin, 503 means that the application is not started:
>
> if (!Play.started) {
> response.status = 503;
> response.print("Not started");
> return true;
> }
>
> In DEV mode you need to run a first request to start the application.
>
> On Tue, Mar 2, 2010 at 2:21 PM, Alexander Strebkov
>
>
>
> <alexanderstreb...@gmail.com> wrote:
> > It is not about server url. I can access any page likehttp://localhost:9000/@api