Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

"Unable to load Live Development page" error shortly after starting Live Preview #7097

Closed
redmunds opened this issue Mar 6, 2014 · 9 comments

Comments

@redmunds
Copy link
Contributor

redmunds commented Mar 6, 2014

Creating this issue from these comments:

5-10 seconds after starting Live Preview, the "Unable to load Live Development page" message appears even though it looks like page opened correctly.

PR #6889 fixes some (all?) of these cases.

@jasonsanjose
Copy link
Member

As of f4fed79, we should only hit that message LIVE_DEV_LOADING_ERROR_MESSAGE if:

  1. We can't open the interstitial page, i.e. launch.html (either the browser didn't open, didn't open with remote debugging enabled, or didn't open to the desired page)
  2. Any live dev agent fails to load

With #7008 fixing the CSSAgent problem, I'm pretty comfortable saying that this should happen much less frequently. Though I try not to be too confident with live dev connection problems...

@jasonsanjose
Copy link
Member

@redmunds Not sure if we can call this FBNC. Did we have reproducible steps for this?

@redmunds
Copy link
Contributor Author

redmunds commented Mar 7, 2014

@jasonsanjose I'm confident that we fixed at least one cause of this, but there may be other cases.

@SAplayer Can you see if you're still seeing this message you mentioned in this comment?

@sapeish Can you see if you're still seeing the same message you mentioned in this comment?

@diegovdev
Copy link

how should I test this fix? clone master branch from github?? and??

@TomMalbran
Copy link
Contributor

@TomMalbran
Copy link
Contributor

@sapeish You can also just use shift+click over the brackets shortcut. That will let you select a deifferent index.html file to load, so you go to your local copy of the brackets repo and select the index.html file inside the src folder.

@redmunds
Copy link
Contributor Author

This is another one that doesn't have a reproducible recipe. I'm certain that most of the recent reports of this was fixed by adding _loadAgentsPromise, but it's still possible to get this when Live Preview fails to launch. Closing.

Please re-open if you have a recipe.

@sanketsingh27
Copy link

How should we fix this problem . I was middle of development and it crashed .

@yohanes-ai
Copy link

If you are using Windows, try run brackets as administrator. It worked for me

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

No branches or pull requests

6 participants