Skip to content
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

Cannot connect to server on local network via it's mdns domain name. #110

Open
rectagonal opened this issue Apr 2, 2023 · 5 comments
Open

Comments

@rectagonal
Copy link

rectagonal commented Apr 2, 2023

This works fine with the upstream client when using native distro packages in Debian or openSuse, but I cannot get it to work with the flatpak version on distros which lack a native package.

This can be worked around by mounting it with sshfs using the mdns domain name and pointing Vorta at the mount point, but that is kinda tiresome.

I suspect some dependency for avahi/zeroconf/bonjour is missing from the flatpak, but im unsure how to check for that.

@real-yfprojects
Copy link
Contributor

You can open a shell in the flatpak sandbox with

flatpak run --command=sh --devel <application-id>

I found flatpak/flatpak#348 linking to freedesktop-sdk#1013.

@rectagonal
Copy link
Author

@real-yfprojects Ah so if I understand correctly, I should just be able to pass "--system-talk-name=org.freedesktop.Avahi" to flatpak to get it talking to Avahi ?

@real-yfprojects
Copy link
Contributor

@real-yfprojects Ah so if I understand correctly, I should just be able to pass "--system-talk-name=org.freedesktop.Avahi" to flatpak to get it talking to Avahi ?

Try it, I didn't read through the linked threads.

@rectagonal
Copy link
Author

Unfortunately it still doesn't work with that option

2023-04-03 09:32:33,839 - vorta.borg.borg_job - WARNING - Remote: ssh: Could not resolve hostname madame-web.local: Name or service not known

@real-yfprojects
Copy link
Contributor

Looking at this PR. One might need to include Avahi in the sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants