ninenizil / android2cloud

Automatically exported from code.google.com/p/android2cloud
0 stars 0 forks source link

OAuth request fails in Android 2.3 #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Account is/is not set up and chosen:
Android version: 2.3
Android device has/has not been rooted/modified: no mods
Android device: Nexus S
Carrier:
Country:
Version of android2cloud Android app:
The server I'm using:
The Google Account name that I logged in with:

What I am doing, step-by-step:
Trying to use OAuth, to get the for to login

What I expect to see:
A login form

What I see:
A browser error (404 / 400)

Not sure what Google changed in Android 2.3, but android2cloud stopped working. 
Is there an easy fix?

Original issue reported on code.google.com by armags...@gmail.com on 20 Jan 2011 at 7:35

GoogleCodeExporter commented 8 years ago
Can you verify you're connected to the internet? I haven't found the source of 
this problem yet, but the only time I've been able to reproduce it, my phone 
has had a networking issue.

Would love some more information on it.

Original comment by foran.pa...@gmail.com on 23 Jan 2011 at 2:17

GoogleCodeExporter commented 8 years ago
Tested this problem on a Nexus S (2.3) and EVO 4G with a nightly cyanogen 2.3 
rom.

Getting a "400 Bad Request" Error on 2.3
This code:
"     try {
            target = provider.retrieveRequestToken(consumer, host+r.getString(R.string.callback_url));
            Log.i("android2cloud", "OAuth(131) target: "+target);
"
Throws a "OAuthCommunicationException" 

Original comment by armags...@gmail.com on 23 Jan 2011 at 6:05

GoogleCodeExporter commented 8 years ago
Tested EVO 4G on WIFI and Nexus S on 3G, same issue.

Original comment by armags...@gmail.com on 23 Jan 2011 at 6:06

GoogleCodeExporter commented 8 years ago
This is extremely odd. Unfortunately, I have no 2.3 device to test against. 
Would someone with such a device be willing to debug this with me over GTalk or 
something similar?

Original comment by foran.pa...@gmail.com on 1 Feb 2011 at 9:42

GoogleCodeExporter commented 8 years ago
Seems like this issue was fixed in Android 2.3.3 . Tested it on the latest 
release of Gingerbread for Nexus One and android2cloud works properly again. 
Also works in the emulator now using API Level 10.

Original comment by armags...@gmail.com on 25 Feb 2011 at 2:47

GoogleCodeExporter commented 8 years ago
Glad this worked out. I was just about to get 2.3 on my Nexus One via an OTA, 
too. >.<

Original comment by foran.pa...@gmail.com on 25 Feb 2011 at 3:27

GoogleCodeExporter commented 8 years ago

Original comment by foran.pa...@gmail.com on 25 Feb 2011 at 3:28