When I try to connect to an IPv6 server using such URL: wss://[2500:6280:100:d0::1c2c:4001]:7000,
it gives the error dial tcp: address 2500:6280:100:d0::1c2c:4001:7000: too many colons in address.
For some reason it seems it adds the port to the last, something like :7000 in the above example, making it part of the IPv6 address itself.
I have investigated a lot, and seems the issue is coming from within gws code.
When I try to connect to an IPv6 server using such URL:
wss://[2500:6280:100:d0::1c2c:4001]:7000
, it gives the errordial tcp: address 2500:6280:100:d0::1c2c:4001:7000: too many colons in address
.For some reason it seems it adds the port to the last, something like
:7000
in the above example, making it part of the IPv6 address itself. I have investigated a lot, and seems the issue is coming from within gws code.