gateway time-out error (504) en amazon virtual image

48 views
Skip to first unread message

Luis Molina

unread,
Dec 26, 2014, 2:41:32 PM12/26/14
to formh...@googlegroups.com
Hi, I'm using Amazon virtual image for formhub and I got sometimes an error when sending the forms from mobile to formhub, error below:

gateway time out (504) 

does anybody know why I'm getting this error?

Jaideep Gupte

unread,
Dec 26, 2014, 3:47:17 PM12/26/14
to formh...@googlegroups.com
Hi, We're getting the same from teams in India and Bangladesh. I presume this is because the formhub server is over capacity. Anyone know if this is true?

Luis Molina

unread,
Dec 26, 2014, 5:28:05 PM12/26/14
to formh...@googlegroups.com
what happens to me is this:

I fill the survey in odk collect in mobile
I send the survey to formhub
I know that the survey arrives to formhub and it resends it via http post
then I got the error in the mobile

so it seems that the problem is that formhub doesn't respond in time to odk collect in mobile after resending the survey, so the survey remains in my mobile, if I try to send it again it duplicates the data in the server.

Luis Molina

unread,
Mar 10, 2015, 6:25:02 PM3/10/15
to formh...@googlegroups.com
Hi, I have found that what happens is next:

mobile sends data to formhub server

formhub sends data to my server

my server processes the form and then responds to formhub server

the formhub server responds to the mobile that all is ok

so if the process in my server is very slow it can makes a timeout in the mobile app.
Reply all
Reply to author
Forward
0 new messages