FlyingCarpet icon indicating copy to clipboard operation
FlyingCarpet copied to clipboard

ios <-> linux - no transfer

Open artemave opened this issue 1 year ago • 11 comments

I've just installed v8.01 on fedora (i3) and an iphone.

Transfer in either direction seems to drop a few seconds after qr code scan on the iphone. "Cancel" button on the phone changes back to "Select Files", wifi switches back to my home network, and the last log line on the phone is "Peer IP: x.x.x.x".

This may not be related, but I also noticed, that "Select Folder" doesn't appear to be working: "Selected Folder:" remains empty and selecting folder again always defaults to some path (presumably app image path?) that looks like this: /tmp/.mount_linux_dQwUyI/usr.

Thank you for your help.

artemave avatar Jan 22 '24 09:01 artemave

Strange, never seen this though I've also never tested on Fedora. I assume you used the AppImage? Could you please send the output from the Fedora side?

spieglt avatar Jan 22 '24 23:01 spieglt

This is what I see in the end:

flying_carpet

artemave avatar Jan 23 '24 08:01 artemave

So the iPhone joins the hotspot and finds the Fedora device's IP, but Fedora never gets beyond waiting for a TCP connection... Are you maybe running a firewall that's preventing inbound connections on TCP :3290?

spieglt avatar Jan 24 '24 04:01 spieglt

And do you maybe have SELinux or something else active that would enforce Flying Carpet writing to /tmp/.mount_linux_dQwUyI/usr?

spieglt avatar Jan 24 '24 04:01 spieglt

So the iPhone joins the hotspot and finds the Fedora device's IP, but Fedora never gets beyond waiting for a TCP connection... Are you maybe running a firewall that's preventing inbound connections on TCP :3290?

There's no firewall blocking that port.

artemave avatar Jan 31 '24 17:01 artemave

And do you maybe have SELinux or something else active that would enforce Flying Carpet writing to /tmp/.mount_linux_dQwUyI/usr?

I am on fedora.

artemave avatar Jan 31 '24 17:01 artemave

I installed Fedora to a VM and while I can't run full transfers, I am seeing similar behavior. If you run getenforce in a terminal and it outputs Enforcing, then it's SELinux getting in your way. You can run sudo setenforce Permissive to change SELinux to Permissive mode instead of Enforcing mode till the next reboot. If that allows Flying Carpet to work, you would either need to disable SELinux or write the necessary policies for it. Unfortunately I don't know a lot about writing those policies and will not be much help there.

spieglt avatar Feb 08 '24 02:02 spieglt

❯ getenforce
Disabled

artemave avatar Feb 09 '24 08:02 artemave

And it still doesn't work even with SELinux disabled? Is the output any different? Does it still show the /tmp/.mount_linux_dQwUyI/usr directory when you select something in your home directory?

spieglt avatar Feb 10 '24 02:02 spieglt

Sorry, I meant to say that it was Disabled to begin with. My bad.

artemave avatar Feb 10 '24 10:02 artemave

No worries, thanks for following up. I'll leave this issue open but unfortunately I probably won't be able to help more with it until I have another machine on which I can install Fedora, and I'm not sure when that will be.

spieglt avatar Mar 08 '24 01:03 spieglt