socket.error 10054 Connection reset by peer

Bug #510434 reported by Hunk Georgia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Confirmed
Medium
Unassigned

Bug Description

bzr: ERROR: socket.error: (10054, 'Connection reset by peer')

Traceback (most recent call last):
  File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 1318, in do_refresh
  File "C:/Program Files/Bazaar/plugins\explorer\lib\location.py", line 461, in refresh_current
  File "C:/Program Files/Bazaar/plugins\explorer\lib\location.py", line 358, in refresh_view
  File "C:/Program Files/Bazaar/plugins\explorer\lib\html_report_view.py", line 55, in refresh_view
  File "C:/Program Files/Bazaar/plugins\explorer\lib\view_workingtree.py", line 30, in report_text
  File "C:/Program Files/Bazaar/plugins\explorer\lib\status_report.py", line 195, in __init__
  File "C:/Program Files/Bazaar/plugins\explorer\lib\status_report.py", line 209, in _collect_data
  File "C:/Program Files/Bazaar/plugins\explorer\lib\status_data.py", line 86, in get_pending_merges
  File "bzrlib\status.pyo", line 196, in show_pending_merges
  File "bzrlib\decorators.pyo", line 136, in read_locked
  File "bzrlib\workingtree_4.pyo", line 572, in lock_read
  File "bzrlib\branch.pyo", line 2152, in lock_read
  File "bzrlib\repofmt\pack_repo.pyo", line 2317, in lock_read
  File "bzrlib\repofmt\pack_repo.pyo", line 2256, in _refresh_data
  File "bzrlib\repofmt\pack_repo.pyo", line 1984, in reload_pack_names
  File "bzrlib\repofmt\pack_repo.pyo", line 1867, in _diff_pack_names
  File "bzrlib\index.pyo", line 505, in iter_all_entries
  File "bzrlib\index.pyo", line 432, in _buffer_all
  File "bzrlib\transport\ftp\__init__.pyo", line 255, in get
  File "ftplib.pyo", line 389, in retrbinary
  File "ftplib.pyo", line 245, in voidcmd
  File "ftplib.pyo", line 175, in putcmd
  File "ftplib.pyo", line 170, in putline
  File "<string>", line 1, in sendall
error: (10054, 'Connection reset by peer')

bzr 2.0.0 on python 2.5.4 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'explorer']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.0]
  explorer C:\Program Files\Bazaar\plugins\explorer [0.8.2]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.0]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.0.0]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.14.2]
  rebase C:\Program Files\Bazaar\plugins\rebase [0.5.3]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.0]
  upload C:\Program Files\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.5]

Tags: multiprocess
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 510434] [NEW] socket.error 10054 Connection reset by peer

Hi Hunk,

This means the ftp server is abruptly closing the connection, perhaps
because of a firewall between you and that server. You could try
using a url starting with aftp:// rather than ftp://.

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Does 'bzr status' work on the command line? This certainly doesn't look like a bug in Explorer itself.

Changed in bzr-explorer:
status: New → Incomplete
Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Hunk,

Can this be closed? Is it still a problem?

Revision history for this message
Hunk Georgia (rhoesli) wrote : Re: [Bug 510434] Re: socket.error 10054 Connection reset by peer
Download full text (3.4 KiB)

I'm still getting a connection reset by peer error often when completing an
update through bazaar explorer. I'm assuming this is due to my ftp
connection being dropped. Is there anything I can do to keep this from
happening. Otherwise, this ticket can be closed. Thanks!

On Fri, Feb 12, 2010 at 5:41 PM, Ian Clatworthy <
<email address hidden>> wrote:

> Hunk,
>
> Can this be closed? Is it still a problem?
>
> --
> socket.error 10054 Connection reset by peer
> https://bugs.launchpad.net/bugs/510434
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Explorer: Incomplete
>
> Bug description:
> bzr: ERROR: socket.error: (10054, 'Connection reset by peer')
>
> Traceback (most recent call last):
> File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line
> 1318, in do_refresh
> File "C:/Program Files/Bazaar/plugins\explorer\lib\location.py", line 461,
> in refresh_current
> File "C:/Program Files/Bazaar/plugins\explorer\lib\location.py", line 358,
> in refresh_view
> File "C:/Program Files/Bazaar/plugins\explorer\lib\html_report_view.py",
> line 55, in refresh_view
> File "C:/Program Files/Bazaar/plugins\explorer\lib\view_workingtree.py",
> line 30, in report_text
> File "C:/Program Files/Bazaar/plugins\explorer\lib\status_report.py", line
> 195, in __init__
> File "C:/Program Files/Bazaar/plugins\explorer\lib\status_report.py", line
> 209, in _collect_data
> File "C:/Program Files/Bazaar/plugins\explorer\lib\status_data.py", line
> 86, in get_pending_merges
> File "bzrlib\status.pyo", line 196, in show_pending_merges
> File "bzrlib\decorators.pyo", line 136, in read_locked
> File "bzrlib\workingtree_4.pyo", line 572, in lock_read
> File "bzrlib\branch.pyo", line 2152, in lock_read
> File "bzrlib\repofmt\pack_repo.pyo", line 2317, in lock_read
> File "bzrlib\repofmt\pack_repo.pyo", line 2256, in _refresh_data
> File "bzrlib\repofmt\pack_repo.pyo", line 1984, in reload_pack_names
> File "bzrlib\repofmt\pack_repo.pyo", line 1867, in _diff_pack_names
> File "bzrlib\index.pyo", line 505, in iter_all_entries
> File "bzrlib\index.pyo", line 432, in _buffer_all
> File "bzrlib\transport\ftp\__init__.pyo", line 255, in get
> File "ftplib.pyo", line 389, in retrbinary
> File "ftplib.pyo", line 245, in voidcmd
> File "ftplib.pyo", line 175, in putcmd
> File "ftplib.pyo", line 170, in putline
> File "<string>", line 1, in sendall
> error: (10054, 'Connection reset by peer')
>
> bzr 2.0.0 on python 2.5.4 (win32)
> arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'explorer']
> encoding: 'cp1252', fsenc: 'mbcs', lang: None
> plugins:
> bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.0]
> explorer C:\Program Files\Bazaar\plugins\explorer [0.8.2]
> launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.0]
> netrc_credential_store C:\Program
> Files\Bazaar\plugins\netrc_credential_store [2.0.0]
> qbzr C:\Program Files\Bazaar\plugins\qbzr [0.14.2]
> rebase C:\Program Files\Bazaar\plugins\rebase [0.5.3]
> svn C:\Program Files\Bazaar\plugins\svn [1.0.0]
> upload ...

