ipaddr: cannot match ipv6 address with non-ipv6 one (in Firewall config)
-
@ccfu Where do you see this error? In the Cloudron dashboard? Do you have a screenshot?
It seems that error message comes from https://github.com/whitequark/ipaddr.js/blob/master/lib/ipaddr.js#L572 but we never return this error message from Cloudron code itself.
-
@ccfu Do you think you can send me what IPs you are trying to put in the UI to support@cloudron.io (or if you don't mind it being public, you can put it here) ? Looks like some validation error.
-
-
@girish Adding the individual IPs seems to work fine, but as soon as I try to add a range I get the error. This is odd though because these ranges and a few individual IPs were already in the list. The errors seem to have started occuring after the latest update to 6.2.7.
-
-
@nebulon It fails with just one range being added and nothing else in the input field. I tried different browsers and checked for special characters. Without the ranges all is fine.
I am not really sure what the error message is trying to tell me to be honest as these are all IPv4.
-
@ccfu I think I found the issue here. It is actually an unhandled error coming from https://git.cloudron.io/cloudron/box/-/blob/master/src/network.js#L43
Looks like your source ip from your browser (or in the code in the auditSourcE) is set as ipv6 however the code expects ipv4.