Closed zz0rk closed 1 month ago
test this package on both computers: https://github.com/schollz/peerdiscovery/
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 '...'
Click on '....'
Scroll down to '....'
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.
Sender & Receiver: Debian 12 & croc v9.6.15
Send Local Debug (debug.log):
Receive Local Debug: