Open core-ai-bot opened 3 years ago
Comment by jasonsanjose Wednesday Sep 18, 2013 at 20:58 GMT
@
Mac944 the next time you start brackets, can you open http://localhost:9234 before you try live preview? That URL opens developer tools for brackets and you will see logs if available.
Comment by Mac944 Thursday Sep 19, 2013 at 10:39 GMT
@
jasonsanjose there doesn't appear to be any logs, just a blank screen?
Comment by eddieyangtx Thursday Sep 19, 2013 at 20:18 GMT
hi,
Brackets worked fine before, but not now. I check the developer tools, and find the error message as below
Failed to load resource: the server responded with a status of 502 (Fiddler - Connection Failed) http://127.0.0.1:9222/json Uncaught SyntaxError: Unexpected token B
Please help! Thanks!
Comment by njx Monday Sep 23, 2013 at 18:38 GMT
@
Mac944 - it might have to do with your firewall settings. Is there anything that might be blocking communications between processes on the same machine?
@
eddieyangtx - it looks like you have a proxy server (Fiddler) installed. Could that be blocking something?
Marking move to backlog. We have a number of these issues and we should group them together and figure out if there's something we could do to improve the situation.
Comment by scoumbourdis Thursday Mar 13, 2014 at 07:40 GMT
Hello guys,
I hope this will help someone out-there that had the same problem with me. After some hours investigation, I've realized that the proxy server is simply blocking the brackets live preview. Thanks@
njx to point that out. Once you have the same issue (live preview is loading for ever...), just disable the proxy completely then close the brackets, open the brackets again and try to open the live preview . Now it should work as expected. It worked for me :)
Cheers Johnny
Comment by njx Thursday Mar 13, 2014 at 19:08 GMT
Great, thanks for confirming that.@
redmunds - might be worth adding something to the Troubleshooting doc regarding this?
Comment by redmunds Thursday Mar 13, 2014 at 20:40 GMT
Yes, that would be good, but I actually am not quite sure how the new proxy thingy works.
@
dangoor Can you add a section to the Live Preview section of Troubleshooting doc about the proxy problem? Might also be worth adding something to the Live Preview section of the How to Use Brackets doc as well.
Comment by dangoor Tuesday Mar 18, 2014 at 13:43 GMT
@
redmunds This is unrelated to the new proxy preference. Currently, the proxy preference is used to tell extension installation that Node needs to run the traffic through a proxy.
CEF automatically uses the system proxy configuration, so if someone is using a proxy at the system level, all HTTP traffic will run through the proxy. I don't know why a proxy would block the live preview traffic, but apparently it happens.
Comment by ashiwal Tuesday Jun 24, 2014 at 17:11 GMT
hi, it might help. you can bypass proxy for local web requests.
http://msdn.microsoft.com/en-us/library/vstudio/ms178120(v=vs.100).aspx
Comment by vilic Sunday Dec 07, 2014 at 10:58 GMT
I am experiencing the same issue, it seems that there's nothing listening to port 9222 at all. (Though 9234 works.)
Comment by ImantsSkultans Sunday Dec 14, 2014 at 13:30 GMT
Just today realized that Brackets Live Preview stopped to work... few days ago everything was ok. It just shows: Loading / Live Preview: Connecting ... and nothing happens.
Console shows: enable failed on agent css -> ErrorNotification.js:125 DOM agent needs to be enabled first. Object Object -> ErrorNotification.js:125 Assertion failed: Attempted to call remote method without objectId set. -> /LiveDevelopment/Agents/RemoteAgent.js:58 Some arguments of method 'Runtime.callFunctionOn' can't be processed Parameter 'objectId' with type 'String' was not found. Object Object -> ErrorNotification.js:125
Update: uninstalled Chrome v40 (some beta) and installed Chrome v39 and Brackets Live Preview works again.
Comment by redmunds Sunday Dec 14, 2014 at 17:11 GMT
@
Bristoled
DOM agent needs to be enabled first
This indicates that you are using Chrome beta v40, which does not work with Brackets 1.0. We will be releasing Brackets 1.1 Release Candidate builds soon that fixes this issue, or you can revert to Chrome stable v39.
Comment by ImantsSkultans Sunday Dec 14, 2014 at 17:40 GMT
Thank You Redmund - I also went to this conclusion after 2 hours of messing and downgraded to Chrome stable v39 :) So hope to see Brackets 1.1 soon!
Comment by taptapper Wednesday Apr 15, 2015 at 23:06 GMT
I'm new to Brackets! Started yesterday. I was also having this problem with Live Preview not working. I Installed latest Brackets 1.2 and updated Chrome yesterday. Live Preview took forever to open Chrome, then showed the Live Preview crash message. I'm Running Windows 7.
Using some manual opens and what jasonsanjose commented on Sep 18, 2013 fixed it for me.
That 9234 tab is now running the Live Preview from brackets. But it's still not 100%.
Next go back to Brackets (leave that Chrome running). Click Live Preview. Brackets should open a new instance of Chrome with a running live preview.
For me, that works. As long as I leave my manual Chrome open with it's sidebars etc. the LP that Brackets opens works as advertised.
Thanks! This is exciting. I'm trying to transition from Dreamweaver and Brackets is a lot of fun so far. I hope this method helps someone
"@Mac944 the next time you start brackets, can you open http://localhost:9234 before you try live preview? That URL opens developer tools for brackets and you will see logs if available."
Comment by ArunKaza Thursday Apr 16, 2015 at 05:57 GMT
@
taptapper : Can you send me your email ID to arunk@adobe.com?
We would like to connect with you and discuss more.
Comment by aldoblack Thursday Apr 21, 2016 at 07:47 GMT
@
njx , may be a 3 years old thread but it helped me. If Fiddler is running, brackets will stuck on "Live Preview: Connecting... " .
Comment by beanamonster Monday Apr 17, 2017 at 22:02 GMT
I just started having this problem. I don't know what Fiddler is, I never knowingly downloaded it and I don't know how to disable it. Live Preview won't launch and I'm getting these two errors:
Failed to load resource: the server responded with a status of 502 (Fiddler - Connection Failed) Uncaught SyntaxError: Unexpected token T
Note: The syntax error is at index.html:1
but doesn't exist in my project.
Additional note: This error is breaking my Chrome search function when I try to run Live Preview and I have to clear my browsing data to fix it. So that's weird.
Comment by beanamonster Tuesday Apr 18, 2017 at 06:26 GMT
Ok, so, The Chrome fix stopped working and my search function was broken for 8 hours until suddenly all of my programs went offline. I could no longer connect to the internet due to a proxy error (I have no proxy set up, Brackets had not been launched), so I uninstalled Brackets and now I can use my computer again. Thanks for the free virus, I won't be using it again in the future.
Comment by KwrKy Wednesday Apr 19, 2017 at 13:37 GMT
So, I was using Brackets this morning, and everything was working fine until about 2 hours ago. Suddenly, live preview stopped working, and no matter what I do I can't seem to get it going again. When I try use LP it does one of three things:
As far as I know I'm not using any sort of proxy (I'm on a home network), and as far as I know I didn't change anything other than turning the LP feature on and off. Any suggestions?
I'm using an iMac, running the latest version of macOS, Chrome and Brackets.
Restarted my computer, and VOILA, LP is working again. Mods feel free to delete this if redundant, but it is worth noting that:
Comment by blarney2000 Friday Sep 15, 2017 at 06:23 GMT
I have no idea about how to find or modify the proxy. Not much help for non-network people.
But I did find a solution. I just clicked on File --> Enable Experimental Live Preview and the localhost is working again.
Comment by houdini68 Tuesday Dec 11, 2018 at 12:58 GMT
There is a way to make it work without doing (almost) anything that I have tested on Ubuntu Linux (when there is a proxy that is used). Just disable the network. Then start Brackets, open the file (for example index.html) and then click on the button 'Live Preview'. It should work. Now activate the network again.
Issue by Mac944 Wednesday Sep 18, 2013 at 10:47 GMT Originally opened as https://github.com/adobe/brackets/issues/5250
Hello,
I've just downloaded Brackets Sprint 30 and attempting to use Live Preview.
It's a Windows 7 PC that I use at work which has a firewall and Sophos installed.
Chrome was installed prior to Brackets.
I've also rebooted.
Any ideas?
Many thanks