Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8248E11967 for ; Fri, 16 May 2014 21:54:50 +0000 (UTC) Received: (qmail 11759 invoked by uid 500); 16 May 2014 21:30:01 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 1335 invoked by uid 500); 16 May 2014 21:29:50 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 66938 invoked by uid 99); 16 May 2014 21:24:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 21:24:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.79.1.194] (HELO hartman.uits.indiana.edu) (129.79.1.194) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 21:16:24 +0000 X-IronPort-AV: E=Sophos;i="4.97,1069,1389762000"; d="scan'208";a="138939477" Received: from mssg-relay.indiana.edu ([129.79.1.73]) by irpt-internal-relay.indiana.edu with ESMTP; 16 May 2014 17:16:00 -0400 Received: from IU-MSSG-HUB104.ads.iu.edu (iu-mssg-hub104.ads.iu.edu [10.79.1.153]) by mssg-relay.indiana.edu (8.14.7/8.14.4/IU Messaging Team) with ESMTP id s4GLG0iF012032 for ; Fri, 16 May 2014 17:16:00 -0400 Received: from IU-MSSG-MBX101.ads.iu.edu ([169.254.1.67]) by IU-MSSG-HUB104.ads.iu.edu ([10.79.1.153]) with mapi id 14.03.0174.001; Fri, 16 May 2014 17:16:00 -0400 From: "Reagan, David Michael" To: "dev@airavata.apache.org" Subject: RE: Unable to run PHP Reference Gateway. Thread-Topic: Unable to run PHP Reference Gateway. Thread-Index: AQHPbaBdx/6T6MzrzUy8ZdT6lVWodps9KCoAgABKKICAAYW9AIAAC7OAgAAUtQCAAAJ4AIACXw2AgAIBAQCAADu5gA== Date: Fri, 16 May 2014 21:15:59 +0000 Message-ID: <5EB668D9BBF71F46B657363C67832BB31A894D93@IU-MSSG-MBX101.ads.iu.edu> References: <2BBE28D7-BE02-4A26-AB5B-831BDC35A49A@gmail.com> <5EB668D9BBF71F46B657363C67832BB31A8883A0@IU-MSSG-MBX101.ads.iu.edu> <536A2E07.7050406@iu.edu> <5370C2A0.6070701@iu.edu> <537247C4.3050606@iu.edu> <53726506.3020807@iu.edu> <53761098.3010802@iu.edu> In-Reply-To: <53761098.3010802@iu.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [156.56.179.229] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org We may want a proper config file at some point, but for right now I just mo= ved a few things like the server and port to the very top of the utilities.= php file as constants. Dave -----Original Message----- From: Pierce, Marlon=20 Sent: Friday, May 16, 2014 9:20 AM To: dev@airavata.apache.org Subject: Re: Unable to run PHP Reference Gateway. Thanks, Supun. What's the best PHP way to put these hard-coded values in ut= ilities.php into a configuration file? Marlon Is there any way to set On 5/15/14 2:44 AM, Supun Nakandala wrote: > 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 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 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 >> wrote: >>>>>>> Apache email servers were down for several days. Please suggest=20 >>>>>>> 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=20 >>>>>>>> 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 >>>>> wrote: >>>>>>>>> Hi Supun-- >>>>>>>>> >>>>>>>>> How about suggesting a Google Hangout time so we can debug in=20 >>>>>>>>> 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=20 >>>>>>>>>>> correctly >>>>> for >>>>>>> me. >>>>>>>>>>> The timeout is set to be 5 seconds, so it shouldn't be=20 >>>>>>>>>>> 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=20 >>>>>>>>>>> it >>>>> from a >>>>>>>>>>> local WAMP stack, so it's possible there are issues we=20 >>>>>>>>>>> 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=20 >>>>>>>>>>> you >>>>> try to >>>>>>>>> go >>>>>>>>>>> to Airavata-PHP-Client-Samples/client-samples and then run >=20 >>>>>>>>>>> php GetAPIVersion.php? It should return following >>>>>>>>>>> >>>>>>>>>>> Airavata Server Version is: 0.12.0

Creating New >>>>> Experiment.... >>>>>>>>>>>
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.=20 >>>>>>>>>>> But I >>>>>>> cannot >>>>>>>>>>> crate or manage experiments. When I click on those tabs I=20 >>>>>>>>>>> get the >>>>>>>>> following >>>>>>>>>>> error. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *Fatal error*: Uncaught exception 'Thrift\Exception\TException' >>>>> with >>>>>>>>>>> message 'TSocket: Could not connect to=20 >>>>>>>>>>> gw111.iu.xsede.org:8930 >>>>>>> (Connection >>>>>>>>> timed out [110])' in >>>>>>>>> >> /home/supun/Projects/PHP-Reference-Gateway/lib/Thrift/Transport/TSock >> et.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/TSoc >> ket.php* >>>>>>>>> on >>>>>>>>>>> line *235* >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Is there any configurations that I have to make locally to=20 >>>>>>>>>>> run >> the >>>>>>>>> gateway? >>>>>>>>>>> Thank you. >>>>>>>>>>> >>>>>>>>>>> Supun >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Thank you >>>>>>>>>>> Supun Nakandala >>>>>>>>>>> Dept. Computer Science and Engineering University of=20 >>>>>>>>>>> Moratuwa >>>>>>>>>>> >>>> -- >>>> Thank you >>>> Supun Nakandala >>>> Dept. Computer Science and Engineering University of Moratuwa >>>> >>> >> >