Issue of the topic: please be detailed explaining your issue
I was trying to upgrade my development raspberry to OH 4.1.1 with openhabian. The download speed was pretty low (less than 100kB/s) . Downloading the openhab and openhab add on files zip from the openhab repository is much faster and it is limited by my network connection bandwidth.
In order to start in a reproducible condition, I reinstalled a fresh openhabian image but the download of openhab and openhab addons is still taking an unusually long time.
I found a thread (Openhab.Jfrog.io always runs slow for me) mentioning a similar slow behavior but the proposed fix does not apply to my case, because I have not changed MTU in my network (I replaced my fritzbox 7590 last month, but I restored previous settings).
ci.openhab.org is a different server to openhab.jfrog.io. I’m not sure if the speed issues are related, but I don’t know anything about openhab’s infrastructure.
if you’re on a PPPoE type Internet service, you may need to turn on “TCP-MSS Adjust”. My ISP MTU is 1492 - 8 bytes short of a cable modem service. It’s a 1 gig symmetrical fiber service, but with PPPoE, you have to account for header bytes or the fragmentation may be what’s causing your issue.
Hi Guys,
Do you any updates on this issue? I have exactly the same problem… I’ve decided to move from OH3 to OH4 by doing fresh install from SD card, but when the installation finished, there is no OH service installed. I logs, I found that downloading from jFrog repo failed. I try use installation from openhabian-config, but I got speed about 20-30 kB/s and after few minutes it was interrupted with error:
Err:1 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable/main armhf openhab all 4.1.1-1
Error reading from server - read (5: Input/output error) [IP: 34.74.126.177 443]
I try burn image on SD card a few times, run at the different times and the results is always the same.
My home internet connections works correctly. on RPi MTU is 1500.
In my case the relatively slow download persists, but the download error of the add-ons did not happen anymore.
Anyway, even when add-ons fail to install it is simply matter of downloading the add-on file (and this always occur at full speed) and copy it in the add-on folder.
AFAIK the ci servers (Jenkins) are paid by the openHAB foundation and hosted in a single data center of some hosting company, I guess either located in Germany or the US.
In contrast to this, I expect JFrog to have servers around the world as their business is to supply software around the world.
But to really get to know if that’s correct, we have to ask @Kai or @digitaldan.
Actually this slow download persists. On my FritzBox 7590 router there is no such possibility to adjust the TCP MSS parameter. I simply tried to modify the MTU on the raspberry to 1492, with the command
sudo ifconfig eth0 mtu 1492 up
but there is no difference in download speed of openhab. Updating a OpenHAB snapshot occurs a 100KB/s and therefore it takes a couple of hours.