Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --sync protocol data stream (code 12) at io.c(458)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
bloedie
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2006
Posts: 88
Location: Germany

PostPosted: Fri Jun 06, 2008 10:29 am    Post subject: emerge --sync protocol data stream (code 12) at io.c(458) Reply with quote

Hi.

Since a few days I can not make an emerge --sync.
I always get a message like this

Code:

emerge --sync
>>> Starting rsync with rsync://140.211.166.165/gentoo-portage...
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying...


>>> Starting retry 1 of 3 with rsync://134.68.220.74/gentoo-portage
>>> Checking server timestamp ...
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(609) [receiver=2.6.9]
>>> Retrying...


>>> Starting retry 2 of 3 with rsync://134.68.220.73/gentoo-portage
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying...


>>> Starting retry 3 of 3 with rsync://134.68.220.97/gentoo-portage
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Exceeded PORTAGE_RSYNC_RETRIES: 3


Does anyone has a solution?

Cu.
Bloedie
Back to top
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Fri Jun 06, 2008 2:38 pm    Post subject: Reply with quote

Are you sure the rsync port hasn't been blocked someone on your firewall? It seems to be allowing the connection but blocking data transfer.
_________________
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Back to top
View user's profile Send private message
bloedie
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2006
Posts: 88
Location: Germany

PostPosted: Fri Jun 06, 2008 3:32 pm    Post subject: Reply with quote

Hi.

No it's not blocked. An rsync to other servers is possible.
If I try a emerge --sync a serveral times, then the emerge --sync
will work.

So what's wrong? Any ideas?

Cu.
Bloedie
Back to top
View user's profile Send private message
Akhouk
Guru
Guru


Joined: 23 May 2003
Posts: 476
Location: The Two Niles, Africa

PostPosted: Fri Jun 06, 2008 5:15 pm    Post subject: Reply with quote

It still sounds like a firewall problem....connection reset by peer sounds like something didn't like rsync somewhere along the route.

When you say eventually it syncs? When it does is it with a particular rsync server? Perhaps you try changing your SYNC line to rsync servers that work and then try to figure out why the others don't.
_________________
AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 706
Location: The Village

PostPosted: Fri Jun 06, 2008 10:29 pm    Post subject: Reply with quote

I've been getting this also. it seems to be intermittent.
Code:
skellr@srishti ~ $ rsync raven.gentoo.org::
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(635) [receiver=3.0.2]

skellr@srishti ~ $ rsync raven.gentoo.org::
Welcome to raven.gentoo.org
 
Server Address : 134.68.220.73
Contact Name   : mirror-admin@gentoo.org
Hardware       : 2 x Intel(R) Xeon(TM) CPU 1700MHz, 2019MB RAM
 
Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.

MOTD autogenerated by update-rsync-motd on Sun Mar 30 16:05:05 UTC 2008

gentoo-x86-portage   Gentoo Linux Portage tree
gentoo-portage    Gentoo Linux Portage tree mirror
gentoo-sec        Gentoo Linux Security tree mirror


I could understand if the servers were busy at the time but when it runs through 4 different servers with the same results then.. what are the chances.
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2427
Location: Edmonton, AB

PostPosted: Sat Jun 07, 2008 2:05 am    Post subject: Reply with quote

I'm getting the same error:
Code:
>>> Starting rsync with rsync://134.68.220.97/gentoo-portage...
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying...


It seems like a bug; any solutions?
_________________
#Joseph
Back to top
View user's profile Send private message
--D_S--
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 90
Location: Guatemala

PostPosted: Sat Jun 07, 2008 3:04 am    Post subject: Same error Reply with quote

emerge --sync
>>> Starting rsync with rsync://134.68.220.73/gentoo-portage...
>>> Checking server timestamp ...
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(458) [receiver=2.6.9]
>>> Retrying...

It seems to be random, I could successfully sync in a remote server and after a while I could sync successfully on mine.
_________________

Athlon Xp 2400+
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1249
Location: San Jose, CA

PostPosted: Sat Jun 07, 2008 6:18 am    Post subject: Reply with quote

I'm having the same problem. emerge-webrsync seems to work though its a bit slow.

Once I did this emerge --sync worked.

Raydude
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
bloedie
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2006
Posts: 88
Location: Germany

PostPosted: Sat Jun 07, 2008 6:35 am    Post subject: Reply with quote

Hi.

Akhouk wrote:
It still sounds like a firewall problem....connection reset by peer sounds like something didn't like rsync somewhere along the route.

When you say eventually it syncs? When it does is it with a particular rsync server? Perhaps you try changing your SYNC line to rsync servers that work and then try to figure out why the others don't.


The problem is only with the gentoo servers and only by trying an emerge --sync. After a random try it will work.
I changed the make make.conf entry to

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

Yesterday evening the same problem, Today it works after a second try.

Cu.
Bloedie
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 8263

PostPosted: Mon Jun 09, 2008 5:00 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, refer to topic "Portage sync fails every time, io.c(458)" there is a brief explanation in that topic.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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