airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saurabh Agrawal <agras...@umail.iu.edu>
Subject Re: Getting Authorization error while trying to connect to apidev.scigap.org
Date Mon, 02 Oct 2017 20:13:32 GMT
Hi Eroma,
Thanks for getting back.
Yes, I am able to login to https://dev.testdrive.airavata.org using the
same credentials.

[image: Inline image 1]

Thanks again,
Saurabh

On Mon, Oct 2, 2017 at 3:02 PM, Eroma Abeysinghe <eroma.abeysinghe@gmail.com
> wrote:

> Hi Saurabh,
>
> Can you login to your account in https://dev.testdrive.airavata.org
> using the same account you are using in the script?
>
> Thanks,
> Eroma
>
> On Mon, Oct 2, 2017 at 2:48 PM, Saurabh Agrawal <agrasaur@umail.iu.edu>
> wrote:
>
>> Hi all,
>>
>> I am trying to connect to apidev.scigap.org from the attached
>> scipt 'test.py'
>> I am getting the following exception:
>> apache.airavata.api.error.ttypes.AuthorizationException:
>> AuthorizationException(message='Error in authenticating or authorizing
>> user.')
>>
>> These are the steps I followed for running this script:
>>
>> 1: Created an account on https://testdrive.airavata.org/
>> 2: Got dev admin access on this account
>> 3: Ran the following command with my credentials:
>> curl --data "username=myusername&password=mypassword"
>> https://dev.testdrive.airavata.org/api-login
>> to get the access token
>> 4: Followed the steps in this document
>> <https://github.com/machristie/airavata-python3-client/blob/master/README.md>
>> to setup the environment
>> 5: Ran the attached program: test.py
>>
>> Please suggest.
>>
>> Best Wishes,
>> Saurabh Agrawal
>> LinkedIn <https://www.linkedin.com/in/saurabh-agrawal-1a048b118i> Github
>> <https://github.com/saurabhagrawal0412>
>>
>
>
>
> --
> Thank You,
> Best Regards,
> Eroma
>



-- 
Best Wishes,
Saurabh Agrawal
LinkedIn <https://www.linkedin.com/in/saurabh-agrawal-1a048b118i> Github
<https://github.com/saurabhagrawal0412>

Mime
View raw message