Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider communicating with Brackets-node using something other than websockets #12468

Open
core-ai-bot opened this issue Aug 31, 2021 · 7 comments

Comments

@core-ai-bot
Copy link
Member

Issue by peterflynn
Friday Dec 20, 2013 at 05:07 GMT
Originally opened as adobe/brackets#6282


We've received a bunch of reports over the past year from users who can't install extensions and/or can't use Live Preview -- where the cause turned out to be networking-related issues such as antivirus software, firewalls, or HTTPS proxies that blocked the socket connection from Brackets to Brackets-node.

Once file watchers also rely on node, the impact of this issue will be larger than ever before.

Given that general IPC in other apps doesn't seem to have massive known problems with antivirus software, I'm wondering if we could use a different IPC method to exchange the snippets of JSON with Brackets-node...

Here are some examples of bugs that got filed because of this:

@core-ai-bot
Copy link
Member Author

Comment by njx
Friday Dec 20, 2013 at 19:56 GMT


To@dangoor to track for an architecture discussion. Marking medium priority since we seem to hit this in a number of cases.

@core-ai-bot
Copy link
Member Author

Comment by dangoor
Thursday Jan 02, 2014 at 16:31 GMT


@peterflynn The extension installation case is a bit more complicated. Some of those (like #6188's part from busykai) are not related to Brackets connecting to brackets-node, but rather brackets-node connecting to the registry. I think most of the extension installation problems I've seen have been in that category.

#6079 is a good counter example and I hadn't seen that. It seems bizarre to me that web sockets would be blocked for some reason, but there you have it...

@core-ai-bot
Copy link
Member Author

Comment by iwehrman
Tuesday Jan 07, 2014 at 19:49 GMT


@gruehle pointed out that we should at the very least show a warning message on startup if Brackets can't connect to the Node process. File watchers make this especially important.

@core-ai-bot
Copy link
Member Author

Comment by gbade
Monday Mar 03, 2014 at 10:23 GMT


Hello, i recently started using brackets and just this morning, on starting the IDE, i keep getting a "failed to connect to node.js, extension requires node.js installed"
also -
"[brackets-git] ExpectedError: max connection attempts reached"

But i have node.js installed already. even ran node--version in command and got the current version i'm using - v0.10.15

PS - I am at work and my internet access is through a HTTP proxy. despite that, throughout last week, it did work. Don't know what's the matter now.

@core-ai-bot
Copy link
Member Author

Comment by dangoor
Monday Mar 03, 2014 at 14:23 GMT


@gbade Are you running Windows XP? Brackets 36 has a problem running node on XP systems.

@core-ai-bot
Copy link
Member Author

Comment by gbade
Monday Mar 03, 2014 at 14:30 GMT


@dangoor I'm running brackets on Windows 7. I managed to solve the issue by modifying my internet options by bypassing proxy for local server. Although, i did notice that i couldn't install extra extensions from the extension manager.

@core-ai-bot
Copy link
Member Author

Comment by dangoor
Monday Mar 03, 2014 at 14:33 GMT


@gbade Brackets 37 adds a "proxy" configuration item that will fix the extension manager installation issue. See #6911

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

No branches or pull requests

1 participant