dput via ftp to ppa.launchpad.net failure
Bug #1836059 reported by
Graham Inggs
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txpkgupload |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
Earlier today, from my home connection, I noticed dput via ftp to ppa.launchpad.net was stalling while uploading the .dsc and never timing out.
Now from work, I get the following error instead:
[Errno 104] Connection reset by peer
I get the following with telnet:
$ telnet ppa.launchpad.net 21
Trying 91.189.95.83...
Connected to ppa.launchpad.net.
Escape character is '^]'.
220 Launchpad upload server
USER anonymous
331 Guest login ok, type your email address as password.
PASS testing
230 Anonymous login ok, access restrictions apply.
PASV
Connection closed by foreign host.
Related branches
lp://staging/~cjwatson/txpkgupload/ipv4-mapped-pasv
- William Grant (community): Approve (code)
-
Diff: 95 lines (+47/-2)3 files modifiedrequirements.txt (+1/-1)
setup.py (+1/-0)
src/txpkgupload/twistedftp.py (+45/-1)
tags: | added: regression |
Changed in txpkgupload: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in txpkgupload: | |
status: | In Progress → Fix Committed |
Changed in txpkgupload: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The problem is that the PASV response includes the ::ffff: prefix from an IPv4-mapped address, which I think confuses connection tracking on some firewalls. https:/ /paste. ubuntu. com/p/4vVbHzbTV 3/ should work around it for the time being, though we'll need a proper fix too.