Opened 2 years ago

Closed 2 years ago

#65217 closed defect (invalid)

port selfupdate failed with rsync error, no ssh server running on rsync.macports.org

Reported by: alfwatt (Alf Watt) Owned by: admin@…
Priority: Normal Milestone:
Component: server/hosting Version: 2.7.2
Keywords: Cc:
Port:

Description

$ sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
rsync: read error: Operation timed out (60)
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/Library/BuildRoots/b6051351-c030-11ec-96e9-3e7866fcf3a1/Library/Caches/com.apple.xbs/Sources/rsync/rsync/io.c(604) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
Exit code: 12
Error: Error synchronizing MacPorts sources: command execution failed
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

$ nmap rsync.macports.org -p 22
Starting Nmap 7.92 ( https://nmap.org ) at 2022-05-23 14:37 PDT
Nmap scan report for rsync.macports.org (131.188.12.211)
Host is up (0.17s latency).
rDNS record for 131.188.12.211: ftp.rrze.uni-erlangen.de

PORT   STATE  SERVICE
22/tcp closed ssh

Nmap done: 1 IP address (1 host up) scanned in 0.41 seconds

Change History (3)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: rsync removed
Milestone: MacPorts Future
Priority: HighNormal

There is not meant to be an ssh server running on rsync.macports.org; it uses the rsync protocol on port 873, and is working fine:

% rsync rsync://rsync.macports.org/macports/release/tarballs/base.tar

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


-rw-r--r--     85,861,888 2022/03/10 00:57:09 base.tar

Please see wiki:FAQ#selfupdatefails.

comment:2 Changed 2 years ago by alfwatt (Alf Watt)

My mistake about port 22, oddly 873 Looks open but I get the same failure until moving to my personal hotspot. Opening a ticket with our internal IP, should have tried a different network before filing this!

$ nmap -p 873 rsync.macports.org
Starting Nmap 7.92 ( https://nmap.org ) at 2022-05-24 12:18 PDT
Nmap scan report for rsync.macports.org (131.188.12.211)
Host is up (0.28s latency).
rDNS record for 131.188.12.211: ftp.rrze.uni-erlangen.de

PORT    STATE SERVICE
873/tcp open  rsync

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

OK, closing this ticket then.

Note: See TracTickets for help on using tickets.