[
https://issues.apache.org/jira/browse/AIRAVATA-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003310#comment-14003310
]
Raminderjeet Singh commented on AIRAVATA-1241:
----------------------------------------------
I am able to replicate the issue. Increasing the Timeout to higher value fix
the problem for me. I updated it to 50,000 for testing and never got the
exception again. Can we update the time out to 20 sec for all the get
operations?
$transport->setRecvTimeout(20000);
> Transient TSocket Connection Errors with API Server
> ---------------------------------------------------
>
> Key: AIRAVATA-1241
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1241
> Project: Airavata
> Issue Type: Bug
> Components: Airavata API
> Reporter: Marlon Pierce
>
> The API Server occasionally throws the error below. For example, frequent
> calls to getAllUserExperiments and similar methods will eventually cause this
> error. It appears transient but we should try to track it down.
> Fatal error: Uncaught exception 'Thrift\Exception\TException' with
> message 'TSocket: Could not connect to gw111.iu.xsede.org:8930
> (Operation timed out [60])' in
> /.../Airavata-PHP-Client-Samples/lib/Thrift/Transport/TSocket.php:235
> Stack trace:
> #0
> /.../Airavata-PHP-Client-Samples/client-samples/getAllUserExperiments.php(56):
> Thrift\Transport\TSocket->open()
> #1 {main}
> thrown in
> /.../Airavata-PHP-Client-Samples/lib/Thrift/Transport/TSocket.php on
> line 235
--
This message was sent by Atlassian JIRA
(v6.2#6252)