alexreinert / piVCCU

piVCCU is a project to install the original Homematic CCU3 firmware inside a virtualized container (lxc) on ARM based single board computers.
Apache License 2.0
300 stars 62 forks source link

apt.pivccu.de down #522

Open GrmpfNarf opened 4 months ago

GrmpfNarf commented 4 months ago

Hello, the URL apt.pivccu.de seams not to be reachable at this moment. This also seams to causes the pivccu.service to starting forever.

With regards.

guitarhead commented 4 months ago

I can confirm this, too. I'm kind of scared that online connection to apt.pivccu.de is needed for the CCU to run. That's kind of not what I expected. Hoped to have an offline system. So maybe there's a way to fix that, too? Your work for this project is awesome, so don't get me wrong.

Could this be the "problem" in /var/lib/piVCCU3/start_container.sh: wget -O /dev/null -q --timeout=5 "https://www.pivccu.de/latestVersion?version=$PIVCCU_VERSION&product=HM-CCU3&serial=$HM_HMIP_SERIAL&os=$OS_RELEASE&board=$BOARD_TYPE" || true

Maybe there should be an option to startup anyway without checking the version? But I not good at this. Kind regards

guitarhead commented 4 months ago

Ok, commenting out the above quoted line with an # leads to a temporary solution. Kind regards

Would recommend a check here If "Link above" timeout start pivccu anyways but just a suggestion.

guitarhead commented 4 months ago

apt.pivccu.de is up again. But maybe this issue could be solved in a future update? @alexreinert Kind regards

holomekc commented 1 month ago

Hi @alexreinert , thx for the great work first of all. Sadly it seems that the server is down again. Can you take a look, when you find the time

Br, Chris

holomekc commented 1 month ago

And the mentioned line is the issue. --tries=1 would solve it. The reason is that wget does some retires in general including two requests due to ipv6 and ipv4. Every request with 5s timeout. Due to default 20 retries this end up in 3,33 min delay.

holomekc commented 1 month ago

Server is up again. Thx!

I created a pr to reduce the reties. See #526