Unreachable: https://repo.turris.cz/omnia/lists/base.lua


#1

pkgupdate stopped working on March 26, and ever since I’ve been getting this in my notifications several times per day:

Updater selhal:

unreachable: https://repo.turris.cz/omnia/lists/base.lua: Operation timed out after 30000 milliseconds with 0 out of 0 bytes received

When I try running pkgupdate in the command line, I get:

root@turris:~# pkgupdate
line not found
line not found
line not found
ERROR:
unreachable: https://repo.turris.cz/omnia/lists/base.lua: Operation timed out after 30000 milliseconds with 0 out of 0 bytes received
line not found
line not found
line not found
ERROR:
unreachable: https://repo.turris.cz/omnia/lists/base.lua: Operation timed out after 30000 milliseconds with 0 out of 0 bytes received
root@turris:~#

The last few lines in /usr/share/updater/updater-log:

2019-01-15 17:46 install 4.4.169+2-1-7bc33afbb1b35f5830b2b1b42c9cd8a0-2 kmod-usb-net-smsc75xx
2019-01-15 17:46 remove - libeventlog
2019-03-26 16:55 TRANSACTION START
2019-03-26 16:55 install 1.0.2r-1 libopenssl
2019-03-26 16:55 install 1.0.2r-1 openssl-util
2019-03-26 16:55 install 7.64.0-1 libcurl
2019-03-26 16:55 install 61.1.5.2-3.6-1 updater-ng

How do I get this thing to start installing updates again?


Updater failing because of a timeout
#2

Hi,

what turris version do you have currently? Check it by: cat /etc/turris-version
I have: 3.11.3, but I am on RC channel and this is the latest, but It think it has just been released to stable as well.

You got simple timeout message, so the reason is that you cannot reach the repo server. If it was just down at the very moment you tried, it should just work now.
Can you ping the ping repo.turris.cz host? If you cannot you have some network issue.
Check if you can resolve the hostname, if you can reach any other host beyond this?


#3

Hi, since several days i get notified about a updater error:


Fehler von 28. 03. 2019 00:11:33 (Meaning: Error at)

Updater selhal:

unreachable: https://repo.turris.cz/omnia/lists/base.lua: Operation timed out after 30000 milliseconds with 0 out of 0 bytes received


It seems as if the colon after the url causes the error. But maybe it’s just a layout issue.

Can anybody tell me how to fix this problem?

Thanks


#4

Same…erroring since several days ago. I can ping repo.turris.cz from my computer connected through my Turris router, but the updater fails.

Error from 2019/03/31 11:48:50

Updater selhal:

unreachable: https://repo.turris.cz/omnia/lists/base.lua: Operation timed out after 30000 milliseconds with 0 out of 0 bytes received


#5

i have version 3.11.3 according to /etc/turris-version

ping repo.turris.cz

PING repo.turris.cz (217.31.192.69): 56 data bytes
64 bytes from 217.31.192.69: seq=0 ttl=55 time=21.783 ms


#6

and can you open that file from your browser in your normal machine?:

https://repo.turris.cz/omnia/lists/base.lua

Btw, I have also tried, and there is no timeout for me with pkgupdate


#7

Yes, it opens a lengthy text file


#8

can you also get that file from your router? like with wget


#9

On turris v. 3.11.2

No changes were made to my turris before this starting happening.

Sorry I am a bit unfamiliar with wget and how to run those commands


#10

just issue this:
wget https://repo.turris.cz/omnia/lists/base.lua

and check if base.lua is in your current folder


#11

root@turris:~# wget https:// repo.turris.cz/omnia/lists/base.lua
–2019-03-31 22:10:34-- https:// repo.turris.cz/omnia/lists/base.lua
Resolving repo.turris.cz… 2001:1488:ac15:ff80::69, 217.31.192.69
Connecting to repo.turris.cz|2001:1488:ac15:ff80::69|:443…

seems to timeout, still waiting it to fail …

(spaces in the url are because of posting limiations)


#12

no it succeeded! but it took forever!

contents:

if version_match and version_match(self_version, “>=60.0.1”) then
Repository(“turris”, “https:// repo.turris.cz/omnia/packages”, {
subdirs = {“base”, “turrispackages”, “php”, “node”, “hardware”, “lucics”, “packages”, “routing”, “man
agement”, “telephony”, “printing”, “openwisp”, “sidn”}
})
else
Repository(“turris”, “https://api.turris.cz/openwrt-repo/omnia/packages”, {
subdirs = {“base”, “turrispackages”, “php”, “node”, “hardware”, “lucics”, “packages”, “routing”, “man
agement”, “telephony”, “printing”, “openwisp”, “sidn”}
})
end

– Updater itself


#13

wget: applet not found


#14

I am glad it works now


#15

it is interesting and you say you can really ping repo.turris.cz from your router? Are you sure you did that from your router and not from your machine?
You can install wget, if you dont have it yet.
opkg install wget
you can also try both commands thereafter:

wget https://repo.turris.cz/omnia/lists/base.lua
wget http://repo.turris.cz/omnia/lists/base.lua

#16

i run the wget from the router itself. Could it have to do with ipv6 vs ipv4 host resolving? maybe wget did fallback on ipv4 after ipv6 timed out and the updater does not do so?
(just an idea, because wget took so long)


#17

I pinged the address from my PC connected to my turris router. upon trying to install wget:

root@turris:~# opkg install wget
Unknown package ‘wget’.
Collected errors:

  • opkg_install_cmd: Cannot install package wget.

#18

then issue first this then install:
opkg update

and you should ping from your router


#19

wget https://[2001:1488:ac15:ff80::69]:443/omnia/lists/base.lua
–2019-03-31 22:22:51-- https://[2001:1488:ac15:ff80::69]/omnia/lists/base.lua
Connecting to [2001:1488:ac15:ff80::69]:443… failed: Operation timed out.
Retrying.

apparently the ipv6 of the host repo.turris.cz is not reachable from my host.

ipv4 fails also, but possibly because of webserver configuration when i try to access using the ip:
wget http://217.31.192.69/omnia/lists/base.lua
–2019-03-31 22:29:22-- http://217.31.192.69/omnia/lists/base.lua
Connecting to 217.31.192.69:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2019-03-31 22:29:22 ERROR 404: Not Found.


#20

I got wget installed and the command wget https://repo.turris.cz/omnia/lists/base.lua worked HOWEVER

pkgupdate fails and the updater inside of FORIS still fails…

root@turris:~# ping repo.turris.cz
PING repo.turris.cz (217.31.192.69): 56 data bytes
64 bytes from 217.31.192.69: seq=0 ttl=48 time=246.426 ms

what gives?