airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reagan, David Michael" <>
Subject RE: Unable to run PHP Reference Gateway.
Date Tue, 06 May 2014 21:50:04 GMT
The PHP Reference Gateway is connecting to the server correctly for me. The timeout is set
to be 5 seconds, so it shouldn’t be timing out. You can try making it longer in utilities.php

What is your webserver environment? I’ve personally only run it from a local WAMP stack,
so it’s possible there are issues we haven’t encountered yet.


From: Supun Nakandala []
Sent: Tuesday, May 06, 2014 5:46 PM
Subject: Re: Unable to run PHP Reference Gateway.

Hi Raminder,

I tried the above steps.But I still get the same error.

On Wed, May 7, 2014 at 2:41 AM, Raminder Singh <<>>
I am able to connect to service fine and run few test. Can you try to go to Airavata-PHP-Client-Samples/client-samples
and then run > php GetAPIVersion.php? It should return following
Airavata Server Version is: 0.12.0<br><br>Creating New Experiment.... <br>Airavata
server version is 0.12.0

You can try all other methods also from commandline.


On May 6, 2014, at 3:37 PM, Supun Nakandala <<>>

Hi All,

I am testing the PHP Reference Gateway in my local machine. But I cannot crate or manage experiments.
When I click on those tabs I get the following error.

Fatal error: Uncaught exception 'Thrift\Exception\TException' with message 'TSocket: Could
not connect to<> (Connection
timed out [110])' in /home/supun/Projects/PHP-Reference-Gateway/lib/Thrift/Transport/TSocket.php:235
Stack trace: #0 /home/supun/Projects/PHP-Reference-Gateway/utilities.php(153): Thrift\Transport\TSocket->open()
#1 /home/supun/Projects/PHP-Reference-Gateway/create_experiment.php(21): get_airavata_client()
#2 {main} thrown in /home/supun/Projects/PHP-Reference-Gateway/lib/Thrift/Transport/TSocket.php
on line 235

Is there any configurations that I have to make locally to run the gateway?

Thank you.

Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa
View raw message