[
https://issues.apache.org/jira/browse/AIRAVATA-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Christie updated AIRAVATA-3392:
--------------------------------------
Description:
Ran into an issue where the Django Portal dashboard page would not load. It
appears that the Python process was hung. After setting up the [Python fault
handler|https://docs.python.org/3/library/faulthandler.html] I was able to
determine that the webpack loader was waiting for a webpack build to complete.
To problem is that at some point I ran {{yarn serve}} or {{yarn build}} in
{{django_airavata/apps/workspace}}, but I killed it before it could complete.
This leaves the webpack-stats.json file in a state where it indicates that the
webpack compiling is in progress.
To prevent this from hanging the page from loading and to get a better error
message that indicates the actual problem, I'm going to add a 60 second
[timeout configuration|https://github.com/owais/django-webpack-loader#timeout]
to the webpack loader for each configuration.
was:
Ran into an issue where the Django Portal dashboard page would not load. It
appears that the Python process was hung. After setting up the [Python fault
handler](https://docs.python.org/3/library/faulthandler.html) I was able to
determine that the webpack loader was waiting for a webpack build to complete.
To problem is that at some point I ran `yarn serve` or `yarn build` in
`django_airavata/apps/workspace`, but I killed it before it could complete.
This leaves the webpack-stats.json file in a state where it indicates that the
webpack compiling is in progress.
To prevent this from hanging the page from loading and to get a better error
message that indicates the actual problem, I'm going to add a 60 second
[timeout configuration](https://github.com/owais/django-webpack-loader#timeout)
to the webpack loader for each configuration.
> Django portal dashboard page hangs and fails to ever finish loading
> -------------------------------------------------------------------
>
> Key: AIRAVATA-3392
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3392
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> Ran into an issue where the Django Portal dashboard page would not load. It
> appears that the Python process was hung. After setting up the [Python fault
> handler|https://docs.python.org/3/library/faulthandler.html] I was able to
> determine that the webpack loader was waiting for a webpack build to complete.
> To problem is that at some point I ran {{yarn serve}} or {{yarn build}} in
> {{django_airavata/apps/workspace}}, but I killed it before it could complete.
> This leaves the webpack-stats.json file in a state where it indicates that
> the webpack compiling is in progress.
> To prevent this from hanging the page from loading and to get a better error
> message that indicates the actual problem, I'm going to add a 60 second
> [timeout
> configuration|https://github.com/owais/django-webpack-loader#timeout] to the
> webpack loader for each configuration.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)