airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Nakandala <supun.nakand...@gmail.com>
Subject Re: Unable to run PHP Reference Gateway.
Date Thu, 15 May 2014 06:44:17 GMT
I was able to connect to gw111.iu.xsede.org by adding
*$transport->setSendTimeout(5000);* at
https://github.com/SciGaP/PHP-Reference-Gateway/blob/master/utilities.php#L166



On Wed, May 14, 2014 at 12:01 AM, Marlon Pierce <marpierc@iu.edu> wrote:

> Great--please let us know how the tests are going.
>
> Marlon
> On 5/13/14 2:22 PM, Supun Nakandala wrote:
> > Hi Marlon,
> >
> > I can successfully connect to the local Airavata server.
> >
> >
> > On Tue, May 13, 2014 at 10:38 PM, Supun Nakandala <
> supun.nakandala@gmail.com
> >> wrote:
> >> I'll try that.
> >>
> >>
> >> On Tue, May 13, 2014 at 9:56 PM, Marlon Pierce <marpierc@iu.edu> wrote:
> >>
> >>> Hi Supun--
> >>>
> >>> How about just setting up your own Airavata services?
> >>>
> >>> Marlon
> >>>
> >>> On 5/12/14 1:11 PM, Supun Nakandala wrote:
> >>>> Any time after 8.00 pm IST would be ok for me.
> >>>>
> >>>>
> >>>> On Mon, May 12, 2014 at 6:16 PM, Marlon Pierce <marpierc@iu.edu>
> wrote:
> >>>>
> >>>>> Apache email servers were down for several days. Please suggest
a
> time.
> >>>>>
> >>>>> Marlon
> >>>>>
> >>>>> On 5/12/14 1:09 AM, Supun Nakandala wrote:
> >>>>>> Hi Marlon,
> >>>>>>
> >>>>>> Now only I received you? mail. It would be great if we can have
a
> >>> Google
> >>>>>> hangout to resolve the issues. What time is convenient for you?
> >>>>>>
> >>>>>> Supun
> >>>>>>
> >>>>>>
> >>>>>> On Wed, May 7, 2014 at 6:28 PM, Marlon Pierce <marpierc@iu.edu>
> >>> wrote:
> >>>>>>> Hi Supun--
> >>>>>>>
> >>>>>>> How about suggesting a Google Hangout time so we can debug
in real
> >>> time?
> >>>>>>> Thanks a lot for looking at the clients--
> >>>>>>>
> >>>>>>> Marlon
> >>>>>>>
> >>>>>>> On 5/6/14 5:58 PM, Supun Nakandala wrote:
> >>>>>>>> Hi Dave,
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Wed, May 7, 2014 at 3:20 AM, Reagan, David Michael
<
> >>> dmreagan@iu.edu
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>>  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 (get_airavata_client()).
> >>>>>>>>>
> >>>>>>>> I increased the timeout period. But still I get the
same error.
> >>>>>>>>
> >>>>>>>>> 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.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> I am using lampp on an Ubuntu 12.04
> >>>>>>>>
> >>>>>>>>>  Dave
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> *From:* Supun Nakandala [mailto:supun.nakandala@gmail.com]
> >>>>>>>>> *Sent:* Tuesday, May 06, 2014 5:46 PM
> >>>>>>>>> *To:* dev@airavata.apache.org
> >>>>>>>>> *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 <
> >>>>>>> raminderjsingh@gmail.com>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>  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.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Thanks
> >>>>>>>>>
> >>>>>>>>> Raminder
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On May 6, 2014, at 3:37 PM, Supun Nakandala <
> >>>>> supun.nakandala@gmail.com>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>   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 gw111.iu.xsede.org:8930
> >>>>> (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.
> >>>>>>>>>
> >>>>>>>>> Supun
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> --
> >>>>>>>>> Thank you
> >>>>>>>>> Supun Nakandala
> >>>>>>>>> Dept. Computer Science and Engineering
> >>>>>>>>> University of Moratuwa
> >>>>>>>>>
> >>>
> >>
> >> --
> >> Thank you
> >> Supun Nakandala
> >> Dept. Computer Science and Engineering
> >> University of Moratuwa
> >>
> >
> >
>
>


-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa

Mime
View raw message