mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[GH-ISSUE #428] IO error (java.net.SocketTimeoutException: Read timed out) #362
Labels
No labels
AM+RCS
FAQ
awaiting response
backup
bespoke
bug
calendar
call log
cannot reproduce
cloudless
device-specific
documentation
dual- & multi-SIM
duplicate
feature-request
fixed in beta
good first issue
half-missing
help wanted
helpful
meta
misattribution
mms
other message sources
pull-request
question
rejuvenation
restore
schedule
security
stale
task
thanks
v1.5.1
v1.5.10
v1.5.11
v1.5.2
v1.5.3
v1.5.3
v1.5.4
v1.5.4
v1.5.5
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6β
xoauth
~$ bounty $~
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sms-backup-plus-jberkel#362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @affan2 on GitHub (Feb 5, 2014).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/428
After having run without issue for over three years, it's just stopped working this morning - backups get stuck at 'calculating' and after a while throw an IO error.
Log dump -
05-02 14:39 Backup requested (regular)
05-02 14:39 Starting backup (REGULAR)
05-02 14:39 Backing up (5 SMS, 0 MMS, 0 call log)
05-02 14:40 Backing up (5 SMS, 0 MMS, 0 call log)
05-02 14:45 General error: IO Error (exception: com.fsck.k9.mail.MessagingException: IO Error, underlying=java.net.SocketTimeoutException: Read timed out)
05-02 14:45 Backup finished
05-02 14:45 Next backup scheduled for: 15:15
05-02 14:47 Backup requested (manual)
05-02 14:47 Starting backup (MANUAL)
05-02 14:47 Backing up (4 SMS, 0 MMS, 0 call log)
05-02 14:52 General error: IO Error (exception: com.fsck.k9.mail.MessagingException: IO Error, underlying=java.net.SocketTimeoutException: Read timed out)
05-02 14:52 Backup finished
Gmail settings haven't changed and is accessible so the timeout doesn't make sense.
Only thing I can think of is that there are far too many SMS messages (>10k) already in the IMAP folder and the connection times out trying to get a count.
I've seen this issue raised a few times without resolution so I'm hoping there have been some new insights recently.
@affan2 commented on GitHub (Feb 5, 2014):
Right then, after trying out a couple things - same result. Backups are still down.
Thinking that the number of SMS's might be the issue I deleted a load from my mobile but no joy.
Then I renamed the labels assigned for the SMS (and call logs and WhatsApp) but no change. It did however create the new label in Gmail but no message was backed up.
And finally, I changed the settings so only the call log would get backed up and....that worked. Same deal with WhatsApp. Just backing up SMS messages doesn't work.
This is the latest dump with 'extra debug' on -
05-02 21:48 Backup requested (manual)
05-02 21:48 Starting backup (MANUAL)
05-02 21:48 Backing up (7 SMS, 0 MMS, 0 call log)
05-02 21:48 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl+://xoauth2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@imap.gmail.com:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG, WHATSAPP]}
05-02 21:48 Backing up (7 SMS, 0 MMS, 0 call log)
05-02 21:48 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl+://xoauth2:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX@imap.gmail.com:993}, skip=false, currentTry=1, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG, WHATSAPP]}
05-02 21:53 General error: IO Error (exception: com.fsck.k9.mail.MessagingException: IO Error, underlying=java.net.SocketTimeoutException: Read timed out)
05-02 21:53 Backup finished
@Malkhuth commented on GitHub (Mar 10, 2014):
I was getting an identical error and eventually found a solution. I looked at the time of the last backed up item and then went through my SMS and call log and deleted the earliest entry after that time. This would be the first SMS to be backed up whenever you start the process.
After deleting it, I was able to successfully run the backup.
I suspect that this was caused by an issue with a specific SMS (corrupted, etc) that caused the backup to fail once it reached it.
@jberkel commented on GitHub (Nov 21, 2014):
try this https://github.com/jberkel/sms-backup-plus#how-do-i-restore-the-last-n-weeks--n-messages