SSH Database Tunnel Connection

I’m trying to connect to a database via ssh tunnel. it works if I create a local ssh/socks proxy on my system but using Wapplers direct database connection throws an error:

CleanShot 2023-05-12 at 20.22.29

CleanShot 2023-05-12 at 20.23.07

CleanShot 2023-05-12 at 20.24.04

The database is not on the tunnel server. What does the error mean and is a tunnel connection currently possible if the database is not on the localhost of the tunnel server?

We recently changed that indeed to make the ssh tunneling work with the docker databases, but might have a bug when the database is not on the same server as the tunnel.

Would you be able to provide me with some test credentials so I can test your setup? You can send those in a private message. Will definitely help me fix this more easy

2 Likes

I will replicate the issue with a different database and tunnel server I can share and dm you the credentials including the ssh keys. Thank you!

1 Like

Found the problem! It will be fixed in the next update.

Thanks for helping our with the test connection!

1 Like

Glad you found the problem! Can I delete the testing servers?

yes you can, don’t need them any more.

Thanks again for providing them.

1 Like

Fixed in Wappler 5.6.2