Archived Forum Post

Index of archived forum posts

Question:

xmlrpc request takes a long time

Nov 18 '15 at 08:47

On one particular system, calls to CkHttp::xmlRpc reguralily takes 20 seconds. About one transaction every 10 transactions does that.

We have activated the logs but it doesn't give us any indicaions. The few timing values in the log are always way bellow 19 seconds.

It is worth noting that another implementation we have another implementation that simply sends the request and the problem doesn't happen with that implementation.

Does anyone have an idea what the problem might be ? Is there anything that can be done to try to figureout what the problem is ?


Answer

If using an old version of Chilkat, make sure to test with the latest version. If the Content-Length header of the request or response is somehow incorrect, then a side could be waiting for more of the request when none if forthcoming, and then eventually timeout.