Push Firmware Upgrade IPV6 URL

Hello, I found an issue with the firmware upgrade when CPE is using IPV6 and is informing host as URL instead o FQDN.
When this situation is happening genie is not forming the firmware upgrade properly, the URL sent to the CPE is

Note: adding spaces in the http part of url just to be able to post.
h t t p ://[2804:7567/22.1.RC05.R010.2410301531.pkgtb

when it should be: h t t p //2804:4c0:ffff:ff21:800::191]:7567/22.1.RC05.R010.2410301531.pkgtb

I have tried to force use of FQDN via Listing Config or environment variable without success.

Hello! I’m a newbie, but, maybe I have idea for your problem. the scripts are interpreted in server side and CPE only received “results”. It’s a simplification, please only understand my point.

Normally for firmware upgrade have a special ways…
http://docs.genieacs.com/en/stable/provisions.html#downloads

Upload the firmware for GenieACS and download from a inform time like documentation say.

sorry if i can’t exmplane better, ingles is not my natural langue =)

Hi

I am facing the same issue: GenieACS sending the IP of download path is wrong

image

The IP should be in my case:
[2001:db8::99]:7567

Looks like GenieACS has issue with IPv6 firmware upgrade: sending wrong IPv6 address.

Has anybody same experience or fix for this?

I found following workaround solves the problem.

Add the exact address to genieacs.env with “GENIEACS_FS_URL_PREFIX”, like this:

GENIEACS_FS_URL_PREFIX=http://[2001:db8::100]:7567/

It is just a workaround, the original issue should be fixed in GenieACS.

Hope it helps for others as well, have a nice day!