mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[GH-ISSUE #568] OAuth1 token migration does not work #481
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#481
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 @jberkel on GitHub (Jun 27, 2015).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/568
From #554, @drHeimskirk
Sorry to add to a closed bug but just wanted to give you some more information.
The 1.5.9 update finally made it to Google play and I updated today.
I could still not do a backup.
The logcat shows the following...
06-27 19:31:19.552 757 1408 W SMSBackup+: invalid response from server: HTTP/1.1 400 Bad Request
06-27 19:31:19.552 757 1408 W SMSBackup+: did not get a refresh token
This is on Android 2.2.
Is there something else that I should try or should I attempt the steps mentioned above to get things back on track.
@jberkel commented on GitHub (Jun 27, 2015):
@drHeimskirk this is very likely the OAuth1->OAuth2 migration not working as expected. I could never test it since there is no way to get old OAuth1 tokens which can be migrated. If you don't mind I can send you a version which has some more debug logging enabled. Don't disconnect the account for now otherwise the token will get lost. Could you also post the lines preceding the output you posted ? does it mention token migration somewhere?
@drHeimskirk commented on GitHub (Jun 27, 2015):
Here is all of the data from the logcat from the start intent. It does not show anything about token migration....
06-27 19:31:08.892 145 145 I ActivityManager: Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.zegoggles.smssync/.activity.MainActivity }
06-27 19:31:09.012 124 124 D AK8973 : Compass Start
06-27 19:31:09.012 145 453 D Sensors : open_akm, fd=128
06-27 19:31:09.272 254 254 W Rosie : mAddHtcWidgetByOtherActivity = false, mIsOpenSlideWhenLeaveLaunch = true
06-27 19:31:09.282 757 757 D SMSBackup+: onResume()
06-27 19:31:09.442 145 237 D SurfaceFlinger: Layer::setBuffers(this=0x4c1870), pid=757, w=480, h=800
06-27 19:31:09.442 145 237 D SurfaceFlinger: Layer::setBuffers(this=0x4c1870), pid=757, w=480, h=800
06-27 19:31:09.542 646 901 D Finsky : [27] InAppBillingUtils.pickAccount: com.zegoggles.smssync: Account determined from installer data - [jX4ipPz84ymQn1hX0hC647FoUrI]
06-27 19:31:09.572 646 655 D Finsky : [7] InAppBillingUtils.pickAccount: com.zegoggles.smssync: Account determined from installer data - [jX4ipPz84ymQn1hX0hC647FoUrI]
06-27 19:31:09.592 145 885 D SurfaceFlinger: Layer::requestBuffer(this=0x4c1870), index=0, pid=757, w=480, h=800 success
06-27 19:31:09.612 646 653 D Finsky : [6] InAppBillingUtils.pickAccount: com.zegoggles.smssync: Account determined from installer data - [jX4ipPz84ymQn1hX0hC647FoUrI]
06-27 19:31:09.642 145 238 D SurfaceFlinger: Layer::requestBuffer(this=0x4c1870), index=1, pid=757, w=480, h=800 success
06-27 19:31:09.642 646 653 D Finsky : [6] InAppBillingUtils.pickAccount: com.zegoggles.smssync: Account determined from installer data - [jX4ipPz84ymQn1hX0hC647FoUrI]
06-27 19:31:09.662 646 901 D Finsky : [27] InAppBillingUtils.pickAccount: com.zegoggles.smssync: Account determined from installer data - [jX4ipPz84ymQn1hX0hC647FoUrI]
06-27 19:31:09.682 646 901 D Finsky : [27] InAppBillingUtils.pickAccount: com.zegoggles.smssync: Account determined from installer data - [jX4ipPz84ymQn1hX0hC647FoUrI]
06-27 19:31:13.892 757 1408 I global : Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
06-27 19:31:14.802 646 646 D dalvikvm: GC_EXPLICIT freed 2307 objects / 125680 bytes in 98ms
06-27 19:31:16.722 757 1408 D dalvikvm: GC_FOR_MALLOC freed 7050 objects / 430184 bytes in 40ms
06-27 19:31:16.722 757 758 D NativeCrypto: Freeing OpenSSL session
06-27 19:31:19.552 757 1408 W SMSBackup+: invalid response from server: HTTP/1.1 400 Bad Request
06-27 19:31:19.552 757 1408 W SMSBackup+: did not get a refresh token
I am happy to test a debug version for you.
@drHeimskirk commented on GitHub (Jul 23, 2015):
@jberkel
I was just wondering if you have any plans for this in the near future and if you still want me to test it.
If it is a low priority for you and won't happen soon, I will do the steps mentioned in the other thread to get things back on track.
Thanks for a great product.