java - (kind of solved) How does server count time for "504 gateway time-out error"? -


i'm new web service. i'm using oracle jdeveloper call web service request data. need call function provided 40,000 times. use while loop , erratically returns "504 gateway time-out" error or "500 server error". "erratically" mean caught exception after 500 calls after several calls or @ beginning.

what i've tried: reduce total number of calls increase requested data amount each call. result seems got error more (after 2 or 3 queries).

my question is: how server count time? time-out server error related "time" or "frequency"? there way avoid error?

thanks!

updated - solution

i reduced call frequency , when error popped up, asked waiting , recall after 30 sec.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -