You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@airavata.apache.org by Nachi Vpn <na...@acrodelon.com> on 2015/12/30 08:44:16 UTC

Unable to Connect to the Airavata Server Instance using PGA

Hello,

I was able to get a PHP gateway setup. When I log in using 'master' (which
I believe is the default admin), I see this message:

"Unable to Connect to the Airavata Server Instance!"

(Screen shot attached)

I've been following this tutorial:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56067351

I've configured the pga_config.php as

        'airavata-server' => 'localhost'

and left the "WSO2 Identity Server Related Configurations" and others to
it's deafults.

Also, I'm facing the issue noted in this thread:

-
https://mail-archives.apache.org/mod_mbox/airavata-dev/201511.mbox/%3CCAHX0R7Go20UPfGOEEwiLXktYTyF0jF0fKAKHyO48WSMwc5XnJA@mail.gmail.com%3E
(Screenshot attached)

How can I debug this? Are there any other configurations which I need to
change?

Thanks.

Regards,
Nachi (NV)

Re: Unable to Connect to the Airavata Server Instance using PGA

Posted by Suresh Marru <sm...@apache.org>.
Hi Nachi,

Yes please work with master (0.16-SNAPSHOT) branch of both Airavata and PGA. We expect to release this within next couple of weeks. 

Suresh

> On Jan 4, 2016, at 2:59 AM, Nachi Vpn <na...@acrodelon.com> wrote:
> 
> I was able to resolve the 'missing gatewayID' and the 'Unable to connect to airavata server' issues by building (successfully this time) and installing the 0.16-SNAPSHOT version of the airavata server instead of 0.15. 
> 
> Thanks.
> 
> Regards,
> Nachi (NV)
> 
> 
> On Mon, Jan 4, 2016 at 12:18 PM, Nachi Vpn <nachi@acrodelon.com <ma...@acrodelon.com>> wrote:
> Hi Supun,
> 
> Yes, I'm using the latest master branch and the 'gateway_id' key contains the value 'default'.
> 
> Here's the stack trace: [0]
> 
> It is to be noted that this issue does not occur when I connect to a hosted Airavata server (gw56.iu.xsede.org <http://gw56.iu.xsede.org/>) instead of a locally installed server. I had used this tutorial [1] to install the Airavata server 0.15 (since the build of the master's tip failed). So this is probably an issue with my installation. Are there any other additional steps in the installation/configuration of the Airavata server?
> 
> Here's the config file of the installed Airavata server: [2]
> 
> Thanks for the help.
> 
> 0 - https://gist.github.com/nachivpn/233e98e1fcde23bae43a#file-pga_missing_gatewayid <https://gist.github.com/nachivpn/233e98e1fcde23bae43a#file-pga_missing_gatewayid>
> 
> 1- https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+08+-+Running+Airavata+Server+Locally+Using+Latest+Release+in+GIT <https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+08+-+Running+Airavata+Server+Locally+Using+Latest+Release+in+GIT>
> 
> 2 - https://gist.github.com/nachivpn/55473f06164b28590f63#file-airavata-server-properties <https://gist.github.com/nachivpn/55473f06164b28590f63#file-airavata-server-properties>
> 
> Thanks in advance.
> 
> Regards,
> Nachi (NV)
> 
> 
> On Mon, Jan 4, 2016 at 8:33 AM, Supun Nakandala <supun.nakandala@gmail.com <ma...@gmail.com>> wrote:
> Hi Nachi,
> 
> Are you using the latest master ?
> 
> Also can you check what is the value of Session::get("gateway_id") in CRUtilities line 343.
> 
> On Sun, Jan 3, 2016 at 9:41 PM, Nachi Vpn <nachi@acrodelon.com <ma...@acrodelon.com>> wrote:
> Any help on the missing 'gatewayId' issue is very much appreciated!
> 
> It is currenlty set to 'default' in the PGA config file.
> 
> Thank you.
> 
> Regards,
> Nachi
> 
> Regards,
> Nachi (NV)
> 
> 
> On Wed, Dec 30, 2015 at 1:14 PM, Nachi Vpn <nachi@acrodelon.com <ma...@acrodelon.com>> wrote:
> Hello,
> 
> I was able to get a PHP gateway setup. When I log in using 'master' (which I believe is the default admin), I see this message:
> 
> "Unable to Connect to the Airavata Server Instance!"
> 
> (Screen shot attached)
> 
> I've been following this tutorial: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56067351 <https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56067351>
> 
> I've configured the pga_config.php as
> 
>         'airavata-server' => 'localhost'
> 
> and left the "WSO2 Identity Server Related Configurations" and others to it's deafults. 
> 
> Also, I'm facing the issue noted in this thread:
> 
> -  https://mail-archives.apache.org/mod_mbox/airavata-dev/201511.mbox/%3CCAHX0R7Go20UPfGOEEwiLXktYTyF0jF0fKAKHyO48WSMwc5XnJA@mail.gmail.com%3E <https://mail-archives.apache.org/mod_mbox/airavata-dev/201511.mbox/%3CCAHX0R7Go20UPfGOEEwiLXktYTyF0jF0fKAKHyO48WSMwc5XnJA@mail.gmail.com%3E>
> (Screenshot attached)
> 
> How can I debug this? Are there any other configurations which I need to change?
> 
> Thanks.
> 
> Regards,
> Nachi (NV)
> 
> 
> 
> 
> 
> -- 
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
> 
> 


Re: Unable to Connect to the Airavata Server Instance using PGA

Posted by Nachi Vpn <na...@acrodelon.com>.
I was able to resolve the 'missing gatewayID' and the 'Unable to connect to
airavata server' issues by building (successfully this time) and installing
the 0.16-SNAPSHOT version of the airavata server instead of 0.15.

Thanks.

Regards,
Nachi (NV)


On Mon, Jan 4, 2016 at 12:18 PM, Nachi Vpn <na...@acrodelon.com> wrote:

> Hi Supun,
>
> Yes, I'm using the latest master branch and the 'gateway_id' key contains
> the value 'default'.
>
> Here's the stack trace: [0]
>
> It is to be noted that this issue does not occur when I connect to a
> hosted Airavata server (gw56.iu.xsede.org) instead of a locally installed
> server. I had used this tutorial [1] to install the Airavata server 0.15
> (since the build of the master's tip failed). So this is probably an issue
> with my installation. Are there any other additional steps in the
> installation/configuration of the Airavata server?
>
> Here's the config file of the installed Airavata server: [2]
>
> Thanks for the help.
>
> 0 -
> https://gist.github.com/nachivpn/233e98e1fcde23bae43a#file-pga_missing_gatewayid
>
> 1-
> https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+08+-+Running+Airavata+Server+Locally+Using+Latest+Release+in+GIT
>
> 2 -
> https://gist.github.com/nachivpn/55473f06164b28590f63#file-airavata-server-properties
>
> Thanks in advance.
>
> Regards,
> Nachi (NV)
>
>
> On Mon, Jan 4, 2016 at 8:33 AM, Supun Nakandala <supun.nakandala@gmail.com
> > wrote:
>
>> Hi Nachi,
>>
>> Are you using the latest master ?
>>
>> Also can you check what is the value of Session::get("gateway_id") in
>> CRUtilities line 343.
>>
>> On Sun, Jan 3, 2016 at 9:41 PM, Nachi Vpn <na...@acrodelon.com> wrote:
>>
>>> Any help on the missing 'gatewayId' issue is very much appreciated!
>>>
>>> It is currenlty set to 'default' in the PGA config file.
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Nachi
>>>
>>> Regards,
>>> Nachi (NV)
>>>
>>>
>>> On Wed, Dec 30, 2015 at 1:14 PM, Nachi Vpn <na...@acrodelon.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I was able to get a PHP gateway setup. When I log in using 'master'
>>>> (which I believe is the default admin), I see this message:
>>>>
>>>> "Unable to Connect to the Airavata Server Instance!"
>>>>
>>>> (Screen shot attached)
>>>>
>>>> I've been following this tutorial:
>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56067351
>>>>
>>>> I've configured the pga_config.php as
>>>>
>>>>         'airavata-server' => 'localhost'
>>>>
>>>> and left the "WSO2 Identity Server Related Configurations" and others
>>>> to it's deafults.
>>>>
>>>> Also, I'm facing the issue noted in this thread:
>>>>
>>>> -
>>>> https://mail-archives.apache.org/mod_mbox/airavata-dev/201511.mbox/%3CCAHX0R7Go20UPfGOEEwiLXktYTyF0jF0fKAKHyO48WSMwc5XnJA@mail.gmail.com%3E
>>>> (Screenshot attached)
>>>>
>>>> How can I debug this? Are there any other configurations which I need
>>>> to change?
>>>>
>>>> Thanks.
>>>>
>>>> Regards,
>>>> Nachi (NV)
>>>>
>>>>
>>>
>>
>>
>> --
>> Thank you
>> Supun Nakandala
>> Dept. Computer Science and Engineering
>> University of Moratuwa
>>
>
>

Re: Unable to Connect to the Airavata Server Instance using PGA

Posted by Nachi Vpn <na...@acrodelon.com>.
Hi Supun,

Yes, I'm using the latest master branch and the 'gateway_id' key contains
the value 'default'.

Here's the stack trace: [0]

It is to be noted that this issue does not occur when I connect to a hosted
Airavata server (gw56.iu.xsede.org) instead of a locally installed server.
I had used this tutorial [1] to install the Airavata server 0.15 (since the
build of the master's tip failed). So this is probably an issue with my
installation. Are there any other additional steps in the
installation/configuration of the Airavata server?

Here's the config file of the installed Airavata server: [2]

Thanks for the help.

0 -
https://gist.github.com/nachivpn/233e98e1fcde23bae43a#file-pga_missing_gatewayid

1-
https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+08+-+Running+Airavata+Server+Locally+Using+Latest+Release+in+GIT

2 -
https://gist.github.com/nachivpn/55473f06164b28590f63#file-airavata-server-properties

Thanks in advance.

Regards,
Nachi (NV)


On Mon, Jan 4, 2016 at 8:33 AM, Supun Nakandala <su...@gmail.com>
wrote:

> Hi Nachi,
>
> Are you using the latest master ?
>
> Also can you check what is the value of Session::get("gateway_id") in
> CRUtilities line 343.
>
> On Sun, Jan 3, 2016 at 9:41 PM, Nachi Vpn <na...@acrodelon.com> wrote:
>
>> Any help on the missing 'gatewayId' issue is very much appreciated!
>>
>> It is currenlty set to 'default' in the PGA config file.
>>
>> Thank you.
>>
>> Regards,
>> Nachi
>>
>> Regards,
>> Nachi (NV)
>>
>>
>> On Wed, Dec 30, 2015 at 1:14 PM, Nachi Vpn <na...@acrodelon.com> wrote:
>>
>>> Hello,
>>>
>>> I was able to get a PHP gateway setup. When I log in using 'master'
>>> (which I believe is the default admin), I see this message:
>>>
>>> "Unable to Connect to the Airavata Server Instance!"
>>>
>>> (Screen shot attached)
>>>
>>> I've been following this tutorial:
>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56067351
>>>
>>> I've configured the pga_config.php as
>>>
>>>         'airavata-server' => 'localhost'
>>>
>>> and left the "WSO2 Identity Server Related Configurations" and others to
>>> it's deafults.
>>>
>>> Also, I'm facing the issue noted in this thread:
>>>
>>> -
>>> https://mail-archives.apache.org/mod_mbox/airavata-dev/201511.mbox/%3CCAHX0R7Go20UPfGOEEwiLXktYTyF0jF0fKAKHyO48WSMwc5XnJA@mail.gmail.com%3E
>>> (Screenshot attached)
>>>
>>> How can I debug this? Are there any other configurations which I need to
>>> change?
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Nachi (NV)
>>>
>>>
>>
>
>
> --
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
>

Re: Unable to Connect to the Airavata Server Instance using PGA

Posted by Supun Nakandala <su...@gmail.com>.
Hi Nachi,

Are you using the latest master ?

Also can you check what is the value of Session::get("gateway_id") in
CRUtilities line 343.

On Sun, Jan 3, 2016 at 9:41 PM, Nachi Vpn <na...@acrodelon.com> wrote:

> Any help on the missing 'gatewayId' issue is very much appreciated!
>
> It is currenlty set to 'default' in the PGA config file.
>
> Thank you.
>
> Regards,
> Nachi
>
> Regards,
> Nachi (NV)
>
>
> On Wed, Dec 30, 2015 at 1:14 PM, Nachi Vpn <na...@acrodelon.com> wrote:
>
>> Hello,
>>
>> I was able to get a PHP gateway setup. When I log in using 'master'
>> (which I believe is the default admin), I see this message:
>>
>> "Unable to Connect to the Airavata Server Instance!"
>>
>> (Screen shot attached)
>>
>> I've been following this tutorial:
>> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56067351
>>
>> I've configured the pga_config.php as
>>
>>         'airavata-server' => 'localhost'
>>
>> and left the "WSO2 Identity Server Related Configurations" and others to
>> it's deafults.
>>
>> Also, I'm facing the issue noted in this thread:
>>
>> -
>> https://mail-archives.apache.org/mod_mbox/airavata-dev/201511.mbox/%3CCAHX0R7Go20UPfGOEEwiLXktYTyF0jF0fKAKHyO48WSMwc5XnJA@mail.gmail.com%3E
>> (Screenshot attached)
>>
>> How can I debug this? Are there any other configurations which I need to
>> change?
>>
>> Thanks.
>>
>> Regards,
>> Nachi (NV)
>>
>>
>


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

Re: Unable to Connect to the Airavata Server Instance using PGA

Posted by Nachi Vpn <na...@acrodelon.com>.
Any help on the missing 'gatewayId' issue is very much appreciated!

It is currenlty set to 'default' in the PGA config file.

Thank you.

Regards,
Nachi

Regards,
Nachi (NV)


On Wed, Dec 30, 2015 at 1:14 PM, Nachi Vpn <na...@acrodelon.com> wrote:

> Hello,
>
> I was able to get a PHP gateway setup. When I log in using 'master' (which
> I believe is the default admin), I see this message:
>
> "Unable to Connect to the Airavata Server Instance!"
>
> (Screen shot attached)
>
> I've been following this tutorial:
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=56067351
>
> I've configured the pga_config.php as
>
>         'airavata-server' => 'localhost'
>
> and left the "WSO2 Identity Server Related Configurations" and others to
> it's deafults.
>
> Also, I'm facing the issue noted in this thread:
>
> -
> https://mail-archives.apache.org/mod_mbox/airavata-dev/201511.mbox/%3CCAHX0R7Go20UPfGOEEwiLXktYTyF0jF0fKAKHyO48WSMwc5XnJA@mail.gmail.com%3E
> (Screenshot attached)
>
> How can I debug this? Are there any other configurations which I need to
> change?
>
> Thanks.
>
> Regards,
> Nachi (NV)
>
>