error on ftp servers that allow only one connection per client ip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned | ||
Breezy |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
FTP temporary error: 421 Too many connections (2) from this IP. Retrying.
bzr: ERROR: ftplib.error_temp: 421 Too many connections (2) from this IP
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "ftplib.pyo", line 132, in connect
File "ftplib.pyo", line 214, in getresp
error_temp: 421 Too many connections (2) from this IP
bzr 1.11 on python 2.5.2 (win32)
arguments: ['bzr', 'commit']
encoding: 'cp1252', fsenc: 'mbcs', lang: 'de'
plugins:
bzrtools C:\Programme\
difftools C:\Programme\
extmerge C:\Programme\
launchpad C:\Programme\
merge_into C:\Programme\
netrc_
push_and_update C:\Programme\
qbzr C:\Programme\
svn C:\Programme\
upload C:\Programme\
xmloutput C:\Programme\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Note: bzr from commandline, bzr was the only program using FTP at that moment.
Related branches
- Vincent Ladeuil: Approve
- Martin Packman: Approve
-
Diff: 1510 lines (+17/-1308)16 files modifiedbreezy/help_topics/en/authentication.txt (+3/-3)
breezy/lockdir.py (+0/-3)
breezy/plugins/git/tests/test_dir.py (+1/-1)
breezy/plugins/upload/__init__.py (+1/-1)
breezy/plugins/upload/tests/test_upload.py (+1/-25)
breezy/tests/__init__.py (+0/-6)
breezy/tests/blackbox/test_help.py (+0/-2)
breezy/tests/ftp_server/__init__.py (+0/-82)
breezy/tests/ftp_server/pyftpdlib_based.py (+0/-223)
breezy/tests/test_ftp_transport.py (+0/-151)
breezy/tests/test_http.py (+2/-2)
breezy/tests/test_smart_transport.py (+1/-1)
breezy/tests/transport_util.py (+8/-19)
breezy/transport/__init__.py (+0/-23)
breezy/transport/ftp/__init__.py (+0/-638)
breezy/transport/ftp/_gssapi.py (+0/-128)
summary: |
- ftp lib error: too many connections + error on ftp servers that allow only one connection per client ip |
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Incomplete |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | Triaged → Won't Fix |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim wrote:
> Public bug reported:
>
> FTP temporary error: 421 Too many connections (2) from this IP. Retrying.
> bzr: ERROR: ftplib.error_temp: 421 Too many connections (2) from this IP
>
...
> Note: bzr from commandline, bzr was the only program using FTP at that moment.
>
> ** Affects: bzr
> Importance: Undecided
> Status: New
I'm not quite sure when we are trying to connect twice to an ftp server,
but it might be an 'active' versus 'passive' ftp issue.
IIRC, 'active' ftp tells the server to connect back to the client in
order to transfer data, but tends to fail with stuff like NAT, etc. On
the other hand, I believe there is a way to transfer FTP data on the
same connection that you are issuing commands, and that may be
independent of active/passive.
Anyway, you could try using "aftp://" which sets the 'active' flag.
John enigmail. mozdev. org
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkn vWosACgkQJdeBCY SNAAOORACfZfZ78 jXP6L8jTl48KYSw hVnN fHixi/JtRapIAlw qN
gjkAoIkjilDKR68
=shoD
-----END PGP SIGNATURE-----