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

[ENG-1861] Spacedrop failing to transfer on Fedora Linux #2677

Open
1 task done
greendoescode opened this issue Aug 19, 2024 · 4 comments
Open
1 task done

[ENG-1861] Spacedrop failing to transfer on Fedora Linux #2677

greendoescode opened this issue Aug 19, 2024 · 4 comments
Labels
app/desktop kind/bug Something isn't working status/needs-more-info Need more information about issue

Comments

@greendoescode
Copy link
Contributor

Check for other issues

  • I've checked for other issues, and none exist.

Issue description

When I run spacedrive using pnpm tauri dev or through sandboxed flatpak, spacedrop fails to run. This also applies to official builds.

Steps to reproduce

  1. Run spacedrive
  2. try to connect to another spacedrive instance running on Linux/fedora
  3. the instance being connected to crashes

Platform and versions

  • OS: Fedora 40
  • Spacedrive: 0.4.2, but doesn't work in dev either.
Development tool versions (optional)

Stack trace

2024-08-14T19:56:16.227183Z ERROR sd_core: panicked at /home/runner/work/spacedrive/spacedrive/core/src/p2p/operations/ping.rs:36:10:
Failed to send pong: Custom { kind: ConnectionReset, error: Stopped(0) }, panic.file: "/home/runner/work/spacedrive/spacedrive/core/src/p2p/operations/ping.rs:36", panic.column: 10
    at core/src/lib.rs:292

fatal runtime error: failed to initiate panic, error 3


### Additional context

_No response_

### Code of Conduct

- [X] I agree to follow the Code of Conduct.
@greendoescode greendoescode added kind/bug Something isn't working status/needs-triage labels Aug 19, 2024
Copy link

linear bot commented Aug 19, 2024

@greendoescode greendoescode changed the title Spacedrop failing to transfer on Fedora Linux [ENG-1861] Spacedrop failing to transfer on Fedora Linux Aug 19, 2024
@iLynxcat
Copy link
Member

for clarification, this only works if you're running the app either in development or through the Flatpak distribution you're working on?

@iLynxcat iLynxcat added app/desktop status/needs-more-info Need more information about issue and removed status/needs-triage labels Aug 19, 2024
@greendoescode
Copy link
Contributor Author

for clarification, this only works if you're running the app either in development or through the Flatpak distribution you're working on?

I wasn't able to get spacedrop to work in any instance, I tried pnpm run dev, flatpak and the official 0.4.2

@HeavenVolkoff
Copy link
Member

HeavenVolkoff commented Aug 21, 2024

Very likely the same issue as #2561

Tbh the p2p code is very brittle atm. We are currently working on our official cloud support (spacedrive cloud, not external providers) and next we are going to rework p2p so it can leverage some of the new architecture we built for cloud using n0-computer/iroh, which should solve the majority of problems the current p2p implementation has.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/desktop kind/bug Something isn't working status/needs-more-info Need more information about issue
Projects
None yet
Development

No branches or pull requests

3 participants