haystackeditor / haystack-editor

Other
341 stars 14 forks source link

wget --no-config in RHEL 7 fails as well as other copy config install issues #2

Open datzsoasis opened 13 hours ago

datzsoasis commented 13 hours ago

Does this issue occur when all extensions are disabled?: Yes

Hiya, Its possible the answer to this is that RHEL 7 OS is simply too old- but its what I have to use at work. Filing just incase a quick fix is doable.

I have been using Visual studio code 1.92.2 to connect via ssh to a linux machine. Yesterday I learned of haystack and wanted to try it out. I installed it and when asked I allowed haystack to copy over my settings from VS Code. When trying to connect with ssh just as before, I get the following error: "Could not establish a connection to "other machine": Failed to download VS Code Server (XHR failed).

This was fixed by forgetting the old host connection, and simply manually retyping my user@XXX. Then I could connect again. Note: I also could not install/uninstall extensions in the haystack editor until I went to F1->searched proxy-> used proxy support for extensions : off.

Now that I was able to connect to my linux machine, I tried to 'Open Folder' and create my workspace. However the terminal would try a # of times to run the wget --no-config option which would fail as we seem to have some older version of wget cmd.

This was temporarily/hackily fixed on my end by creating my own wget script in bin that intercepts and does nothing with the wget command. Then haystack is able to quit failing (could not establish connection to "XXX") and open the workspace folder. It appears I can use haystack now.

Steps to Reproduce:

  1. download haystack
  2. install it
  3. when asked if you should copy settings from vs code choose yes
  4. click bottom left blue icon to connect to another pc
  5. chose connect to host , select your host
  6. once connected File-->Open Folder and chose a folder
  7. Notice bottom right message of trying to connect to server timeout messages
  8. Wait ~60sec notice popup error "Could not establish connection to "XXX"
AkshaySG14 commented 10 hours ago

I think this is a bug with copying the VS Code extension over. Does re-installing SSH in Haystack work?