This repository was archived by the owner on Nov 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 115
This repository was archived by the owner on Nov 19, 2019. It is now read-only.
Plunks Fail to Fetch Files after Some Inactivity (Status Code '500') #153
Open
@boghyon
Description
I often observe single page applications failing to fetch resources on-demand after some inactivity.
URL
Steps to reproduce the problem
- Open one of the above plunks (preferably the first one)
- When the preview is loaded, wait for about a minute.
- Click on one of the items within the app, e.g:
Lufthansa EUR >
The app tries to show some more content but fails to do so. - Check the network tab in the dev tools
Result
Error: resource demo/view/Detail.view.xml could not be loaded from ./view/Detail.view.xml. Check for 'file not found' or parse errors.
The fetch fails with 500 even though the file exists in the project folder and doesn't contain any invalid syntax that could result in parse errors.
Workarounds
- Interact with the app as soon as possible. In the above case, reload the plunk and click on the Lufthansa item immediately. The app successfully retrieves the requested view and displays it on the right side.
- Use one of the links (same plunk, different links).
- https://plnkr.co/edit/F3t6gI8TPUZwCOnA?p=preview
- https://next.plnkr.co/plunk/F3t6gI8TPUZwCOnA
No matter how long you wait, files can be retrieved anytime.
Metadata
Metadata
Assignees
Labels
No labels