Project

General

Profile

No response back on http rest api

kevin zhou
Added almost 2 years ago

I had tigase-server 7.1.0 and Tigase HTTP API 1.20 up already, It worked well after starting up for hours, but no response back any more after one or two days. I had to restart the server to have it back to normal.Any help is going to be appreciated. :)


Replies (3)

Added by Daniel Wisnewski IoT 1 Cloud almost 2 years ago

Set init.properties to debug http component, you might glean some more information there

--debug=http

You can add http to a list separated by commas

i.e.

--debug=server,http

That should give you a good start, if you still are not sure, see if you can locate when the response takes long and share that section of the logs.

Added by Wojciech Kapcia TigaseTeam almost 2 years ago

Are the HTTP-API under a lot of load? Which http server do you use Jetty or default Java server (vide: https://projects.tigase.org/projects/tigase-http-api/wiki/Configuration#Properties )?

Added by kevin zhou almost 2 years ago

Thanks a lot to Daniel Wisnewski and Wojciech Kapcia, I will add "--debug=http" and use jetty server instead to look into more. BTW: No response back meant the whole servlet stop to work with very very low load(less than 20 requests per day).

    (1-3/3)