gmvault icon indicating copy to clipboard operation
gmvault copied to clipboard

ECONRESET and ENETUNREACH Error with gmvault 1.9.2

Open reyman opened this issue 8 years ago • 0 comments

Hi,

BACKUP gmvault restore --apply-label "gmvault_E_IRED_10082017" -d ~/media/reyman/7A66701104807CC6/BACKUP [email protected] --resume

I compile the latest version of gmvault but when i restore my email i have this error 104 or 101 which regulary appear :

Pushing email body with id 1566297351728875550.
Error: [Errno 104] ECONNRESET.

=== Exception traceback ===
Traceback (most recent call last):
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmv_cmd.py", line 750, in run
    self._restore(args, credential)
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmv_cmd.py", line 625, in _restore
    emails_only = args['emails_only'], chats_only = args['chats_only'])
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmvault.py", line 902, in restore
    self.restore_emails(pivot_dir, extra_labels, restart)
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmvault.py", line 1148, in restore_emails
    handle_restore_imap_error(err, gm_id, db_gmail_ids_info, self)
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmvault.py", line 84, in handle_restore_imap_error
    raise the_exception
SSLSysCallError: [Errno 104] ECONNRESET

Error: [Errno 101] ENETUNREACH.

=== Exception traceback ===
Traceback (most recent call last):
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmv_cmd.py", line 750, in run
    self._restore(args, credential)
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmv_cmd.py", line 625, in _restore
    emails_only = args['emails_only'], chats_only = args['chats_only'])
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmvault.py", line 902, in restore
    self.restore_emails(pivot_dir, extra_labels, restart)
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmvault.py", line 1148, in restore_emails
    handle_restore_imap_error(err, gm_id, db_gmail_ids_info, self)
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/gmvault.py", line 84, in handle_restore_imap_error
    raise the_exception
SSLSysCallError: [Errno 101] ENETUNREACH

After activating debug mode i have more information to give to you, this error repeat ad vitam :

== Processed 2400 emails in 17m 51s. 5431 left to be restored (time estimate 40m 24s). ==

Processing next batch of 80 emails.

Unbury email with gm_id 1532040011640366423.
Pushing email body with id 1532040011640366423.
Subject = =?ISO-8859-1?Q?Notification=3A_rdvz_skype_netlogo_=2D_mer=2E_20_avr=2E_2016?=.
Before to Append email contents
Appended data with flags [u'\\Seen'] and internal time 2016-04-19 14:00:10. Operation time = 0.275542974472.
res = [APPENDUID 11 23562] (Success) [THROTTLED]

error message = No email id returned by IMAP APPEND command. Quarantine this email.. traceback:Traceback (most recent call last):
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/imap_utils.py", line 133, in wrapper
    return the_func(*args, **kwargs)
  File "/home/reyman/.pyenv/versions/2.7.11/lib/python2.7/site-packages/gmvault-1.9.2b1-py2.7.egg/gmv/imap_utils.py", line 851, in push_data
    raise PushEmailError("No email id returned by IMAP APPEND command. Quarantine this email.", quarantined = True)
PushEmailError: No email id returned by IMAP APPEND command. Quarantine this email.

Cannot reach the Gmail server. Wait 1 second(s) and retrying.
Disconnecting from Gmail Server and sleeping ...
Reconnecting to the from Gmail Server.
Get OAuth2 credential from /home/reyman/.gmvault/[email protected].

reyman avatar Aug 10 '17 15:08 reyman