Skip to content
This repository has been 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 opened this issue Sep 25, 2018 · 3 comments
Open

Comments

@boghyon
Copy link

boghyon commented Sep 25, 2018

I often observe single page applications failing to fetch resources on-demand after some inactivity.

URL

Steps to reproduce the problem

  1. Open one of the above plunks (preferably the first one)
  2. When the preview is loaded, wait for about a minute.
  3. 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.
  4. Check the network tab in the dev tools

Result

image

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

@boghyon
Copy link
Author

boghyon commented Oct 15, 2018

@ggoodman Please, let me know if you need more information. Otherwise, it would be nice if this could be fixed soon..

@ggoodman
Copy link
Member

Interesting. Sounds like the preview assets might be dropping from the cache too quickly. Can you confirm that the issue is not reproduced on https://run.plnkr.co/plunks/F3t6gI8TPUZwCOnA/?

@boghyon
Copy link
Author

boghyon commented Oct 15, 2018

Thank you for the reply. So far, I couldn't reproduce it on https://run.plnkr.co/plunks/F3t6gI8TPUZwCOnA/.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants