Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

iroh-share always fails with "invalid hash Multihash" #216

Closed
fabricedesre opened this issue Jul 27, 2022 · 3 comments · Fixed by n0-computer/iroh#166
Closed

iroh-share always fails with "invalid hash Multihash" #216

fabricedesre opened this issue Jul 27, 2022 · 3 comments · Fixed by n0-computer/iroh#166
Assignees
Labels
bug Something isn't working

Comments

@fabricedesre
Copy link
Contributor

Setup: sharing from a laptop to a desktop, both on the same home network. Tried with different files, got the same result.

Sender:

     Running `/Users/fabrice/dev/capyloon/iroh/target/release/iroh-share send /Users/fabrice/Pictures/PXL_20220413_160130042.jpg`
Sending: /Users/fabrice/Pictures/PXL_20220413_160130042.jpg
Ticket:
mJgAAAAAAAAAAJAgBEiClBK2WVB7A7bNTuGQenPXHxF62+Z/EVchTHVglUycjwgIAAAAAAAAACAAAAAAAAAAEfwAAAQYnBggAAAAAAAAABAoAAFcGJwYsAAAAAAAAAEVLTUlTdUJ5TGlQZ3ZFeS9aeUpmNGNpZ2pyY29ZMTR1QzdWMjFsUFRpdVk9

Receiver:

     Running `/media/external/dev/iroh/target/release/iroh-share receive mJgAAAAAAAAAAJAgBEiClBK2WVB7A7bNTuGQenPXHxF62+Z/EVchTHVglUycjwgIAAAAAAAAACAAAAAAAAAAEfwAAAQYnBggAAAAAAAAABAoAAFcGJwYsAAAAAAAAAEVLTUlTdUJ5TGlQZ3ZFeS9aeUpmNGNpZ2pyY29ZMTR1QzdWMjFsUFRpdVk9`
Receiving
transferred: 1/17
Writing /media/external/dev/iroh/iroh-share/PXL_20220413_160130042.jpg
Error: copy

Caused by:
    invalid hash Multihash { code: 18, size: 32, digest: [126, 142, 105, 29, 239, 84, 21, 25, 68, 244, 73, 27, 19, 136, 251, 105, 108, 87, 40, 111, 105, 92, 198, 138, 179, 52, 249, 40, 207, 206, 205, 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }
@fabricedesre
Copy link
Contributor Author

fabricedesre commented Jul 27, 2022

If that can be relevant: the sender is a Mac M1, the receiver a x86 Linux box. Endianness issue maybe?

@fabricedesre
Copy link
Contributor Author

If that can be relevant: the sender is a Mac M1, the receiver a x86 Linux box. Endianness issue maybe?

Nope, that doesn't work with sender & receiver on the same machine either.

@dignifiedquire dignifiedquire self-assigned this Jul 27, 2022
@dignifiedquire dignifiedquire added the bug Something isn't working label Jul 27, 2022
@dignifiedquire
Copy link
Contributor

Confirmed and reproduced on my machine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants