Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --sync fails with timeouts [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Krotos
n00b
n00b


Joined: 14 Oct 2006
Posts: 20

PostPosted: Wed Jan 09, 2013 11:23 pm    Post subject: emerge --sync fails with timeouts [solved] Reply with quote

Hello,

I'm getting constant timeouts when I try to emerge --sync:

emerge --sync
Code:

>>> Starting rsync with rsync://209.221.142.124/gentoo-portage...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...


>>> Starting retry 1 of 12 with rsync://156.56.247.193/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...


>>> Starting retry 2 of 12 with rsync://128.175.60.112/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...


>>> Starting retry 3 of 12 with rsync://216.165.129.134/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...


>>> Starting retry 4 of 12 with rsync://134.161.116.17/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...

and so on.

I've tried several different settings for SYNC in make.conf (US, Europe, specific places, etc.), as well as not having any SYNC defined, but the same thing keeps happening. I'm on a university network and I suspect this might be a firewall problem. Is there a way to test whether a port has been blocked (short of asking the IT dept.)? And if so, which ports should I request to be unblocked?

Thanks,
Krotos


Last edited by Krotos on Fri Jan 11, 2013 5:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
jpc22
Apprentice
Apprentice


Joined: 29 Jan 2012
Posts: 190

PostPosted: Thu Jan 10, 2013 12:39 am    Post subject: Reply with quote

You could run a port scanner to check allowed ports, but some isp/networks have rules against ports scanning since hackers use them to find vulnerabilities.
As long as you run it with a spoofed wireless mac adress on one of their public wifi hotspots , your odds that they get back to you are low.
it might be faster to go ask them politely , since scanning each port one at a time will be long.

You could also bypass their firewall with tor or a proxy , but that could get really slow.

Short of asking IT staff, does your university have an open source lab/project/group they could help you gain some leverage with the IT if you explain them?

Try not to get in trouble though.
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2528
Location: Richmond, BC, Canada

PostPosted: Thu Jan 10, 2013 12:43 am    Post subject: Reply with quote

It most likely is a firewall problem. That is where "emerge-webrsync" comes into play. It uses http to download a tarball of the tree and unpack it, overwriting your current tree.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Krotos
n00b
n00b


Joined: 14 Oct 2006
Posts: 20

PostPosted: Fri Jan 11, 2013 5:35 pm    Post subject: Reply with quote

Thanks! The university firewall turned out to be the problem. I managed to convince IT to let me put my Gentoo cluster outside the firewall.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum