Extremely unreliable file syncing, Traceback (failure with no frames):<class 'twisted.internet.error.ConnectionDone'>

Bug #584727 reported by Guilherme Salgado
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
High
Ubuntu One Foundations+ team
ubuntuone-client (Ubuntu)
Confirmed
Undecided
Ubuntu One Foundations+ team

Bug Description

I've been having some problems with file syncing and at first I thought it was because of bug 579823 (filed after I sent my logs to Facundo), but I think that's not the only thing preventing my files to be synced. I now have two folders (with less than a dozen files each) trying to sync and failing for more than a day. I've restarted ubuntuone-syncdaemon a bunch of times, watched it authenticating and trying to upload the files and every once in a while it succeeds in sending one of them, but it takes ages. Also, there's a file which, locally, is shown as uploaded (Books/0130091154.pdf), but it doesn't show up on the web UI.

Attached is my syncdaemon.log and syncdaemon-exceptions.log.

Revision history for this message
Guilherme Salgado (salgado) wrote :
Revision history for this message
Guilherme Salgado (salgado) wrote :
Revision history for this message
Duane Hinnen (duanedesign) wrote :

some of the database servers started acting up late last week. That issue is being addressed. With the service being worked on its hard to tell right now if all the disconnects are caused by the servers being overwhelmed or a bug or configuration problem on your end. I am going to leave the bug as 'New' in case someone else might see something I don't. Please check back in a couple days with the Status of your issue.

summary: - Extremely unreliable file syncing
+ Extremely unreliable file syncing, [Failure instance: Traceback (failure
+ with no frames):[Failure instance: Traceback (failure with no frames):
summary: - Extremely unreliable file syncing, [Failure instance: Traceback (failure
- with no frames):[Failure instance: Traceback (failure with no frames):
+ Extremely unreliable file syncing, Traceback (failure with no
+ frames):<class 'twisted.internet.error.ConnectionDone'>
Revision history for this message
Guilherme Salgado (salgado) wrote :

And today I'm getting loads of those:

2010-05-24 14:09:00,269 - ubuntuone.SyncDaemon.ActionQueue - INFO - The request 'oauth_authenticate' finished OK.
2010-05-24 14:10:09,951 - twisted - ERROR - Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 264, in _doReadOrWrite
    why = source.doRead()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 137, in doRead
    return Connection.doRead(self)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/storageprotocol/client.py", line 1399, in dataReceived
    StorageClient.dataReceived(self, data)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/storageprotocol/client.py", line 87, in dataReceived
    request.RequestHandler.dataReceived(self, data)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/storageprotocol/request.py", line 144, in dataReceived
    self.buildMessage(data)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/storageprotocol/request.py", line 191, in buildMessage
    self.processMessage(message)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/action_queue.py", line 156, in processMessage
    result = ThrottlingStorageClient.processMessage(self, message)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/storageprotocol/request.py", line 232, in processMessage
    str(message).replace("\n"," ")))
exceptions.Exception: peer cant handle message 'ERROR' {id: 7 type: ERROR error { type: TRY_AGAIN comment: "Maximum retries (5) reached. Please try again.\nOriginal exception: DisconnectionError: Already disconnected" } }

2010-05-24 14:10:09,952 - ubuntuone.SyncDaemon.StorageClient - INFO - Connection lost, reason: [Failure instance: Traceback (failure with no frames): <type 'exceptions.Exception'>: peer cant handle message 'ERROR' {id: 7 type: ERROR error { type: TRY_AGAIN comment: "Maximum retries (5) reached. Please try again.\nOriginal exception: DisconnectionError: Already disconnected" } }

Revision history for this message
Guilherme Salgado (salgado) wrote :

And tons of those too:

2010-05-24 17:20:35,233 - ubuntuone.SyncDaemon.ActionQueue - WARNING - Upload share:'9b7ef4ee-4592-404b-9ab1-80d825bcdaf2' node:'81557b24-6821-4a2a-87b5-3153fa6ad770' Upload(share_id="'9b7ef4ee-4592-404b-9ab1-80d825bcdaf2'", hash="'sha1:a5a4f16e85c828a6b62733acd4671787b5c012f1'", fileobj_factory='<bound method FSKey.open_file of <ubuntuone.syncdaemon.sync.FSKey object at 0x1d3f820>>', node_id="'81557b24-6821-4a2a-87b5-3153fa6ad770'", crc32='1075962099L', previous_hash="''", size='93263') failure TRY_AGAIN

Revision history for this message
Guilherme Salgado (salgado) wrote :

FWIW, the failure when uploading seems to be after all the contents of the file is uploaded. I've seen things like below a bunch of times, where the file seems to have been uploaded but it never shows up on the web UI.

salgado@gorducho [log]$ u1sdtool --current-transfer
Current uploads:
  path: /home/salgado/Desktop/PapersAndBlogs/python-objects-101.pdf
    deflated size: 87535
    bytes written: 87535

Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
Changed in ubuntuone-client (Ubuntu):
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
Changed in ubuntuone-client:
status: New → Confirmed
Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
Changed in ubuntuone-client:
importance: Undecided → High
Revision history for this message
Bruno Munoz (bruno-bmunoz) wrote :

Same issue on my side,

more than 48H to sync few meg
same kind of error log

Revision history for this message
Bruno Munoz (bruno-bmunoz) wrote :
Revision history for this message
Bruno Munoz (bruno-bmunoz) wrote :
Revision history for this message
Michael Litherland (michael-litherland) wrote :

I haven't had any luck syncing for over a week now, and I'm working with small plain-text files (source code). I can upload logs if it helps. Also, I'm not sure if it's related, but I don't appear to have ulsdtool despite the fact I have ubuntuone-client installed.

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 584727] Re: Extremely unreliable file syncing, Traceback (failure with no frames):<class 'twisted.internet.error.ConnectionDone'>

the tool's name is u1sdtool (u"one"sdtool)

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.