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

Unable to set ipv6 address to bind gateway to #175

Open
Phoenix616 opened this issue May 4, 2023 · 2 comments
Open

Unable to set ipv6 address to bind gateway to #175

Phoenix616 opened this issue May 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Phoenix616
Copy link

Phoenix616 commented May 4, 2023

Describe the bug
When trying to set an IPv6 address in the standard format of e.g. [fe80::a6bf:1ff:fe47:4e8e]:25565 the following warning will show:

WARN unable to bind listener {"address": "[fe80::a6bf:1ff:fe47:4e8e]:25565", "error": "listen tcp: address fe80::a6bf:1ff:fe47:4e8e:25565: too many colons in address"

To Reproduce
Specify any IPv6 address in the bind option of a gateway.

Using infrared v2.0.0-alpha.13, Debian 11.7.

Expected behavior
Infrared to bind tot hat IPv6 address and port.

@Phoenix616 Phoenix616 added the bug Something isn't working label May 4, 2023
@haveachin
Copy link
Owner

That's odd. I was relatively sure that everything works with IPv6. Thanks for creating this issue, I'll look into it.

@Phoenix616
Copy link
Author

Phoenix616 commented May 5, 2023

From the error it looks like it might remove the square brackets somehow before ever trying to parse it as an address, maybe something is up with the config loading?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants