You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<-- A clear and concise description of what the bug is. -->
Attempting to send a file locally over the LAN from host A to host B fails on host B (receiver) with error.
Sending files from host A to B through the default relay succeeds.
To Reproduce
Steps to reproduce the behavior:
<-- 1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error -->
Host A (sender): croc --local send
Host A generates code
Host B (receiver): croc --local
Host B generates error
Expected behaviour
<-- A clear and concise description of what you expected to happen. -->
Host B (receiver) should download file.
Version
<-- Check "croc -v" and report it -->
croc v9.6.15
Additional context
<-- Add any other context about the problem here. -->
Both hosts are on the same LAN and subnet. Both hosts run the same version of croc. Both hosts run Debian 12.
user@sender:/mnt/02/ISOIMG$ croc --debug --local send debian-12.5.0-amd64-netinst.iso >> debug.log
Sending 'debian-12.5.0-amd64-netinst.iso' (629.0 MB)
Code is: 4542-phantom-nickel-herbert
On the other computer run
croc 4542-phantom-nickel-herbert
Receive Local Debug:
user@receiver:~/Downloads$ croc --debug --local
[debug] 19:24:08 cli.go:150: debug mode on
Enter receive code: 4542-phantom-nickel-herbert
[debug] 19:24:12 croc.go:185: options: {IsSender:false SharedSecret:4542-phantom-nickel-herbert Debug:true RelayAddress:5.78.91.237:9009 RelayAddress6:[2a01:4ff:1f0:c10b::1]:9009 RelayPorts:[] RelayPassword:pass123 Stdout:false NoPrompt:false NoMultiplexing:false DisableLocal:false OnlyLocal:true IgnoreStdin:false Ask:false SendingText:false NoCompress:false IP: Overwrite:false Curve:p256 HashAlgorithm: ThrottleUpload: ZipFolder:false TestFlag:false GitIgnore:false}
connecting...[debug] 19:24:12 croc.go:785: attempt to discover peers
[debug] 19:24:12 croc.go:850: discoveries: []
[debug] 19:24:12 croc.go:851: establishing connection
[debug] 19:24:12 croc.go:879: could not connect to : found no addresses to connect
2024/05/04 19:24:12 could not connect to : found no addresses to connect
user@receiver:~/Downloads$
The text was updated successfully, but these errors were encountered:
I've installed golang from the repository. The version is 1.19. The most current version available from the official Go dev website is 1.22.x. When I try to install peerdiscovery I get the following error:
go get -u github.com/schollz/peerdiscovery │
go: go.mod file not found in current directory or any parent directory. │
'go get' is no longer supported outside a module. │
To build and install a command, use 'go install' with a version, │
like 'go install example.com/cmd@latest' │
For more information, see https://golang.org/doc/go-get-install-depreca│
tion │
or run 'go help get' or 'go help install'.
Describe the bug
<-- A clear and concise description of what the bug is. -->
Attempting to send a file locally over the LAN from host A to host B fails on host B (receiver) with error.
Sending files from host A to B through the default relay succeeds.
To Reproduce
Steps to reproduce the behavior:
<-- 1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error -->
Expected behaviour
<-- A clear and concise description of what you expected to happen. -->
Host B (receiver) should download file.
Version
<-- Check "croc -v" and report it -->
croc v9.6.15
Additional context
<-- Add any other context about the problem here. -->
Both hosts are on the same LAN and subnet. Both hosts run the same version of croc. Both hosts run Debian 12.
Sender & Receiver:
Debian 12 & croc v9.6.15
Send Local Debug (debug.log):
Receive Local Debug:
The text was updated successfully, but these errors were encountered: