alexreinert/piVCCU

apt.pivccu.de down

GrmpfNarf opened this issue · 6 comments

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.

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

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.

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

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

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.

Server is up again. Thx!

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