Internal Error (check logs)

927 views
Skip to first unread message

Andriy Zhdanov

unread,
Sep 28, 2011, 6:35:40 PM9/28/11
to play-fr...@googlegroups.com
Hi,

Play! (1.2.3/1.2.2) suddenly started to respond with internal error for Firefox 6.0.2 requests without any details - there's no errors in stdout, attached Eclipse does not stop on Throwable exception breakpoint, however it's working fine for Chrome 14.0, and requests look the same, see below. Also it looks like error happens before Play! workers run, app started in DEV mode, does not react on requests from Firefox - application does not switch to RUNNING mode.

Any idea how to diagnose and solve problem?

Thank you.

Request headers from Firefox:

Host: localhost:9000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Cookie: store.[object Object].yogamamaddvd.user={"firstname":"Administrator","email":"ad...@example.com","country_id":0,"zone_id":0,"password":"***","isAdmin":true,"id":1}; store.[object Object].yogamamaddvd.__keys__=["user"]
Cache-Control: max-age=0

Request headers from Chrome:
        Accept:
        text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
        Accept-Charset:
        ISO-8859-1,utf-8;q=0.7,*;q=0.3
        Accept-Encoding:
        gzip,deflate,sdch
        Accept-Language:
        en-US,en;q=0.8
        Connection:
        keep-alive
        Host:
        localhost:9000        User-Agent:        Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1

Andriy Zhdanov

unread,
Sep 28, 2011, 6:48:05 PM9/28/11
to play-fr...@googlegroups.com
Well, it's clear that Cookie: store is causing this, and it looks like Chrome just does not send it for some reason. Of couse, I can work around it, but comments and may be fix in play still could be useful.

Bruno Siqueira

unread,
Jan 28, 2013, 11:38:53 AM1/28/13
to play-fr...@googlegroups.com
Delete the tmp folder and restart the app. It's jvm's issue

Siiim

unread,
Jul 31, 2013, 9:20:30 AM7/31/13
to play-fr...@googlegroups.com
Hi,
I use play 1.2.5 and I've got the same problem in production mode, but in my case it's with Chrome that it doesn't work, firefox is OK.
I've tried to delete tmp and restart the application but it doesn't work.

I think there's a problem with the cookie/play session, because the application give me "Internal Error (check logs)" on the pages when I was already logged in (using the PLAY_SESSION cookie).
I tried the website with chrome in new window in private browsing, and everything is fine (i can log in / out)...

There's nothing in the logs that report an internal error.
In dev mode everything is ok.

Any idea ?
Thank you

Simon.

notalifeform

unread,
Jul 31, 2013, 3:47:40 PM7/31/13
to play-fr...@googlegroups.com
Hi Simon,

Did you try to attach a debugger to find out what was wrong? You could also set logging to TRACE, it might give you some hints.

regards,

Robert
Reply all
Reply to author
Forward
0 new messages