[
https://issues.apache.org/jira/browse/AIRAVATA-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241740#comment-17241740
]
ASF subversion and git services commented on AIRAVATA-3392:
-----------------------------------------------------------
Commit 7fd79e83b57f5fdbe48fd2c4595cfb077e4062a6 in airavata-django-portal's
branch refs/heads/develop from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=7fd79e8 ]
AIRAVATA-3392 Set timeout for all webpack loader configs
> 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)