Hi Dimuthu,

I'm using the "develop" branch on both repos. (airavata and
airavata-django-portal)

Regards,
Dinuka

On Thu, Apr 9, 2020 at 2:15 PM DImuthu Upeksha <[email protected]>
wrote:

> Dinuka,
>
> What is the branch you are using?
>
> Dimuthu
>
> On Wed, Apr 8, 2020 at 2:45 PM Dinuka Desilva <[email protected]>
> wrote:
>
>> Hi,
>>
>> Let me upload the logs of docker-compose, airavata-server and
>> airavata-django-portal below. I've been actually having this issue
>> continuously and not once in a while. Most of the time after every 20-15
>> minutes,I had to recreate everything. Sometimes even the first attempt end
>> up with this issue.
>>
>> Regards,
>> Dinuka
>>
>> On Wed, Apr 8, 2020 at 3:06 AM Christie, Marcus Aaron <[email protected]>
>> wrote:
>>
>>> I've seen this problem too. Are there an errors in the 'docker-compose
>>> up' output?
>>>
>>> On Apr 5, 2020, at 9:55 PM, Isuru Ranawaka <[email protected]> wrote:
>>>
>>> Hi all,
>>>
>>>
>>>
>>> On Sun, Apr 5, 2020 at 8:59 PM Suresh Marru <[email protected]> wrote:
>>>
>>>> Hi Isuru,
>>>>
>>>> I wonder if it is related to renew tokens? Any insights?
>>>>
>>>
>>> There is a chance. But,  AFAIK  the server caches authorization
>>> decisions for at least one hour through auth cache (by default this is
>>> enabled). So it is unlikely that the server may try to renew tokens before
>>> that time. Breaking in 30 minutes interval is wired.  Anyhow, there is a
>>> probability of occurring this if sever unable to access  sharing registry.
>>> Hence,   I think better to check whether  DB connections and IAM sever
>>> connections are correctly established.
>>>
>>> Is there any error logs on server-side ?
>>>
>>> thanks
>>> Isuru
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>
>>>> Suresh
>>>>
>>>> On Apr 3, 2020, at 6:48 AM, Dinuka Desilva <[email protected]>
>>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I got the airava and airavata-django-portal running on localhost by
>>>> executing following script on 4 terminals one after the other.
>>>>
>>>>    1. docker-compose down && rm -rf database_data/ && docker-compose up
>>>>    2. mvn exec:java
>>>>    -Dexec.mainClass="org.apache.airavata.ide.integration.APIServerStarter"
>>>>    3. . ./build_js.sh
>>>>    4. source ./venv/bin/activate && rm -rf ./tmp/ && rm -rf db.sqlite3
>>>>    && python manage.py migrate && python manage.py load_default_gateway &&
>>>>    python manage.py runserver
>>>>
>>>>
>>>> With this I could access the localhost server at http://localhost:8000.
>>>> But, only for less than half an hour it worked and then it's ended up with
>>>> the following error. It has the logged in user though an error occurred.
>>>>
>>>> <Screenshot 2020-04-03 at 4.03.25 PM.png>
>>>>
>>>> Neither restarting the servers nor clearing cache didn't solve this
>>>> issue. And I had to execute above four script again which recreates the
>>>> database. For kind of each 20-30 minutes, I had to do this. I'm doubtful
>>>> whether I'm doing anything wrong.
>>>>
>>>> Also, below I have attached the settings_local.py.
>>>>
>>>> Thanka & Regards,
>>>> Dinuka
>>>> <settings_local.py>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Research Software Engineer
>>> Indiana University, IN
>>>
>>>
>>>

Reply via email to