code-settings-sync
                                
                                 code-settings-sync copied to clipboard
                                
                                    code-settings-sync copied to clipboard
                            
                            
                            
                        Firefox can't establish a connection to the server at localhost:54321.
Good day to you all,
when I am trying to setup extension, I click on "Login with Github", browser opens with address  http://localhost:54321/callback?code=********* and I get error mentioned in the subject, i.e.
Firefox can't establish a connection to the server at localhost:54321.
I tried opening the link in MS Edge (the chromium based one), I tried checking hosts file to see if there is somehow any localhost redirect/blocking, I tried ipconfig flushdns and renew, nothing worked.
I do have node.js installed on my Windows 10 machine, but as I understood, it runs on localhost:5000 only if I am running node and some app within..?
Thanks for any help, I hope solving this issue would help others with seamless installation of the extension.
- [x] Windows 10 ver. 2004
- [x] latest VS Code etc.
Are you using code-server or running VS Code natively?
I've found that this extension doesn't work when code-server is running behind an HTTPS reverse-proxy. See details here
@csaska I'm having this issue as well. It's with code-server that's running in gCloud.
Hi there, I'm facing same problem.
I have:
- Settings Sync 3.4.3
- Code-Server 3.6.2 running remotely on Ubuntu 20.04.
- I'm not using Reverse Proxy but I'm accessing Code-Server over HTTPS with TLS certificate issued an internal CA.
Any help is welcome. Regards.
You can setup settings sync without using that button.
What I did was set up settings sync using VS Code, then copied the config for settings sync manually to code-server.
Thanks @csaska I found a workaround. I created a SSH Tunnel from my local computer to remote one which is running Code-Server over HTTPS 8443 port and Settings Sync worked.
ssh -L localhost:54321:192.168.1.59:54321 [email protected]
Code-Server is running on 192.168.1.59:8443.
Regards.
Duplicate of #1005
Thanks @csaska I found a workaround. I created a SSH Tunnel from my local computer to remote one which is running Code-Server over HTTPS 8443 port and Settings Sync worked.
ssh -L localhost:54321:192.168.1.59:54321 [email protected]Code-Server is running on
192.168.1.59:8443. Regards.
For people who are using kubernetes, you can port-forward like below, the "Login in with Github" now works!
kubectl port-forward deployment/code-server-deployment -n code-server 54321
Use this extension, it's working
https://marketplace.visualstudio.com/items?itemName=nonoroazoro.syncing