New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20436 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

rsync: failed to connect to rsync.macports.org: Connection refused (61)

Reported by: macports.org@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: selfupdate rsync Cc:
Port:

Description

Any idea why selfupdate/rsync is failing or how to fix it? Thousand thanks,

$ sudo port -vd selfupdate
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
rsync: failed to connect to rsync.macports.org: Connection refused (61)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9]
Error: Synchronization of the local ports tree failed doing rsync
DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
    while executing
"macports::selfupdate [array get global_options]"
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

Change History

comment:1 Changed 5 years ago by toby@…

  • Status changed from new to closed
  • Resolution set to worksforme

You're probably running peerguardian, or you're behind a firewall that is blocking rsync.

comment:2 Changed 5 years ago by blb@…

Just worked here, so have a look at the FAQ entry on this see if anything there helps.

comment:3 Changed 5 years ago by macports.org@…

Thanks, opening it up in PeerGuardian fixed it.

Note: See TracTickets for help on using tickets.