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:

  1. Send file with croc --local send <file>
  2. On the other device, try to recieve with `croc --local
  3. 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

Most upvoted comments

Croc --local still doesn’t work using the same computer with internet on image If you need any info, just tell me

Btw can i open a relay with the locale option

no you have to run croc relay and you have to mention your local ip as the --relay argument