Trying to sync portage some times results with time out. Subsequent attempt with different ip completes w/o problem. The affected server is located at 160.116.15.34 I'm connecting through a vpn, no other clients are connecting to it, i only use that. Also no other gentoo system running directly on server too. Reproducible: Sometimes Steps to Reproduce: 1. Run emerge --sync (it would use emaint as of later portage version) 2. If resolved ip is 160.116.15.34 observe sync failure, otherwise try again later (~1 day or more) untill you get this ip 3. Observe subsequent retry that would work after trying a different ip Actual Results: Error shown as listed below, while connecting from chrooted system $ schroot -c gentoo (gentoo)juozas@hostname ~ $ cat /var/db/repos/gentoo/metadata/timestamp.chk Sat, 19 Jun 2021 08:30:01 +0000 (gentoo)juozas@hostname ~ $ date -u; sudo emerge --sync Tue Jul 6 15:43:26 UTC 2021 Password: >>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'... * Using keys from /usr/share/openpgp-keys/gentoo-release.asc * Refreshing keys via WKD ... [ ok ] >>> Starting rsync with rsync://160.116.15.34/gentoo-portage... >>> Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(701) [Receiver=3.2.3] >>> Retrying... Expected Results: No error after checking timestamp, like in example below >>> Checking server timestamp ... Welcome to <server name> <etc> Running through schroot on ubuntu host with custom schroot configuration $ schroot -c gentoo Schroot (version 1.6.10) config files: ## add to /etc/schroot/schroot.conf ## [gentoo] type=directory description=Gentoo Linux directory=/path/to/gentoo_chroot users=yourname preserve-environment=false profile=gentoo ## /etc/schroot/gentoo/copyfiles ## # Files to copy into the chroot from the host system. # # <source and destination> /etc/resolv.conf ## /etc/schroot/gentoo/fstab ## # fstab: static file system information for chroots. # Note that the mount point will be prefixed by the chroot path # (CHROOT_PATH) # # <file system> <mount point> <type> <options> <dump> <pass> /proc /proc none rw,bind 0 0 /sys /sys none rw,bind 0 0 /dev /dev none rw,bind 0 0 /dev/pts /dev/pts none rw,bind 0 0 #/home /home none rw,bind 0 0 #/tmp /tmp none rw,bind 0 0 # If you use gdm3, uncomment this line to allow Xauth to work #/var/run/gdm3 /var/run/gdm3 none rw,bind 0 0 # For PulseAudio and other desktop-related things #/var/lib/dbus /var/lib/dbus none rw,bind 0 0 # It may be desirable to have access to /run, especially if you wish # to run additional services in the chroot. However, note that this # may potentially cause undesirable behaviour on upgrades, such as # killing services on the host. #/run /run none rw,bind 0 0 #/run/lock /run/lock none rw,bind 0 0 /dev/shm /dev/shm none rw,bind 0 0 #/run/shm /run/shm none rw,bind 0 0 ## /etc/schroot/gentoo/nssdatabases ## # System databases to copy into the chroot from the host system. # # <database name>
Created attachment 722416 [details] emerge --info portage on chrooted gentoo chroot emerge info
Got the reported IP again. Always a timeout. Other ip's work fine.
where are you located? Location & ISP please. Can you please include a traceroute AND mtr output going to 160.116.15.34? I've seen some weird things with routing to that system, esp. as it's the only server we have in Israel. I can reach it fine (From Vancouver Canada), but I suspect there may be routing interactions you're seeing.
My location in Lithuania, connecting through a VPN that is also hosted on server that is also based on Lithuanian isp. I don't think my vpn software (OpenVPN Access Server) affects anything as other sites work fine. IP of the server that hosts the vpn software that is also my external IP: 80.208.225.17 (vpn client) $ traceroute 160.116.15.34 traceroute to 160.116.15.34 (160.116.15.34), 30 hops max, 60 byte packets 1 _gateway (172.27.232.1) 3.350 ms 3.343 ms 3.350 ms 2 169.254.0.1 (169.254.0.1) 3.875 ms 4.136 ms 4.236 ms 3 31.14.176.255 (31.14.176.255) 6.720 ms 6.906 ms 6.912 ms 4 ae042-wan4.rackray.com (185.38.165.42) 5.493 ms 5.761 ms 5.950 ms 5 HE.balt-ix.net (77.241.206.25) 6.877 ms 6.880 ms 6.885 ms 6 184.104.192.77 (184.104.192.77) 13.597 ms 10.367 ms 21.299 ms 7 184.105.65.26 (184.105.65.26) 18.322 ms 19.838 ms 20.013 ms 8 184.105.65.17 (184.105.65.17) 94.247 ms 94.620 ms 94.797 ms 9 80.249.209.46 (80.249.209.46) 33.560 ms 33.683 ms 33.680 ms 10 bzq-179-124-189.cust.bezeqint.net (212.179.124.189) 87.710 ms bzq-219-189-165.cablep.bezeqint.net (62.219.189.165) 81.821 ms bzq-179-161-217.pop.bezeqint.net (212.179.161.217) 82.613 ms 11 bzq-219-189-217.cablep.bezeqint.net (62.219.189.217) 81.241 ms bzq-179-124-254.cust.bezeqint.net (212.179.124.254) 81.571 ms bzq-179-124-21.cust.bezeqint.net (212.179.124.21) 80.991 ms 12 bzq-219-189-213.cablep.bezeqint.net (62.219.189.213) 93.476 ms bzq-179-124-82.cust.bezeqint.net (212.179.124.82) 86.528 ms bzq-219-189-1.dsl.bezeqint.net (62.219.189.1) 82.814 ms 13 bzq-218-77-82.red.bezeqint.net (81.218.77.82) 99.556 ms bzq-218-77-74.red.bezeqint.net (81.218.77.74) 84.173 ms bzq-218-77-82.red.bezeqint.net (81.218.77.82) 90.056 ms 14 bzq-82-80-224-188.cablep.bezeqint.net (82.80.224.188) 78.895 ms * bzq-218-77-82.red.bezeqint.net (81.218.77.82) 99.639 ms 15 bzq-82-80-224-188.cablep.bezeqint.net (82.80.224.188) 82.673 ms * 78.646 ms 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * (server) # traceroute 160.116.15.34 traceroute to 160.116.15.34 (160.116.15.34), 30 hops max, 60 byte packets 1 169.254.0.1 (169.254.0.1) 0.165 ms 0.086 ms 0.067 ms 2 31.14.176.255 (31.14.176.255) 20.701 ms 20.646 ms 20.594 ms 3 ae042-wan4.rackray.com (185.38.165.42) 0.365 ms 0.345 ms 0.332 ms 4 HE.balt-ix.net (77.241.206.25) 0.468 ms 0.507 ms 0.550 ms 5 100ge11-2.core1.waw1.he.net (184.104.192.77) 7.960 ms 7.235 ms 7.908 ms 6 100ge0-34.core2.ber1.he.net (184.105.65.26) 15.046 ms 15.147 ms 15.125 ms 7 100ge0-43.core2.ams1.he.net (184.105.65.17) 29.699 ms 28.727 ms 28.745 ms 8 80.249.209.46 (80.249.209.46) 28.967 ms 29.042 ms 29.156 ms 9 bzq-219-189-129.cablep.bezeqint.net (62.219.189.129) 73.874 ms bzq-179-161-217.pop.bezeqint.net (212.179.161.217) 80.353 ms 77.784 ms 10 bzq-114-65-2.cust.bezeqint.net (192.114.65.2) 88.281 ms bzq-179-124-37.cust.bezeqint.net (212.179.124.37) 78.399 ms bzq-219-189-13.dsl.bezeqint.net (62.219.189.13) 77.666 ms 11 bzq-179-124-85.cust.bezeqint.net (212.179.124.85) 81.427 ms bzq-219-189-186.dsl.bezeqint.net (62.219.189.186) 79.583 ms bzq-179-124-86.cust.bezeqint.net (212.179.124.86) 79.606 ms 12 bzq-219-189-213.cablep.bezeqint.net (62.219.189.213) 87.314 ms bzq-218-77-74.red.bezeqint.net (81.218.77.74) 80.305 ms bzq-218-77-82.red.bezeqint.net (81.218.77.82) 85.867 ms 13 bzq-218-77-74.red.bezeqint.net (81.218.77.74) 78.123 ms bzq-218-77-82.red.bezeqint.net (81.218.77.82) 129.758 ms * 14 * * bzq-82-80-224-188.cablep.bezeqint.net (82.80.224.188) 80.466 ms 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * (vpn client) $ mtr -w -r -c 10 160.116.15.34 Start: 2021-09-30T09:09:47+0300 HOST: xubuntu Loss% Snt Last Avg Best Wrst StDev 1.|-- _gateway 0.0% 10 3.1 3.0 2.7 3.4 0.2 2.|-- 169.254.0.1 0.0% 10 2.9 3.0 2.8 3.8 0.3 3.|-- 31.14.176.255 0.0% 10 3.3 10.0 2.9 67.4 20.2 4.|-- ae042-wan4.rackray.com 0.0% 10 3.5 3.2 2.8 3.5 0.3 5.|-- HE.balt-ix.net 0.0% 10 3.5 3.7 3.3 4.4 0.4 6.|-- 184.104.192.77 0.0% 10 10.7 13.0 10.1 21.0 3.9 7.|-- 184.105.65.26 0.0% 10 18.1 18.4 17.8 20.4 0.8 8.|-- 184.105.65.17 50.0% 10 3707. 3186. 1447. 4144. 1092.8 9.|-- 80.249.209.46 0.0% 10 32.0 32.8 31.9 34.2 0.8 10.|-- bzq-179-161-217.pop.bezeqint.net 0.0% 10 85.8 85.9 85.4 86.8 0.5 11.|-- bzq-219-189-13.cablep.bezeqint.net 0.0% 10 80.7 80.6 80.2 81.5 0.3 12.|-- bzq-219-189-186.cablep.bezeqint.net 0.0% 10 82.8 83.6 82.6 86.0 1.1 13.|-- bzq-218-77-74.red.bezeqint.net 0.0% 10 85.6 83.3 82.8 85.6 0.8 14.|-- bzq-82-80-224-188.cablep.bezeqint.net 0.0% 10 80.3 80.6 80.3 80.8 0.2 15.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0 (server) # mtr -w -r -c 10 160.116.15.34 Start: 2021-09-30T09:07:47+0300 HOST: server.juozas24.lt Loss% Snt Last Avg Best Wrst StDev 1.|-- 169.254.0.1 0.0% 10 0.3 0.2 0.1 0.4 0.1 2.|-- 31.14.176.255 0.0% 10 1.0 1.7 0.3 12.5 3.8 3.|-- ae042-wan4.rackray.com 0.0% 10 0.3 0.9 0.3 3.3 1.1 4.|-- HE.balt-ix.net 0.0% 10 0.6 0.8 0.6 1.8 0.4 5.|-- 100ge11-2.core1.waw1.he.net 0.0% 10 56.3 14.7 7.5 56.3 15.8 6.|-- 100ge0-34.core2.ber1.he.net 0.0% 10 24.4 16.6 15.1 24.4 3.0 7.|-- 100ge0-43.core2.ams1.he.net 50.0% 10 2523. 3147. 2523. 3580. 443.3 8.|-- 80.249.209.46 0.0% 10 28.9 29.1 28.8 29.4 0.2 9.|-- bzq-179-161-217.pop.bezeqint.net 0.0% 10 82.8 82.9 82.5 83.3 0.2 10.|-- bzq-219-189-13.cablep.bezeqint.net 0.0% 10 77.5 77.6 77.5 77.9 0.1 11.|-- bzq-219-189-186.cablep.bezeqint.net 0.0% 10 79.7 81.1 79.7 89.5 3.0 12.|-- bzq-218-77-74.red.bezeqint.net 0.0% 10 109.4 83.0 79.9 109.4 9.3 13.|-- bzq-82-80-224-188.cablep.bezeqint.net 0.0% 10 77.7 77.6 77.4 77.9 0.1 14.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
ISP of my VPN server is UAB Rakrejus, based on Lithuania
Here's the return direction towards you: robbat2@lapwing ~ $ mtr -w -r -c 10 -4n 185.38.165.42 Start: 2021-09-30T14:46:42+0000 HOST: lapwing Loss% Snt Last Avg Best Wrst StDev 1.|-- 160.116.15.33 0.0% 10 0.1 0.1 0.1 0.2 0.0 2.|-- 82.80.224.187 0.0% 10 0.6 1.0 0.3 5.2 1.5 3.|-- 81.218.77.81 0.0% 10 0.3 4.1 0.3 37.4 11.7 4.|-- 62.219.189.214 0.0% 10 0.7 0.7 0.5 1.6 0.4 5.|-- 62.219.189.254 0.0% 10 50.3 50.4 50.2 50.8 0.2 6.|-- 212.179.161.217 0.0% 10 54.4 54.5 54.2 54.9 0.2 7.|-- 80.81.193.161 0.0% 10 93.8 93.8 88.6 100.2 4.3 8.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0 80.81.193.161 resolves back to de-cix.fra.de.as8764.telia.lt. So absolutely looks like somebody has a routing issue halfway between us :-(
As I suspected. Like the server between 82.80.224.188 (bzq-82-80-224-188.cablep.bezeqint.net) and 80.81.193.161 (de-cix.fra.de.as8764.telia.lt) is not directing traffic correctly or none at all. I can't ping either of ip's and traceroute to 82.80.224.188 drops after 184.105.65.17 and no route at all to 80.81.193.161. $ mtr -w -r -c 10 82.80.224.188 Start: 2021-09-30T19:01:20+0300 HOST: xubuntu Loss% Snt Last Avg Best Wrst StDev 1.|-- _gateway 0.0% 10 5.1 4.9 4.6 5.2 0.2 2.|-- 169.254.0.1 0.0% 10 4.7 4.9 4.7 5.1 0.1 3.|-- 31.14.176.255 0.0% 10 70.3 12.6 4.9 70.3 20.3 4.|-- ae042-wan4.rackray.com 0.0% 10 4.9 7.9 4.9 31.6 8.3 5.|-- HE.balt-ix.net 0.0% 10 5.7 5.5 5.2 6.3 0.3 6.|-- 184.104.192.77 0.0% 10 12.6 13.6 12.2 24.5 3.8 7.|-- 184.105.65.26 0.0% 10 24.0 22.5 19.9 32.8 4.1 8.|-- 184.105.65.17 0.0% 10 45.2 111.2 34.4 246.0 74.2 9.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0 $ mtr -w -r -c 10 80.81.193.161 Start: 2021-09-30T19:03:25+0300 HOST: xubuntu Loss% Snt Last Avg Best Wrst StDev 1.|-- _gateway 0.0% 10 4.9 4.9 4.8 5.2 0.1 2.|-- 169.254.0.1 0.0% 10 5.0 5.1 4.9 6.3 0.4 3.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
Once again encountered an issue connecting to the IP mentioned above. Changing vpn server IP didn't help, routing issue still not solved it seems. My current external ip is 194.135.83.133, same ISP, based on Lithuania. Output of mtr is listed below, connection drops in the same IP as shown above. (vpn client) $ mtr -w -r -c 10 160.116.15.34 Start: 2021-11-22T14:35:38+0200 HOST: xubuntu Loss% Snt Last Avg Best Wrst StDev 1.|-- _gateway 0.0% 10 2.8 2.9 2.6 3.1 0.2 2.|-- 169.254.0.1 0.0% 10 2.8 2.9 2.6 3.3 0.2 3.|-- 31.14.176.255 0.0% 10 5.8 4.5 3.0 7.9 1.9 4.|-- ae042-wan4.rackray.com 0.0% 10 3.1 3.1 2.8 3.4 0.2 5.|-- HE.balt-ix.net 0.0% 10 3.4 4.0 3.2 6.8 1.1 6.|-- 184.104.192.89 0.0% 10 8.0 9.2 7.8 14.3 2.1 7.|-- 184.104.192.93 0.0% 10 27.6 31.9 27.1 49.1 7.4 8.|-- 184.104.192.81 0.0% 10 25.4 26.6 25.4 32.1 2.0 9.|-- amsix-200gbps.core1.ams1.he.net 20.0% 10 44.0 77.4 39.0 179.7 58.1 10.|-- 80.249.209.46 0.0% 10 36.2 36.5 36.0 38.4 0.8 11.|-- bzq-179-124-250.cust.bezeqint.net 0.0% 10 89.9 90.1 89.7 90.9 0.3 12.|-- bzq-179-124-82.cust.bezeqint.net 0.0% 10 85.6 86.3 85.5 90.5 1.5 13.|-- bzq-219-189-217.dsl.bezeqint.net 0.0% 10 89.8 87.9 87.2 89.8 0.7 14.|-- bzq-218-77-82.red.bezeqint.net 0.0% 10 102.0 101.9 96.9 135.0 11.7 15.|-- bzq-82-80-224-188.cablep.bezeqint.net 0.0% 10 101.6 93.9 92.7 101.6 2.7 16.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0