-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
BUG: Connection error with SSH tunnel after Self-Update to 5.2.8 (Linux) #781
Comments
Which installation are you using? I am trying SNAP and flatpak distributions under ubuntu and SSH tunnel with MariaDB works normally |
AppImagine here! Btw I tried removing the .dbgate folder and start fresh but it didn't help either. |
workaround (for Linux only - and maybe for other unix systems):
|
Excellent tipp, @pgp ! Thank you. It works. |
Thanks for workaround @pgp Another workaround mentioned in #782 It seems this problem is related to manjaro, on ubuntu, I have not problems with appimages Please let me know, it this problem occurs on non-manjaro distributions Fixing this will probably take more time, currectly I don't have manjaro installed |
Yes Manjaro here. The bug seems to be 5.2.8 specific though. It's even there when I re-download 5.2.8 and gone when I use 5.2.7. |
There is lot of dependencies upgraded between 5.2.7 and 5.2.8 (eg. electron was upgraded from v17 to v30) |
Let me know if I can help you in any way. |
Small update, maybe it helps: same problem with EndeavourOS, so it might be an Arch thing? I paste the terminal output of starting 5.2.8 and trying to open MariaDB on host "nextcloud" via ssh tunnel in case you can do something with that:
|
@nicnab Could you please try newest BETA https://github.com/dbgate/dbgate/releases/tag/v5.2.9-beta.2 from with fix from @ProjectInfinity ? On Mac, this fix solved similar SSH connection issue, probably it would be the same problem |
just tried 5.2.9 beta 2 linux x64 AppImage, the problem on my side presists... It is worth noting that I use a local postgres connection (localhost:5432) and the db is running on a custom socket (i.e. using pgctl to start with a custom db data directory, under /dev/shm). |
Sorry I will be back at the work machine in two weeks :-/ Will gladly pick up then though! |
Hi, I am use macOS and got the this issue too. |
Same issue with MacOS, did anyone come up with some solution? |
@datgausaigon @KeshariPiyush24 did you try the BETA version https://github.com/dbgate/dbgate/releases/tag/v5.2.9-beta.2 ? It solved this issue on Mac for me @pgp issue you mentioned is related to #793 , BETA version should solve only SSH tunnel issue |
@janproch Yup, the BETA version fix this issue. ❤️
|
Ok it's raining and the kids are playing so I found some time to install dbgate on my laptop (also Manjaro with Plasma 6.0.4) and test beta 2. Unfortunately I didn't work. Both ssh and dbs work via terminal (and VPN this time). Here's the terminal output:
|
Could you maybe share how you are setting up the tunnel? From the logs it looks like you're trying to tunnel port 3306 from phylax-localhost. Is that correct? Perhaps using the ip or domain may work. |
v5.2.9-beta.2 solved issue for me on MacOS also! |
That is correct. I have a dnsmasq running that resolves phylax. It works on the command line but not in dbgate. But I did just test using only the IP and also with "127.0.0.1" instead of "localhost" but the problem is still the same. |
THis worked for me on MacOS Monterey |
I believe I am having the same issue. Whenever I try to connect to a remote MariaDB database I am met with an error connection refused. I noticed that the port is not the one I specified. I am using the homebrew version for mac. I downgraded to 5.2.7 and it works fine with the same configuration. Error: connect ECONNREFUSED *******:10000 <----- not the port i specified Error JSON: { Connection: { Platform: darwin |
You need to run 5.2.9-beta.2 or newer in order to benefit from the SSH fixes. You will not find them in the homebrew version. |
Ok back in the saddle. I just tested 5.2.9 and the latest beta and all works well! Not sure what the issue via VPN was but I will report if I find anything else. Thanks a lot for fixing this so quickly and, again, for providing such a nice piece of software as FOSS! |
Fixed in 5.2.9. |
I installed DBgate 5.2.7 yesterday for the first time and love the program very much! I added three MariaDB connections, all with SSH tunnel, for testing and all worked fine.
This morning I wanted to continue testing when DBgate updated itself to version 5.2.8. Now, none of the three connections will work anymore. SSH connection to db host on terminal works fine and also connection to MariaDB on host works as expected.
Here's the detailed error message from DBgate:
Version Information (please complete the following information):
The text was updated successfully, but these errors were encountered: