croc icon indicating copy to clipboard operation
croc copied to clipboard

Errors about customizing Relay Server

Open Kry1702 opened this issue 2 years ago • 2 comments

Describe the bug

<-- A clear and concise description of what the bug is. --> Error when receiving file.

To Reproduce

Steps to reproduce the behavior:

  1. croc relay --ports 3001 2.croc --relay 192.168.39.83:3001 send env.file
  2. Receiver executes “croc --relay 192.168.39.83:3001 4572-prism-sleep-escape” ,The error message is as follows
securing channel...panic: comm.NewConnection failed: dial tcp: lookup tcp/ok: getaddrinfow: The specified class was not found.

goroutine 22 [running]:
github.com/schollz/croc/v9/src/croc.(*Client).processMessagePake.func1(0x0)
        /home/zns/Documents/croc/src/croc/croc.go:1180 +0x4f8
created by github.com/schollz/croc/v9/src/croc.(*Client).processMessagePake
        /home/zns/Documents/croc/src/croc/croc.go:1160 +0x7ec

sender error

panic: comm.NewConnection failed: dial tcp: address tcp/ok: unknown port

goroutine 64 [running]:
github.com/schollz/croc/v9/src/croc.(*Client).processMessagePake.func1(0x0)
	/home/zns/Documents/croc/src/croc/croc.go:1174 +0x4f5
created by github.com/schollz/croc/v9/src/croc.(*Client).processMessagePake
	/home/zns/Documents/croc/src/croc/croc.go:1154 +0x7ec

``


## Version
<-- Check "croc -v" and report it -->
croc version v9.6.2-3b8193



Kry1702 avatar Mar 09 '23 09:03 Kry1702

I cannot reproduce this error.

Are you sure your relay address is available from the sender?

schollz avatar Mar 14 '23 11:03 schollz

Stale issue message

github-actions[bot] avatar Feb 19 '24 12:02 github-actions[bot]