event icon indicating copy to clipboard operation
event copied to clipboard

IPv6 host URL not correctly parsing

Open HaosGames opened this issue 2 years ago • 1 comments

Describe the bug

I am trying to connect to a clightning-rest interface with the following URL in the host field: https://[IPv6] replacing IPv6 with the actual address and not removing the brackets. If I try the same without the brackets I get the same result. With this config I get an error from zeus Error: ReactMativeBlobUtil request error: url == nullnull

If I try the same but entering https://DOMAIN with the same IPv6 address as an AAAA entry in the domain it works as expected. This leads me to believe that there is a parsing issue here and not a connection issue.

I am on Zeus v0.6.5-rc3

Reproduce

Try to connect to any clightning-rest node with the actual IPv6 address surrounded by brackets and the https:// prefix as the host.

Zeus version

v0.6.4

Network

Clearnet

Device

OnePlus 6T

Device operating system

Android 11

Log output

No response

HaosGames avatar Jun 15 '22 13:06 HaosGames

Same here with Android 10 on device Samsung A51

Mubelotix avatar Jun 22 '22 22:06 Mubelotix

Are you still experiencing this issue with v0.6.6?

kaloudis avatar Sep 26 '22 17:09 kaloudis

Yes. The issue persists

HaosGames avatar Sep 27 '22 10:09 HaosGames

I just tested this with Zeus 0.8.0-beta4 and it works when entering the ipv6 with brackets (e.g. https://[1:2:3:4]). Without the brackets I also get the error request error: url == nullnull.

myxmaster avatar Nov 25 '23 10:11 myxmaster

Yes, this works with brackets. Without brackets would not make much sense since it would be ambiguous if you want to specify a different port.

HaosGames avatar Dec 15 '23 16:12 HaosGames