foxx app intermittently giving error 404

44 views
Skip to first unread message

Vikas Tandi

unread,
Nov 30, 2014, 2:08:41 AM11/30/14
to aran...@googlegroups.com
Hi,

I have created a foxx app for a mobile app I am working on. But, the URL's I have exposed sometimes work correctly but sometimes they fail with following response:
{"error":true,"code":404,"errorNum":404,"errorMessage":"unknown path 'contactspace/initiateRegistration'"}

I did not face this issue when I tested the app in dev environment.
I am not able to figure the reason for the issue. How can I debug the problem ?

Thanks,
Vikas Tandi

Lucas Dohmen

unread,
Dec 1, 2014, 3:47:01 AM12/1/14
to aran...@googlegroups.com
Hi Vikas,

Did you have a look into the logs of your production machine? Whenever Foxx generates this kind of response it will write something to the log :)

Best Wishes
Lucas

Vikas Tandi

unread,
Dec 1, 2014, 8:47:54 AM12/1/14
to aran...@googlegroups.com
Hi Lucas,

I have looked at the logs at tail /var/log/arangodb/arangod.log. But, for code : 404 there are no logs.

According to the documentation 404 means
404 - not found: Will be raised when an URI is unknown.
 This means the URI is going down intermittently.

Thanks,
Vikas

Frank Celler

unread,
Dec 3, 2014, 12:07:40 PM12/3/14
to aran...@googlegroups.com
Lucas managed to hurt his foot, hopefully he will be back tomorrow to answer your question. Sorry for the delay

Lucas Dohmen

unread,
Dec 5, 2014, 8:00:00 AM12/5/14
to aran...@googlegroups.com
Should we discuss this here or at Stack Overflow?
I asked for more information over there :)

Vikas Tandi

unread,
Dec 5, 2014, 11:54:12 AM12/5/14
to aran...@googlegroups.com
Hi,

posted my response on stack overflow.
Reply all
Reply to author
Forward
0 new messages