Read more...

Revision history for this message
Martin Pool (mbp) wrote :

On 13 February 2010 13:14, Hunk Georgia <email address hidden> wrote:
> I'm still getting a connection reset by peer error often when completing an
> update through bazaar explorer.  I'm assuming this is due to my ftp
> connection being dropped.  Is there anything I can do to keep this from
> happening.  Otherwise, this ticket can be closed.  Thanks!

Is there any pattern to when it happens?

If it's just that the connection occasionally drops, then we could say
this bug is asking for us to gracefully retry the connection.

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Hunk Georgia (rhoesli) wrote :
Download full text (6.4 KiB)

This error occurred when explorer stalled when trying to add new files to
the working tree. The same sort of thing seems to happen at any point where
I try to close a window to return to the main explorer window. Hope this
helps.

bzr: ERROR: socket.error: (10054, 'Connection reset by peer')

 Traceback (most recent call last):

File "C:/Program Files/Bazaar/plugins\explorer\lib\app_runner.py", line 89,
in do_finished

File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 886,
in conditional_refresh

File "C:/Program Files/Bazaar/plugins\explorer\lib\explorer.py", line 1318,
in do_refresh

File "C:/Program Files/Bazaar/plugins\explorer\lib\location.py", line 461,
in refresh_current

File "C:/Program Files/Bazaar/plugins\explorer\lib\location.py", line 358,
in refresh_view

File "C:/Program Files/Bazaar/plugins\explorer\lib\html_report_view.py",
line 55, in refresh_view

File "C:/Program Files/Bazaar/plugins\explorer\lib\view_workingtree.py",
line 30, in report_text

File "C:/Program Files/Bazaar/plugins\explorer\lib\status_report.py", line
195, in __init__

File "C:/Program Files/Bazaar/plugins\explorer\lib\status_report.py", line
209, in _collect_data

File "C:/Program Files/Bazaar/plugins\explorer\lib\status_data.py", line 86,
in get_pending_merges

File "bzrlib\status.pyo", line 196, in show_pending_merges

File "bzrlib\decorators.pyo", line 136, in read_locked

File "bzrlib\workingtree_4.pyo", line 572, in lock_read

File "bzrlib\branch.pyo", line 2152, in lock_read

File "bzrlib\repofmt\pack_repo.pyo", line 2317, in lock_read

File "bzrlib\repofmt\pack_repo.pyo", line 2256, in _refresh_data

File "bzrlib\repofmt\pack_repo.pyo", line 1984, in reload_pack_names

File "bzrlib\repofmt\pack_repo.pyo", line 1867, in _diff_pack_names

File "bzrlib\index.pyo", line 505, in iter_all_entries

File "bzrlib\index.pyo", line 432, in _buffer_all

File "bzrlib\transport\ftp\__init__.pyo", line 255, in get

File "ftplib.pyo", line 389, in retrbinary

File "ftplib.pyo", line 245, in voidcmd

File "ftplib.pyo", line 175, in putcmd

File "ftplib.pyo", line 170, in putline

File "<string>", line 1, in sendall

error: (10054, 'Connection reset by peer')

bzr 2.0.0 on python 2.5.4 (win32)

arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'explorer']

encoding: 'cp1252', fsenc: 'mbcs', lang: None

plugins:

bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.0]

explorer C:\Program Files\Bazaar\plugins\explorer [0.8.2]

launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.0]

netrc_credential_store C:\Program
Files\Bazaar\plugins\netrc_credential_store [2.0.0]

qbzr C:\Program Files\Bazaar\plugins\qbzr [0.14.2]

rebase C:\Program Files\Bazaar\plugins\rebase [0.5.3]

svn C:\Program Files\Bazaar\plugins\svn [1.0.0]

upload C:\Program Files\Bazaar\plugins\upload [1.0.0dev]

xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.5]

On Sat, Feb 13, 2010 at 6:56 PM, Martin Pool <email address hidden> wrote:

> On 13 February 2010 13:14, Hunk Georgia <email address hidden> wrote:
> > I'm still getting a connection reset by peer error often when completing
> an
> > update through bazaar explorer. I'm assuming this is due to my ftp
> > conn...

Read more...

Revision history for this message
Martin Pool (mbp) wrote :

Ian, I suspect this is something like explorer holding a transport open and the ftp server only allowing one a a time.

Changed in bzr-explorer:
status: Incomplete → Confirmed
Changed in bzr-explorer:
importance: Undecided → Medium
tags: added: multiprocess
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.