croc: Trying to send a file with `--local` fails with `found no addresses to connect`
Describe the bug
I’m trying to send a file between two devices on the LAN. To try to boost the speed, I send with --local
. However, when trying to connect, it fails with
[debug] 17:54:45 croc.go:561: attempt to discover peers
[debug] 17:54:45 croc.go:626: discoveries: []
[debug] 17:54:45 croc.go:627: establishing connection
[debug] 17:54:45 croc.go:655: could not connect to : found no addresses to connect
2022/01/09 17:54:45 could not connect to : found no addresses to connect
To Reproduce
Steps to reproduce the behavior:
- Send file with
croc --local send <file>
- On the other device, try to recieve with `croc --local
- See error
Expected behaviour
There should be no error.
Version
This is between a Windows machine and Arch Linux ARM, both with croc version v9.5.0-f210ef8
Additional context
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 18 (7 by maintainers)
Commits related to this issue
- #454 fixed local transfer — committed to iulius98/croc by iulius98 2 years ago
- Merge pull request #459 from iulius98/master #454 fixed local transfer — committed to schollz/croc by schollz 2 years ago
Croc --local still doesn’t work using the same computer with internet on
If you need any info, just tell me
no you have to run
croc relay
and you have to mention your local ip as the --relay argument