Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health metrics port extraction issue --info/-i #117

Open
0jk opened this issue May 4, 2024 · 0 comments
Open

Health metrics port extraction issue --info/-i #117

0jk opened this issue May 4, 2024 · 0 comments

Comments

@0jk
Copy link

0jk commented May 4, 2024

The --info argument does not accept -i localhost:9080 as stated in the readme. It crashes as seen in log.
But using IP, -i 127.0.0.1:9080 works as expected.

c:\>wireproxy.exe  -i localhost:9080 -c wp.conf
2024/05/04 11:41:52 Registered I/O is unavailable: The attempted operation is not supported for the type of object referenced.
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 2 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 7 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 3 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 2 - started
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 2 - started
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 3 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 4 - started
DEBUG: 2024/05/04 11:41:52 UAPI: Updating private key
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 3 - started
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 4 - started
DEBUG: 2024/05/04 11:41:52 Routine: event worker - started
DEBUG: 2024/05/04 11:41:52 Interface up requested
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 4 - started
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 5 - started
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 5 - started
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 6 - started
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 7 - started
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 8 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 6 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 8 - started
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 6 - started
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 7 - started
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 8 - started
DEBUG: 2024/05/04 11:41:52 Routine: TUN reader - started
DEBUG: 2024/05/04 11:41:52 Routine: encryption worker 1 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 1 - started
DEBUG: 2024/05/04 11:41:52 Routine: handshake worker 1 - started
DEBUG: 2024/05/04 11:41:52 Routine: decryption worker 5 - started
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - UAPI: Created
DEBUG: 2024/05/04 11:41:52 UDP bind has been updated
DEBUG: 2024/05/04 11:41:52 Routine: receive incoming v4 - started
DEBUG: 2024/05/04 11:41:52 Routine: receive incoming v6 - started
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - UAPI: Updating persistent keepalive interval
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - UAPI: Updating preshared key
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - UAPI: Updating endpoint
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - UAPI: Adding allowedip
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - UAPI: Adding allowedip
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - Starting
DEBUG: 2024/05/04 11:41:52 Interface state was Down, requested Up, now Up
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - Routine: sequential sender - started
DEBUG: 2024/05/04 11:41:52 peer(fHQZ…56yw) - Routine: sequential receiver - started
panic: listen tcp: lookup localhost on 106.51.156.186:53: no such host

goroutine 71 [running]:
main.main.func2()
        /home/runner/work/wireproxy/wireproxy/WireProxy/cmd/wireproxy/main.go:242 +0xae
created by main.main in goroutine 1
        /home/runner/work/wireproxy/wireproxy/WireProxy/cmd/wireproxy/main.go:239 +0xb53

Version: wireproxy, version 1.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant