flathub / com.borgbase.Vorta

https://flathub.org/apps/details/com.borgbase.Vorta
2 stars 7 forks source link

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

Open rectagonal opened 1 year ago

rectagonal commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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