-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Windows: Getting 'Relaunch Chrome' dialog #1704
Comments
I've seen this on Windows before when I initially start Live Preview, if the browser takes too long to open the tab -- there's some sort of timeout after which I guess we assume the browser refused to open the tab. |
@pthiess was running into something similar. In his case, rebooting the machine fixed it. @redmunds - Try having at least one tab open in Chrome before starting Live Development. That may help.with the close/re-open issue since it will only be a tab that is closing/re-opening and not a whole window. Auto-switching as you select HTML files is the expected behavior. |
@gruehle Changing priority to medium since we see people running into it on the forum already. |
Nominating for sprint 15 |
Randy, I'm getting this problem with both Brackets Sprint 14 and Edge Code on Windows 7. My computer has two accounts: David (my main account) and V2B (which I use for recording videos for video2brain). I've recently been using the V2B account, and Live Preview has now stopped working on the David account. I tried uninstalling and reinstalling Chrome, but to no avail. Live Preview works fine in the V2B account, but not my main one. The problem appears to be that Brackets and/or Chrome can't find the Chrome DLL when I'm logged into my main account. Here are some error messages from the Chrome debug.log in my David account: [0926/120200:ERROR:client_util.cc(394)] Failed to load Chrome DLL from C:\Users\V2B\AppData\Local\Google\Chrome\Application\22.0.1229.79\chrome.dll [0926/120200:ERROR:client_util.cc(442)] Could not find exported function RelaunchChromeBrowserWithNewCommandLineIfNeeded |
Hi David, The inability of Brackets or Edge Code to find Chrome is a different problem (that we thought we had fixed). Please file a new issue with this info. Also include the actual location of Chrome on that account. Thanks, |
Hi Randy, Filed as Issue #1720. It looks as though Chrome updated itself to a new version in the main account, but Brackets is looking for chrome.dll in the second account. |
Reviewed - assigning to Randy |
@gruehle Your suggestion to have 1 other tab open in Chrome solves the problem. Is that all we need to do here? Should this be documented somewhere? The only other change that we might want to make is to extend the timeout (or increase the number of tries) so there is less chance of user seeing that modal dialog. If so, we may want to limit this change to only Windows. Is that worth pursuing? |
I'm still having trouble reproducing reliably. I have been able to reproduce a couple times, and in both cases the browser was clearly open for a while before getting the error message, so I'm not sure if extending the timeout or increasing the number of tries will fix anything. I'm fine with adding this to the Troubleshooting wiki page, bumping this down to low priority and removing the Sprint 15 tag. |
I added a comment to the Troubleshooting page (https://github.com/adobe/brackets/wiki/Troubleshooting). Keeping open and setting to Low priority for now. Removed Sprint 15 tag. |
Hello, I am using Backets Sprint 15 on Windows 7 Entreprise, and I keep getting "Would you like to relaunch Chrome and enable remote debugging?". I launched the Develooper Tools and I get the following logs : calling to close: 0 /D:/DEV/brackets-sprint-15/www/utils/NativeApp.js:78 called closing: 0 with err: 0 /D:/DEV/brackets-sprint-15/www/utils/NativeApp.js:80 Failed to load resource http://127.0.0.1:9222/json I was using Windows XP until Brackets Sprint 14 and everything was fine. Does somebody have an idea ? Thanks in advance. |
nicodel, I think this has something to do with the fact that we updated our release of Chromium Embedded Framework in Sprint 15. Have you tried opening another tab in the Chrome window? That prevents Chrome from closing the entire window and re-opening a new one each time. Regards, |
I tried to open a second tab, before the message appear in Brackets, but no luck it still happens. And typing the Relaunch button close Chrome (even with other tabs) and re-open it with only the index.html I have in Brackets. |
Hello, I continued to experiment and I found something, that for me, seems weird. When I "link" an html file such as the index.html of reveal.js, I don't get the "Would you like to relaunch Chrome and enable remote debugging?" popup in Brackets. But when I "link" a very basic html file such as
I keep getting this popup every 30 seconds... |
I am not sure on exactly what you mean by "link an html file". Are you referring to the target file or the source file? Can you send the 2 files to me at redmunds@adobe.com so I can try them out? I tried creating a file with the contents from above, and I am not seeing anything "popup every 30 seconds". Also, opening another tab still provides a good work around for me, so maybe we're not talking about the same things. This is what I do:
From that point I can quickly switch between files in Brackets. The first tab never closes, so the Chrome window never closes, and the second tab is closed and another tab is quickly opened in its place. As I said, the second tab is a work around, so please send me the files so I can try to reproduce what you are seeing. |
I make you a video of what's happening and send you both archives. Thanks |
Dear all, I was finally able to find what was causing the Live Preview to be interrupt by a dialog after only a few seconds the icon was clicked. It is because the html file was inside the Windows users directory (eg: C\Users\nicodel). When the same file is somewhere else, outside the Users directory, the Live Preview is not interrupted, and works fine. So ... don't use the Windows Users directory to host your web app/page sources. Just to be precise, I am using Windows 7 Entreprise SP1 and Brackets Sprint 15. Regards |
Due to recent changes to Chrome, this is now expected behavior on Windows, too. Closing. |
Windows 8, 64bit. Get these Chrome Relaunch message ever and ever, no trick helps. So, Live Preview does not work in any way here. |
@thulka Where is your html file ? Is it in your "user" directory, or in another Windows system directory ? It was what was causing theses annoying messages. |
@thulka Due to changes in Chrome, the behavior has changed on Windows, so getting the Relaunch Chrome dialog (which was the original reason for this issue) is now valid on Windows. Please open a new issue. Please include details about:
|
will do, thx |
Logging off, and back on, solved it for me. It happenens only after standby something wierd with windows standby sleep. |
I had the same error. Start working when i start Brakets through "Run as administrator". (In Brackets Release 1.6 + Windows 7 + Chrome 48) |
Same error he on Microsoft Edge, Win10 x64bit, I have all latest updates on everything. |
RESULTS:
On Win7, I am seeing the dialog that says "In order for Live Preview to connect, Chrome needs to be relaunched with remote debugging enabled."
I am not seeing this on Mac 10.6.
This seems to be much worse in Brackets (repo) than CC Branch (installer).
This seems to happen faster in Brackets if you select a non-HTML file between HTML files. Actually, it only seems to happen in CC Branch when you select non-HTML files.
EXPECTED:
I thought the 'Relaunch Chrome' was a Mac-only dialog.
I'm not sure that Live Preview would switching files as you switched files in Brackets is by design, so I'm not sure if this is a bug or a feature. Until recently, the pages used to change in same browser window, but now it seems to close and re-open browser window every time you switch files, so it's slower and not as smooth. Is that by design?
The text was updated successfully, but these errors were encountered: