-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Brackets 1.8 - Installing extensions from Extension Manager not working #12898
Comments
Forgot to mention that I'm behind a proxy. Proxy is properly configured and list of extensions appear in Extension Manager. |
Same thing here. No way to install extensions with the extensions manager |
Working on Win10 64bit, not working on Win7 32bit !! |
I'm on Windows 64-bit and it does not work. I would actually assume that it would be the other way round since the Brackets msi installer installs the 32-bit version on a 64-bit system. |
Funny, it is the other way around on my end. Laptop is running Win10, all fine. Desktop is Win7, can't install. The only difference is that I had 1.8 pre-release installed on desktop. |
Not working also for me win 32bit |
The problem seems to be related to the proxy configuration: If no If I add a
I seems the proxy setting is now being sent to the Node backend (in NodeConnection._send()) together with the package URI. The backend does not understand this or the client does not pass these parameters correctly. |
If you are on a 32 bit platform could you try this workaround? |
@ficristo Sorry, I do not have access to a Windows 32-bit platform. The MSI installer installs the x86 version of Brackets on Windows 64-bit systems. Anyway, I'll give it a try tomorrow. |
@ficristo The workaround does not change anything on my 64-bit Windows, same behavior. However, I am aware that the patched node.exe is the 32-bit version, whereas the originally installed node.exe is a 64-bit version. But as mentioned above, I do not have access to a 32-bit Windows. (Brackets.exe is still 32-bit on my 64-bit Windows, though). |
@ficristo 64-bit node.exe downloaded from /dist/v6.3.1/win-x64/ does not change anything either for me. |
@nerk sorry if I confused you. There were some comments about 32 bit so I added that workaround for them. |
@ficristo Yes, I've been using Brackets since 1.1 and have not had any problems until 1.8. The problem manifests itsself in https://github.com/nodejs/node/blob/master/lib/_http_client.js:
Almost looks to me as if the URL passed to node from Brackets is already broken. Maybe the proxy spec unintentionally becomes part of the request URL (separated by a blank?) which causes the check for options.path to fail. The problem might be not a üroblem with nodejs at all. Just a guess... |
@ficristo Surprisingly, if I replace node.exe with the one included in 1.7 (node v0.10.24), it works! |
Actually is not so surprising, since we have updated node from 0.10.x to 6.3.x I was expecting some breakage (but I was thinking more about extensions than Brackets itself). If you want to mess with Brackets code I wonder if updating the node modules under |
Thanks. I narrowed it down somewhat. The last working version of nodejs is 0.11.3. As of 0.11.4, things go wrong as described above. The relevant changes might be here: I can not tell you exactly what is going on, because I'm not really eager to actually debug nodejs. However, if you need more details or I can do something else, please let me know. |
I don't think it's necessary to debug nodejs itself. You could try something like: Or better hack on Brackets and update the request library at I don't guarantee anything but worth a try. |
Not working with request 2.78.1. Now it get If I had a version of node.js which actually included |
Just to be sure: have you tryed the new request with node 6.3.1? |
I hope so, but something else must have gone wrong. Anyway, I just updated to Brackets 1.8 on my Windows 10 64-bit system at home. Without proxy configuration, everything is working fine. If I configure a proxy, I am observing exactly the same behavior ("Installation failed - Unknown internal error"). Next I installed The problem seems to be indeed related to the version of the used Thanks for your help! |
Actually, if I specify the protocol in the proxy spec, e.g. I just leave it at that for now. |
### Here is solution i have found it should work |
@GOPAL140892 Sorry, I don't think that this is the reason. My system is 64-bit. I think you've got a different error, because the problem you describe would be independent from any proxy configuration settings. If you read the comments above, you see that we pretty much figured it out. It is related to incompatible versions of node's request package. |
I got the same issue as well.
I tried reinstalling nodejs, brackets, replace node in extensibility folder, but none of that works. I fixed my issue by using solution by @ficristo -
|
With Brackets 1.9 the problems regarding proxy configuration are fixed. From my point of view, this issue can be closed. |
@nerk glad to know. |
Prerequisites
Debug -> Reload Without Extensions
?For more information on how to write a good bug report read here
For more information on how to contribute read here
Description
Installing any extensions from Extension Manager fails.
Steps to Reproduce
Expected behavior: Extension gets installed
Actual behavior: Message box with "Installation failed - Unknown internal error" appears.
Debug console shows "WebSocket connection to 'ws://localhost:51378/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED /utils/NodeConnection.js:84"
If I enable "Node Debugger", the regular "Installing extension from https://..." message is posted, but it just hangs until I cancel it manually.
As a side node: "Reload Without Extensions" does not appear to do anything. I therefore removed the extensions directory manually just in case, but it does not help either.
Versions
Windows 7 Enterprise 64-bit, Service Pack 1
Release 1.8 build 1.8.0-17108
The text was updated successfully, but these errors were encountered: