Read Time out while while working with Remote Control API

More
3 years 2 weeks ago #114943 by lacd
lacd created the topic: Read Time out while while working with Remote Control API
Hi,

I am a newbie!
I am using LimeSurvey Remote Control API in my application. I have enabled JSON-RPC interface.
Everything was working great, but suddenly I have started getting Read Time Out Exception (java.net.SocketTimeoutException: Read timed out) :(
I am using java.net.HttpURLConnection to connect to http://${service.ip}/limesurvey/index.php/admin/remotecontrol
This exception occurs randomly, I mean not for every request. Even restarting the survey application didn't help.

I have searched the forums but could not find a similar issue reported. Any help in this regard is highly appreciated.

Thanks in advance.

Please Log in to join the conversation.

More
2 years 4 months ago - 2 years 4 months ago #122913 by simulator
simulator replied the topic: Read Time out while while working with Remote Control API
check your webserver settings, try to set
    max_execution_time = 300
    max_input_time = 240
    default_socket_timeout = 240
    mysql.connect_timeout = 120

/ SIMULATOR / WIEN /
Last Edit: 2 years 4 months ago by simulator. Reason: readability

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!