AndlyticsProject / andlytics

Google Play - Android Market statistics app
Other
535 stars 181 forks source link

Authentication failed #424

Closed tomasskare closed 11 years ago

tomasskare commented 11 years ago

Since the last update (2.5.0), I always get Authentication failed errors when it tries to sync.

There is a Toast coming up saying "Authentication failed for tomas.skare@gmail.com".

There is also a notification saying "Additional authentication required. Tap to login via browser".

I tap it, and it goes directly to my developer console in the browser, without any need to enter any password or other type of authentication.

But Andlytics always fails to login anyway. I've also tried to delete all data for Andlytics to start over, but it gives the same thing.

I have two accounts on the phone, if that matters. Only one of them have apps published, and that's the one I'm selecting.

It has worked fine up until the recent 2.5.0 release.

willlunniss commented 11 years ago

Is it taking you directly to the developer console for the account with the authentication problem, or a the console for your other account? Can you try logging out of everything in chrome (/whatever browser you use) first, and then clicking on the notification.

The change in 2.5 is trying to detect when we are giving a page asking the user to enter their phonenumber for account recovery, this is done by looking at the returned URL, if it doesn't match the one we know to work, then we ask the user to visit it manually. So, either you are getting back a different URL that does work, or you aren't being prompted for the extra info when logging in through chrome.

nelenkov commented 11 years ago

I actually made it show the browser if we are served any page we can't parse after trying to login, just to be sure :) So it might be some other problem as well, but logging out of all Google sessions should make it clearer.

@tomasskare Logcat and the contents of /sdcard/andlytics/debug (if any) will also be helpful.

tomasskare commented 11 years ago

It's taking me directly to the developer console for the account with authentication problem. I see all apps normally in the browser.

I've tried logging out from Chrome (Beta), and login again when tapping Andlytics notification, but after logging in and going back to Andlytics, it still says the same error.

I use 2-step authentication, but I've had that a long time, and it has worked fine before.

I will get logcat and the debug content soon.

tomasskare commented 11 years ago

Hmm.. I can't seem to attach a file other than images.

Here is the logcat:

D/AccountManagerAuthenticator( 3677): Opening login URL in browser: https://accounts.google.com/MergeSession?args=service%3Dandroiddeveloper%26continue%3Dhttps://play.google.com/apps/publish/v2/&uberauth=APh-3Fy8fFEB3AuWSDsTUkuNtJtBOOTEihAGzo3ShJfNe9M8qUpeOC7RIuD95nFi-ZK1U1iIaJjmd15XEmponPBfYslZ5NUiaPD0Y67YHNqvtPfw4F9nYjkZ_w7dNUgFC90fkqUxUdwkBXpYJ-LVVebazs9_j8kaAuAsMFRysPPrPPqSmol-4FIIVKYqb6V8NxIVOfvhYB2FiMsCwgHCTWJ-aL8NkDdteXIHCCFg6Mkjc7ILlmKdeucvE1O01sYPJJz0c9IQRaI2Mkygj_nYCfhb0OQFSbBz80Jy2zMXMq-cB6jZoV9hJS3pvWT1JGL_pE2CRw7dTf5owNvJJX_U6-_2Yo7uf-OWRFFtoc2YvHLPprh7TNWqjhQ0TK1Nz36Z9f9dENUEMfNhXDMylJ1DHNbevOKKo2hOmT9Tyjv7muHeCOiGLt-Oz0FXs6gAYtAVFp8yzgl499wdbkHwmbLkWx4WWsh2PkY-2Q,,%0A&source=AndroidWebLogin
D/dalvikvm( 3677): GC_CONCURRENT freed 393K, 5% free 9393K/9816K, paused 3ms+4ms, total 29ms
D/AccountManagerAuthenticator( 3677): Opening login URL in browser: https://accounts.google.com/MergeSession?args=service%3Dandroiddeveloper%26continue%3Dhttps://play.google.com/apps/publish/v2/&uberauth=APh-3Fx-ijP11KFXFw8ODpyW7zpNZW-gwa3iJIgs4DA7ZYxfs7BlQWPG-aQ5X7jlWW40MQB_WR820KfdhbAEW67cvfK_cCz-7GgCFm4pnOp6CDXNyljDWRe_b6zBhQhvHPwHFPklk3-NJqMSS8J_lNU1e1b_q76n_NUK1lOQNNEMIzhkuSACm448YPSJYBSF-_zFY2RMIqkDfi6kuBvjwQ4vs7gmJ1UdAAQfj0PquCOBvmWvdAv_AwjvKMWFYBbCvm-zB6tk0qGMwUZ_HO8OQiONQvim2was4zfHdUHEScXNAT7JSONF2YfUp2UqltT3XK9ZYdcCJUPftAbOOX3urq9Nk_zJbGBNdZRsrKfXoq4LvcdrWCc4TQ-tX-TiJgC_-v1p69Vo61EX2zldfKRu-jylLOo8AMfT-ENtR6W8aRArD1PavvhnhGRianXp4iPyQ34Tk1VcZBfdEzyqwOFbwVuulyXqFJMV-A,,%0A&source=AndroidWebLogin
E/Main    ( 3677): Error while requesting developer console : com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticateInternal(AccountManagerAuthenticator.java:192)
E/Main    ( 3677): com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticate(AccountManagerAuthenticator.java:68)
E/Main    ( 3677): com.github.andlyticsproject.console.v2.DevConsoleV2.authenticate(DevConsoleV2.java:348)
E/Main    ( 3677): com.github.andlyticsproject.console.v2.DevConsoleV2.authenticateFromScratch(DevConsoleV2.java:327)
E/Main    ( 3677): com.github.andlyticsproject.console.v2.DevConsoleV2.getAppInfo(DevConsoleV2.java:102)
E/Main    ( 3677): com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:449)
E/Main    ( 3677): com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:1)
E/Main    ( 3677): android.os.AsyncTask$2.call(AsyncTask.java:287)
E/Main    ( 3677): java.util.concurrent.FutureTask.run(FutureTask.java:234)
E/Main    ( 3677): java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
E/Main    ( 3677): java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
E/Main    ( 3677): java.lang.Thread.run(Thread.java:856)
E/Main    ( 3677): Error while requesting developer console : Couldn't get developer account ID.
E/Main    ( 3677): com.github.andlyticsproject.console.AuthenticationException: Couldn't get developer account ID.
E/Main    ( 3677):      at com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticateInternal(AccountManagerAuthenticator.java:192)
E/Main    ( 3677):      at com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticate(AccountManagerAuthenticator.java:68)
E/Main    ( 3677):      at com.github.andlyticsproject.console.v2.DevConsoleV2.authenticate(DevConsoleV2.java:348)
E/Main    ( 3677):      at com.github.andlyticsproject.console.v2.DevConsoleV2.authenticateFromScratch(DevConsoleV2.java:327)
E/Main    ( 3677):      at com.github.andlyticsproject.console.v2.DevConsoleV2.getAppInfo(DevConsoleV2.java:102)
E/Main    ( 3677):      at com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:449)
E/Main    ( 3677):      at com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:1)
E/Main    ( 3677):      at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/Main    ( 3677):      at java.util.concurrent.FutureTask.run(FutureTask.java:234)
E/Main    ( 3677):      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
E/Main    ( 3677):      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
E/Main    ( 3677):      at java.lang.Thread.run(Thread.java:856)
D/SherlockFragmentActivity( 3677): [supportInvalidateOptionsMenu]
D/SherlockFragmentActivity( 3677): [invalidateOptionsMenu]
D/ActionBarSherlock( 3677): [dispatchInvalidateOptionsMenu]
D/SherlockFragmentActivity( 3677): [onCreatePanelMenu] featureId: 0, menu: com.android.internal.view.menu.MenuBuilder@42631c80
D/ActionBarSherlock( 3677): [dispatchCreateOptionsMenu] menu: com.android.internal.view.menu.MenuBuilder@42631c80
D/ActionBarSherlock( 3677): [callbackCreateOptionsMenu] menu: com.actionbarsherlock.internal.view.menu.MenuWrapper@42634a10
D/Watson  ( 3677): [onCreatePanelMenu] featureId: 0, menu: com.actionbarsherlock.internal.view.menu.MenuWrapper@42634a10
D/SherlockFragmentActivity( 3677): [getSupportMenuInflater]
D/ActionBarSherlock( 3677): [getMenuInflater]
D/dalvikvm( 3677): GC_CONCURRENT freed 487K, 6% free 9324K/9852K, paused 3ms+4ms, total 33ms
D/Watson  ( 3677): [onCreatePanelMenu] activity create result: true
D/SherlockFragmentActivity( 3677): [getSupportMenuInflater]
D/ActionBarSherlock( 3677): [getMenuInflater]
D/Watson  ( 3677): [onCreatePanelMenu] fragments create result: false
D/Watson  ( 3677): [onCreatePanelMenu] returning true
D/ActionBarSherlock( 3677): [callbackCreateOptionsMenu] returning true
D/ActionBarSherlock( 3677): [dispatchCreateOptionsMenu] returning true
D/SherlockFragmentActivity( 3677): [onCreatePanelMenu] returning true
D/SherlockFragmentActivity( 3677): [onPreparePanel] featureId: 0, view: null, menu: com.android.internal.view.menu.MenuBuilder@42631c80
D/ActionBarSherlock( 3677): [dispatchPrepareOptionsMenu] menu: com.android.internal.view.menu.MenuBuilder@42631c80
D/ActionBarSherlock( 3677): [callbackPrepareOptionsMenu] menu: com.actionbarsherlock.internal.view.menu.MenuWrapper@42634a10
D/Watson  ( 3677): [onPreparePanel] featureId: 0, view: null menu: com.actionbarsherlock.internal.view.menu.MenuWrapper@42634a10
D/Watson  ( 3677): [onPreparePanel] activity prepare result: true
D/Watson  ( 3677): [onPreparePanel] fragments prepare result: false
D/Watson  ( 3677): [onPreparePanel] returning true

And /sdcard/andlytics/console-response.html (only file there):

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="gwt:property" content="locale=en"><meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"><!--[if lt IE 10]><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script><script>var requireChromeFrame = false; window.attachEvent("onload", function() {if (typeof CFInstall == "undefined") {return;}CFInstall.check({preventPrompt: true, onmissing: function() {requireChromeFrame = true;}});});</script><![endif]--><!--[if lt IE 9]><script>document.createElement('header'); document.createElement('nav'); document.createElement('section'); document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('hgroup');</script><![endif]--><script>var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-6194246-1']); _gaq.push(['_setCookiePath', '\/apps\/publish\/v2\/']);(function() {var gafile = '/ga.js';var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com' + gafile; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</script><link rel="icon" href="gwt/favicon.ico"/><title>Google Play Developer Console</title><script>var gwtflags_dictionary={1:false,3:"/apps/publish/v2",4:"https://translate.google.com/manager/play/create",5:"https://support.google.com/googleplay/android-developer/answer/1072599",7:"/apps/publish/v2/signout",8:"af,am,ar,be,bg,ca,cs-CZ,da-DK,de-DE,el-GR,en-GB,en-US,es-419,es-ES,es-US,et,fa,fi-FI,fr-FR,hi-IN,hr,hu-HU,it-IT,iw-IL,ja-JP,ko-KR,lt,lv,ms,nl-NL,no-NO,pl-PL,pt-BR,pt-PT,rm,ro,ru-RU,sk,sl,sr,sv-SE,sw,th,fil,tr-TR,uk,vi,zh-CN,zh-TW,zu"};startupData = {"ApiConsoleConfig":"{\"1\":\"https://code.google.com/apis/console/\",\"2\":20}","Experiments":"{\"1\":[\"crown.new_signup_flow\",\"error_reports_app_version_filtering\"]}","DeveloperConsoleAccounts":"{\"1\":[{\"1\":\"15403192073437499558\",\"2\":\"NoCrew Mobile (TS)\",\"3\":true}]}","AnnouncementList":"{}","WhitelistedFeatures":"{\"1\":[\"GMC\",\"REPLY_TO_COMMENTS\",\"DISABLE_ZIPIT_AUTHOR_NAME\",\"TABLET_SCREENSHOTS\",\"DISABLE_FORWARD_LOCKING\",\"ENABLE_MULTI_USER\"]}","UserDetails":"{\"1\":\"tomas.skare@gmail.com\",\"3\":\"SEK\",\"5\":\"tomas.skare@gmail.com\",\"6\":[11,8,4,1,9,5,3,6,7,10,2,0],\"7\":1,\"8\":{\"1\":\"https://play.google.com/intl/ALL_se/about/developer-distribution-agreement.html\",\"2\":5,\"3\":true},\"9\":false}","GameCategoryList":"{}","XsrfToken":"{\"1\":\"AMtNNDFj1IRw7QYsgLxZ1crTuyUknJrCvg:1366703104763\"}","CountryInfoList":"{\"1\":[{\"1\":\"MT\",\"2\":true},{\"1\":\"JP\",\"2\":true,\"3\":\"JPY\",\"6\":[{\"1\":\"850\",\"2\":\"NTT DOCOMO\",\"3\":false},{\"1\":\"1894\",\"2\":\"SoftBank\",\"3\":false},{\"1\":\"1581\",\"2\":\"au\",\"3\":false}]},{\"1\":\"AT\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"4\",\"2\":\"T-Mobile - AT\",\"3\":false},{\"1\":\"1342\",\"2\":\"Orange\",\"3\":false},{\"1\":\"14\",\"2\":\"A1\",\"3\":false},{\"1\":\"1344\",\"2\":\"Hutchison 3G Austria\",\"3\":false}]},{\"1\":\"PH\",\"2\":true},{\"1\":\"AR\",\"2\":true},{\"1\":\"SK\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"NO\",\"2\":true,\"3\":\"NOK\"},{\"1\":\"LV\",\"2\":true},{\"1\":\"ZA\",\"2\":true},{\"1\":\"HK\",\"2\":true,\"3\":\"HKD\",\"6\":[{\"1\":\"1960\",\"2\":\"Hutchison 2G\",\"3\":false},{\"1\":\"769\",\"2\":\"PCCW\",\"3\":false},{\"1\":\"760\",\"2\":\"3HK\",\"3\":false}]},{\"1\":\"KR\",\"2\":true,\"3\":\"KRW\",\"6\":[{\"1\":\"1892\",\"2\":\"LG U+\",\"3\":false},{\"1\":\"1890\",\"2\":\"KT\",\"3\":false},{\"1\":\"1891\",\"2\":\"SK Telecom\",\"3\":false}]},{\"1\":\"EE\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"NI\",\"2\":true},{\"1\":\"RO\",\"2\":true,\"6\":[{\"1\":\"23\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"DK\",\"2\":true,\"3\":\"DKK\",\"6\":[{\"1\":\"1464\",\"2\":\"Telenor\",\"3\":false},{\"1\":\"1463\",\"2\":\"TDC Mobil\",\"3\":false},{\"1\":\"1466\",\"2\":\"Hi3G\",\"3\":false},{\"1\":\"656\",\"2\":\"Telia\",\"3\":false}]},{\"1\":\"SG\",\"2\":true,\"3\":\"SGD\",\"6\":[{\"1\":\"31\",\"2\":\"Singtel\",\"3\":false}]},{\"1\":\"HU\",\"2\":true},{\"1\":\"SI\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"GH\",\"2\":true},{\"1\":\"UA\",\"2\":true},{\"1\":\"BE\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"CH\",\"2\":true,\"3\":\"CHF\",\"6\":[{\"1\":\"16\",\"2\":\"swisscom\",\"3\":false}]},{\"1\":\"CI\",\"2\":true},{\"1\":\"LU\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"FI\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"LT\",\"2\":true},{\"1\":\"TH\",\"2\":true},{\"1\":\"NL\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"5\",\"2\":\"T-Mobile - NL\",\"3\":false},{\"1\":\"1644\",\"2\":\"KPN/Hi\",\"3\":false},{\"1\":\"20\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"MX\",\"2\":true,\"3\":\"MXN\"},{\"1\":\"FR\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"27\",\"2\":\"SFR\",\"3\":false},{\"1\":\"32\",\"2\":\"Orange\",\"3\":false}]},{\"1\":\"CY\",\"2\":true},{\"1\":\"IE\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"792\",\"2\":\"O2\",\"3\":false},{\"1\":\"1903\",\"2\":\"3\",\"3\":false},{\"1\":\"793\",\"2\":\"Meteor Mobile Communications Ltd.\",\"3\":false},{\"1\":\"19\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"TR\",\"2\":true,\"6\":[{\"1\":\"1736\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"1735\",\"2\":\"Turkcell\",\"3\":false},{\"1\":\"1737\",\"2\":\"Avea\",\"3\":false}]},{\"1\":\"SE\",\"2\":true,\"3\":\"SEK\",\"6\":[{\"1\":\"1695\",\"2\":\"Telenor Sverige AB\",\"3\":false},{\"1\":\"1956\",\"2\":\"Telenor Sweden (not used)\",\"3\":false},{\"1\":\"1690\",\"2\":\"Telia Sonera AB\",\"3\":false},{\"1\":\"1691\",\"2\":\"3 (Hi3G Access AB)\",\"3\":false},{\"1\":\"1696\",\"2\":\"Tele2/Comviq Sverige\",\"3\":false}]},{\"1\":\"IT\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"33\",\"2\":\"Telecom Italia Mobile (TIM)\",\"3\":false},{\"1\":\"29\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"1573\",\"2\":\"Wind\",\"3\":false},{\"1\":\"1575\",\"2\":\"3\",\"3\":false}]},{\"1\":\"GB\",\"2\":true,\"3\":\"GBP\",\"6\":[{\"1\":\"28\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"1492\",\"2\":\"O2\",\"3\":false},{\"1\":\"717\",\"2\":\"Virgin\",\"3\":false},{\"1\":\"718\",\"2\":\"Orange\",\"3\":false},{\"1\":\"2\",\"2\":\"EE\",\"3\":false},{\"1\":\"1505\",\"2\":\"Three Mobile\",\"3\":false}]},{\"1\":\"DE\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"3\",\"2\":\"Telekom\",\"3\":false},{\"1\":\"1453\",\"2\":\"E-Plus\",\"3\":false},{\"1\":\"25\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"1454\",\"2\":\"o2\",\"3\":false}]},{\"1\":\"PT\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"22\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"NZ\",\"2\":true,\"3\":\"NZD\",\"6\":[{\"1\":\"21\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"CZ\",\"2\":true,\"3\":\"CZK\",\"6\":[{\"1\":\"6\",\"2\":\"T-Mobile - CZ\",\"3\":false}]},{\"1\":\"KE\",\"2\":true},{\"1\":\"ES\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"34\",\"2\":\"Movistar\",\"3\":false},{\"1\":\"26\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"678\",\"2\":\"Orange\",\"3\":false}]},{\"1\":\"US\",\"2\":true,\"3\":\"USD\",\"6\":[{\"1\":\"1949\",\"2\":\"MetroPCS\",\"3\":false},{\"1\":\"1779\",\"2\":\"Cricket Wireless\",\"3\":false},{\"1\":\"1\",\"2\":\"T-Mobile - US\",\"3\":false},{\"1\":\"1952\",\"2\":\"U.S. Cellular\",\"3\":false},{\"1\":\"1839\",\"2\":\"Verizon Wireless\",\"3\":false},{\"1\":\"1187\",\"2\":\"AT\\u0026T\",\"3\":false},{\"1\":\"1853\",\"2\":\"Virgin Mobile\",\"3\":false},{\"1\":\"1951\",\"2\":\"Boost Mobile\",\"3\":false},{\"1\":\"1788\",\"2\":\"Sprint\",\"3\":false},{\"1\":\"1893\",\"2\":\"nTelos\",\"3\":false}]},{\"1\":\"GR\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"18\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"IN\",\"2\":true,\"3\":\"INR\",\"6\":[{\"1\":\"1961\",\"2\":\"Airtel\",\"3\":false}]},{\"1\":\"CM\",\"2\":true},{\"1\":\"SN\",\"2\":true},{\"1\":\"RU\",\"2\":true,\"3\":\"RUB\",\"6\":[{\"1\":\"1681\",\"2\":\"Beeline\",\"3\":false},{\"1\":\"1016\",\"2\":\"Megafon\",\"3\":false}]},{\"1\":\"PL\",\"2\":true,\"3\":\"PLN\",\"6\":[{\"1\":\"7\",\"2\":\"T-Mobile - PL\",\"3\":false}]},{\"1\":\"CA\",\"2\":true,\"3\":\"CAD\",\"6\":[{\"1\":\"576\",\"2\":\"Bell Mobility\",\"3\":false},{\"1\":\"1403\",\"2\":\"Rogers\",\"3\":false},{\"1\":\"1404\",\"2\":\"Telus Mobility\",\"3\":false},{\"1\":\"1962\",\"2\":\"Fido\",\"3\":false}]},{\"1\":\"BR\",\"2\":true,\"3\":\"BRL\"},{\"1\":\"TW\",\"2\":true},{\"1\":\"AU\",\"2\":true,\"3\":\"AUD\",\"6\":[{\"1\":\"30\",\"2\":\"Optus\",\"3\":false},{\"1\":\"1348\",\"2\":\"Hutchison 3G Australia Pty. Ltd.\",\"3\":false},{\"1\":\"15\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"1345\",\"2\":\"Telstra\",\"3\":false}]},{\"1\":\"IL\",\"2\":true,\"3\":\"ILS\"},{\"1\":\"IS\",\"2\":true},{\"1\":\"BG\",\"2\":true},{\"1\":\"AL\",\"2\":true},{\"1\":\"DZ\",\"2\":true},{\"1\":\"AO\",\"2\":true},{\"1\":\"AG\",\"2\":true},{\"1\":\"AM\",\"2\":true},{\"1\":\"AW\",\"2\":true},{\"1\":\"AZ\",\"2\":true},{\"1\":\"BS\",\"2\":true},{\"1\":\"BH\",\"2\":true},{\"1\":\"BD\",\"2\":true},{\"1\":\"BY\",\"2\":true},{\"1\":\"BZ\",\"2\":true},{\"1\":\"BJ\",\"2\":true},{\"1\":\"BO\",\"2\":true},{\"1\":\"BA\",\"2\":true},{\"1\":\"BW\",\"2\":true},{\"1\":\"BF\",\"2\":true},{\"1\":\"KH\",\"2\":true},{\"1\":\"CV\",\"2\":true},{\"1\":\"CL\",\"2\":true},{\"1\":\"CN\",\"2\":false},{\"1\":\"CO\",\"2\":true},{\"1\":\"CR\",\"2\":true},{\"1\":\"HR\",\"2\":true},{\"1\":\"DO\",\"2\":true},{\"1\":\"EC\",\"2\":true},{\"1\":\"EG\",\"2\":true},{\"1\":\"SV\",\"2\":true},{\"1\":\"FJ\",\"2\":true},{\"1\":\"GA\",\"2\":true},{\"1\":\"GT\",\"2\":true},{\"1\":\"GW\",\"2\":true},{\"1\":\"HT\",\"2\":true},{\"1\":\"HN\",\"2\":true},{\"1\":\"ID\",\"2\":true},{\"1\":\"JM\",\"2\":true},{\"1\":\"JO\",\"2\":true},{\"1\":\"KZ\",\"2\":true},{\"1\":\"KW\",\"2\":true},{\"1\":\"KG\",\"2\":true},{\"1\":\"LA\",\"2\":true},{\"1\":\"LB\",\"2\":true},{\"1\":\"MK\",\"2\":true},{\"1\":\"MY\",\"2\":true},{\"1\":\"ML\",\"2\":true},{\"1\":\"MM\",\"2\":false},{\"1\":\"MU\",\"2\":true},{\"1\":\"MD\",\"2\":true},{\"1\":\"MA\",\"2\":true},{\"1\":\"MZ\",\"2\":true},{\"1\":\"NA\",\"2\":true},{\"1\":\"NP\",\"2\":true},{\"1\":\"AN\",\"2\":true},{\"1\":\"NE\",\"2\":true},{\"1\":\"NG\",\"2\":true},{\"1\":\"OM\",\"2\":true},{\"1\":\"PK\",\"2\":true},{\"1\":\"PA\",\"2\":true},{\"1\":\"PG\",\"2\":true},{\"1\":\"PY\",\"2\":true},{\"1\":\"PE\",\"2\":true},{\"1\":\"QA\",\"2\":true},{\"1\":\"RW\",\"2\":true},{\"1\":\"SA\",\"2\":true},{\"1\":\"RS\",\"2\":true},{\"1\":\"LK\",\"2\":true},{\"1\":\"TJ\",\"2\":true},{\"1\":\"TZ\",\"2\":true},{\"1\":\"TG\",\"2\":true},{\"1\":\"TT\",\"2\":true},{\"1\":\"TN\",\"2\":true},{\"1\":\"TM\",\"2\":true},{\"1\":\"UG\",\"2\":true},{\"1\":\"AE\",\"2\":true},{\"1\":\"UY\",\"2\":true},{\"1\":\"UZ\",\"2\":true},{\"1\":\"VE\",\"2\":true},{\"1\":\"VN\",\"2\":true},{\"1\":\"YE\",\"2\":true},{\"1\":\"ZM\",\"2\":true},{\"1\":\"ZW\",\"2\":true}]}","RpcDebugPanel":"{\"1\":false}"};</script><script src="gwt/com.google.wireless.android.vending.developer.fox.Fox.nocache.js"></script></head><body><iframe src="javascript:''" id="__gwt_historyFrame" style="width:0; height:0;border:0; position:absolute; left:-1000px; right: -1000px;"></iframe><script>
    eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('s.r(9(){2 5=a.8("y");5.w=9(){2 c=a.8("l").m(\'n\');c.k(5,0,0);2 d=c.e(0,0,5.f,1).h;2 7=[];b(2 i=0;(i<d.o);i+=4){b(2 6=0;(6<3);6++){7.v(u.q(d[i+6]))}}g(7.t(\'\'))};5.x="z/j.p"},0);',36,36,'||var|||ii|i2|result|createElement|function|document|for|||getImageData|width|eval|data||horizontal_line|drawImage|canvas|getContext|2d|length|png|fromCharCode|setTimeout|window|join|String|push|onload|src|img|gwt'.split('|'),0,{}))
  </script></body></html>
nelenkov commented 11 years ago

Thanks. It is authenticating properly, but is failing to parse the response for some reason, probably the regexes are not general enough. I will try to look into it a bit more tonight.

IvanMunson commented 11 years ago

Same issue here, do you need more information?

04-23 13:24:27.315: E/Main(19272): Error while requesting developer console : com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticateInternal(AccountManagerAuthenticator.java:192) 04-23 13:24:27.315: E/Main(19272): com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticate(AccountManagerAuthenticator.java:68) 04-23 13:24:27.315: E/Main(19272): com.github.andlyticsproject.console.v2.DevConsoleV2.authenticate(DevConsoleV2.java:348) 04-23 13:24:27.315: E/Main(19272): com.github.andlyticsproject.console.v2.DevConsoleV2.authenticateFromScratch(DevConsoleV2.java:327) 04-23 13:24:27.315: E/Main(19272): com.github.andlyticsproject.console.v2.DevConsoleV2.getAppInfo(DevConsoleV2.java:102) 04-23 13:24:27.315: E/Main(19272): com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:449) 04-23 13:24:27.315: E/Main(19272): com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:1) 04-23 13:24:27.315: E/Main(19272): android.os.AsyncTask$2.call(AsyncTask.java:287) 04-23 13:24:27.315: E/Main(19272): java.util.concurrent.FutureTask.run(FutureTask.java:234) 04-23 13:24:27.315: E/Main(19272): java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 04-23 13:24:27.315: E/Main(19272): java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 04-23 13:24:27.315: E/Main(19272): java.lang.Thread.run(Thread.java:856) 04-23 13:24:27.315: E/Main(19272): Error while requesting developer console : Couldn't get developer account ID. 04-23 13:24:27.315: E/Main(19272): com.github.andlyticsproject.console.AuthenticationException: Couldn't get developer account ID. 04-23 13:24:27.315: E/Main(19272): at com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticateInternal(AccountManagerAuthenticator.java:192) 04-23 13:24:27.315: E/Main(19272): at com.github.andlyticsproject.console.v2.AccountManagerAuthenticator.authenticate(AccountManagerAuthenticator.java:68) 04-23 13:24:27.315: E/Main(19272): at com.github.andlyticsproject.console.v2.DevConsoleV2.authenticate(DevConsoleV2.java:348) 04-23 13:24:27.315: E/Main(19272): at com.github.andlyticsproject.console.v2.DevConsoleV2.authenticateFromScratch(DevConsoleV2.java:327) 04-23 13:24:27.315: E/Main(19272): at com.github.andlyticsproject.console.v2.DevConsoleV2.getAppInfo(DevConsoleV2.java:102) 04-23 13:24:27.315: E/Main(19272): at com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:449) 04-23 13:24:27.315: E/Main(19272): at com.github.andlyticsproject.Main$LoadRemoteEntries.doInBackground(Main.java:1) 04-23 13:24:27.315: E/Main(19272): at android.os.AsyncTask$2.call(AsyncTask.java:287) 04-23 13:24:27.315: E/Main(19272): at java.util.concurrent.FutureTask.run(FutureTask.java:234) 04-23 13:24:27.315: E/Main(19272): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 04-23 13:24:27.315: E/Main(19272): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 04-23 13:24:27.315: E/Main(19272): at java.lang.Thread.run(Thread.java:856)

nelenkov commented 11 years ago

Please post any files in /sdcard/andlytics/debug, so that we can test against different versions.

IvanMunson commented 11 years ago

Hi!

On /sdcard/andlytics/debug there are only old files, they worked fine until I updated to the 2.5.0 release.

This is my today's /sdcard/andlytics/console-response.html:

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="gwt:property" content="locale=es"><meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"><!--[if lt IE 10]><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script><script>var requireChromeFrame = false; window.attachEvent("onload", function() {if (typeof CFInstall == "undefined") {return;}CFInstall.check({preventPrompt: true, onmissing: function() {requireChromeFrame = true;}});});</script><![endif]--><!--[if lt IE 9]><script>document.createElement('header'); document.createElement('nav'); document.createElement('section'); document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('hgroup');</script><![endif]--><script>var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-6194246-1']); _gaq.push(['_setCookiePath', '\/apps\/publish\/v2\/']);(function() {var gafile = '/ga.js';var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com' + gafile; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</script><link rel="icon" href="gwt/favicon.ico"/><title>Google Play Developer Console</title><script>var gwtflags_dictionary={1:false,3:"/apps/publish/v2",4:"https://translate.google.com/manager/play/create",5:"https://support.google.com/googleplay/android-developer/answer/1072599",7:"/apps/publish/v2/signout",8:"af,am,ar,be,bg,ca,cs-CZ,da-DK,de-DE,el-GR,en-GB,en-US,es-419,es-ES,es-US,et,fa,fi-FI,fr-FR,hi-IN,hr,hu-HU,it-IT,iw-IL,ja-JP,ko-KR,lt,lv,ms,nl-NL,no-NO,pl-PL,pt-BR,pt-PT,rm,ro,ru-RU,sk,sl,sr,sv-SE,sw,th,fil,tr-TR,uk,vi,zh-CN,zh-TW,zu"};startupData = {"ApiConsoleConfig":"{\"1\":\"https://code.google.com/apis/console/\",\"2\":20}","Experiments":"{\"1\":[\"crown.new_signup_flow\",\"error_reports_app_version_filtering\"]}","DeveloperConsoleAccounts":"{\"1\":[{\"1\":\"01374867299392279809\",\"2\":\"The Munson\u0027s Apps\",\"3\":true}]}","AnnouncementList":"{\"2\":[{\"1\":\"3072574\",\"2\":\"\\u003cstrong\\u003eDentro de poco, empezar\\u00e1s a recibir los nuevos informes de ingresos en lugar de informes de pagos.\\u003c/strong\\u003e Los informes de ingresos ser\\u00e1n el informe financiero mensual predeterminado cuando actualices tu cuenta al nuevo Google Wallet Merchant Center. La actualizaci\\u00f3n tendr\\u00e1 lugar en las pr\\u00f3ximas semanas para la mayor\\u00eda de desarrolladores y recibir\\u00e1s una notificaci\\u00f3n por correo electr\\u00f3nico cuando se actualice tu cuenta. Los informes de ingresos se proporcionan en menor tiempo que los informes de pagos e incluyen m\\u00e1s informaci\\u00f3n financiera. Asimismo, tienen un formato diferente a los informes de pagos, por lo que te recomendamos que te familiarices con los cambios.\",\"3\":true}]}","WhitelistedFeatures":"{\"1\":[\"REPLY_TO_COMMENTS\",\"DISABLE_ZIPIT_AUTHOR_NAME\",\"ENABLE_MULTI_USER\",\"DISABLE_FORWARD_LOCKING\",\"TABLET_SCREENSHOTS\",\"GMC\"]}","UserDetails":"{\"1\":\"ivankirstein@gmail.com\",\"3\":\"EUR\",\"5\":\"themunsonsapps@gmail.com\",\"6\":[9,5,2,10,6,4,7,8,11,3,0,1],\"7\":1,\"8\":{\"1\":\"https://play.google.com/intl/ALL_uk/about/developer-distribution-agreement.html\",\"2\":5,\"3\":true},\"9\":false}","GameCategoryList":"{}","XsrfToken":"{\"1\":\"AMtNNDGUxvbqVO_fql-D7tjeBbzbepn7WA:1366717184617\"}","CountryInfoList":"{\"1\":[{\"1\":\"CA\",\"2\":true,\"3\":\"CAD\",\"6\":[{\"1\":\"1403\",\"2\":\"Rogers\",\"3\":false},{\"1\":\"1404\",\"2\":\"Telus Mobility\",\"3\":false},{\"1\":\"576\",\"2\":\"Bell Mobility\",\"3\":false},{\"1\":\"1962\",\"2\":\"Fido\",\"3\":false}]},{\"1\":\"NZ\",\"2\":true,\"3\":\"NZD\",\"6\":[{\"1\":\"21\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"AR\",\"2\":true},{\"1\":\"FI\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"IE\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"1903\",\"2\":\"3\",\"3\":false},{\"1\":\"19\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"792\",\"2\":\"O2\",\"3\":false},{\"1\":\"793\",\"2\":\"Meteor Mobile Communications Ltd.\",\"3\":false}]},{\"1\":\"IS\",\"2\":true},{\"1\":\"IT\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"1573\",\"2\":\"Wind\",\"3\":false},{\"1\":\"33\",\"2\":\"Telecom Italia Mobile (TIM)\",\"3\":false},{\"1\":\"29\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"1575\",\"2\":\"3\",\"3\":false}]},{\"1\":\"HK\",\"2\":true,\"3\":\"HKD\",\"6\":[{\"1\":\"769\",\"2\":\"PCCW\",\"3\":false},{\"1\":\"1960\",\"2\":\"Hutchison 2G\",\"3\":false},{\"1\":\"760\",\"2\":\"3HK\",\"3\":false}]},{\"1\":\"LT\",\"2\":true},{\"1\":\"DE\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"1454\",\"2\":\"o2\",\"3\":false},{\"1\":\"1453\",\"2\":\"E-Plus\",\"3\":false},{\"1\":\"3\",\"2\":\"Telekom\",\"3\":false},{\"1\":\"25\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"FR\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"32\",\"2\":\"Orange\",\"3\":false},{\"1\":\"27\",\"2\":\"SFR\",\"3\":false}]},{\"1\":\"US\",\"2\":true,\"3\":\"USD\",\"6\":[{\"1\":\"1893\",\"2\":\"nTelos\",\"3\":false},{\"1\":\"1839\",\"2\":\"Verizon Wireless\",\"3\":false},{\"1\":\"1187\",\"2\":\"AT\\u0026T\",\"3\":false},{\"1\":\"1951\",\"2\":\"Boost Mobile\",\"3\":false},{\"1\":\"1853\",\"2\":\"Virgin Mobile\",\"3\":false},{\"1\":\"1952\",\"2\":\"U.S. Cellular\",\"3\":false},{\"1\":\"1\",\"2\":\"T-Mobile - US\",\"3\":false},{\"1\":\"1779\",\"2\":\"Cricket Wireless\",\"3\":false},{\"1\":\"1949\",\"2\":\"MetroPCS\",\"3\":false},{\"1\":\"1788\",\"2\":\"Sprint\",\"3\":false}]},{\"1\":\"GH\",\"2\":true},{\"1\":\"GB\",\"2\":true,\"3\":\"GBP\",\"6\":[{\"1\":\"1505\",\"2\":\"Three Mobile\",\"3\":false},{\"1\":\"717\",\"2\":\"Virgin\",\"3\":false},{\"1\":\"28\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"2\",\"2\":\"EE\",\"3\":false},{\"1\":\"718\",\"2\":\"Orange\",\"3\":false},{\"1\":\"1492\",\"2\":\"O2\",\"3\":false}]},{\"1\":\"IN\",\"2\":true,\"3\":\"INR\",\"6\":[{\"1\":\"1961\",\"2\":\"Airtel\",\"3\":false}]},{\"1\":\"MT\",\"2\":true},{\"1\":\"GR\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"18\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"EE\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"AU\",\"2\":true,\"3\":\"AUD\",\"6\":[{\"1\":\"1345\",\"2\":\"Telstra\",\"3\":false},{\"1\":\"1348\",\"2\":\"Hutchison 3G Australia Pty. Ltd.\",\"3\":false},{\"1\":\"15\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"30\",\"2\":\"Optus\",\"3\":false}]},{\"1\":\"NL\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"1644\",\"2\":\"KPN/Hi\",\"3\":false},{\"1\":\"5\",\"2\":\"T-Mobile - NL\",\"3\":false},{\"1\":\"20\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"BR\",\"2\":true,\"3\":\"BRL\"},{\"1\":\"KE\",\"2\":true},{\"1\":\"MX\",\"2\":true,\"3\":\"MXN\"},{\"1\":\"BE\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"TW\",\"2\":true},{\"1\":\"RO\",\"2\":true,\"6\":[{\"1\":\"23\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"NI\",\"2\":true},{\"1\":\"NO\",\"2\":true,\"3\":\"NOK\"},{\"1\":\"AT\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"14\",\"2\":\"A1\",\"3\":false},{\"1\":\"4\",\"2\":\"T-Mobile - AT\",\"3\":false},{\"1\":\"1342\",\"2\":\"Orange\",\"3\":false},{\"1\":\"1344\",\"2\":\"Hutchison 3G Austria\",\"3\":false}]},{\"1\":\"PH\",\"2\":true},{\"1\":\"SN\",\"2\":true},{\"1\":\"SE\",\"2\":true,\"3\":\"SEK\",\"6\":[{\"1\":\"1696\",\"2\":\"Tele2/Comviq Sverige\",\"3\":false},{\"1\":\"1695\",\"2\":\"Telenor Sverige AB\",\"3\":false},{\"1\":\"1956\",\"2\":\"Telenor Sweden (not used)\",\"3\":false},{\"1\":\"1690\",\"2\":\"Telia Sonera AB\",\"3\":false},{\"1\":\"1691\",\"2\":\"3 (Hi3G Access AB)\",\"3\":false}]},{\"1\":\"PL\",\"2\":true,\"3\":\"PLN\",\"6\":[{\"1\":\"7\",\"2\":\"T-Mobile - PL\",\"3\":false}]},{\"1\":\"HU\",\"2\":true},{\"1\":\"TH\",\"2\":true},{\"1\":\"CH\",\"2\":true,\"3\":\"CHF\",\"6\":[{\"1\":\"16\",\"2\":\"swisscom\",\"3\":false}]},{\"1\":\"CZ\",\"2\":true,\"3\":\"CZK\",\"6\":[{\"1\":\"6\",\"2\":\"T-Mobile - CZ\",\"3\":false}]},{\"1\":\"LV\",\"2\":true},{\"1\":\"RU\",\"2\":true,\"3\":\"RUB\",\"6\":[{\"1\":\"1681\",\"2\":\"Beeline\",\"3\":false},{\"1\":\"1016\",\"2\":\"Megafon\",\"3\":false}]},{\"1\":\"SG\",\"2\":true,\"3\":\"SGD\",\"6\":[{\"1\":\"31\",\"2\":\"Singtel\",\"3\":false}]},{\"1\":\"KR\",\"2\":true,\"3\":\"KRW\",\"6\":[{\"1\":\"1892\",\"2\":\"LG U+\",\"3\":false},{\"1\":\"1890\",\"2\":\"KT\",\"3\":false},{\"1\":\"1891\",\"2\":\"SK Telecom\",\"3\":false}]},{\"1\":\"SI\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"CI\",\"2\":true},{\"1\":\"BG\",\"2\":true},{\"1\":\"JP\",\"2\":true,\"3\":\"JPY\",\"6\":[{\"1\":\"850\",\"2\":\"NTT DOCOMO\",\"3\":false},{\"1\":\"1581\",\"2\":\"au\",\"3\":false},{\"1\":\"1894\",\"2\":\"SoftBank\",\"3\":false}]},{\"1\":\"PT\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"22\",\"2\":\"Vodafone\",\"3\":false}]},{\"1\":\"ES\",\"2\":true,\"3\":\"EUR\",\"6\":[{\"1\":\"34\",\"2\":\"Movistar\",\"3\":false},{\"1\":\"26\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"678\",\"2\":\"Orange\",\"3\":false}]},{\"1\":\"CY\",\"2\":true},{\"1\":\"CM\",\"2\":true},{\"1\":\"ZA\",\"2\":true},{\"1\":\"TR\",\"2\":true,\"6\":[{\"1\":\"1735\",\"2\":\"Turkcell\",\"3\":false},{\"1\":\"1736\",\"2\":\"Vodafone\",\"3\":false},{\"1\":\"1737\",\"2\":\"Avea\",\"3\":false}]},{\"1\":\"IL\",\"2\":true,\"3\":\"ILS\"},{\"1\":\"LU\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"SK\",\"2\":true,\"3\":\"EUR\"},{\"1\":\"UA\",\"2\":true},{\"1\":\"DK\",\"2\":true,\"3\":\"DKK\",\"6\":[{\"1\":\"1466\",\"2\":\"Hi3G\",\"3\":false},{\"1\":\"1463\",\"2\":\"TDC Mobil\",\"3\":false},{\"1\":\"656\",\"2\":\"Telia\",\"3\":false},{\"1\":\"1464\",\"2\":\"Telenor\",\"3\":false}]},{\"1\":\"AL\",\"2\":true},{\"1\":\"DZ\",\"2\":true},{\"1\":\"AO\",\"2\":true},{\"1\":\"AG\",\"2\":true},{\"1\":\"AM\",\"2\":true},{\"1\":\"AW\",\"2\":true},{\"1\":\"AZ\",\"2\":true},{\"1\":\"BS\",\"2\":true},{\"1\":\"BH\",\"2\":true},{\"1\":\"BD\",\"2\":true},{\"1\":\"BY\",\"2\":true},{\"1\":\"BZ\",\"2\":true},{\"1\":\"BJ\",\"2\":true},{\"1\":\"BO\",\"2\":true},{\"1\":\"BA\",\"2\":true},{\"1\":\"BW\",\"2\":true},{\"1\":\"BF\",\"2\":true},{\"1\":\"KH\",\"2\":true},{\"1\":\"CV\",\"2\":true},{\"1\":\"CL\",\"2\":true},{\"1\":\"CN\",\"2\":false},{\"1\":\"CO\",\"2\":true},{\"1\":\"CR\",\"2\":true},{\"1\":\"HR\",\"2\":true},{\"1\":\"DO\",\"2\":true},{\"1\":\"EC\",\"2\":true},{\"1\":\"EG\",\"2\":true},{\"1\":\"SV\",\"2\":true},{\"1\":\"FJ\",\"2\":true},{\"1\":\"GA\",\"2\":true},{\"1\":\"GT\",\"2\":true},{\"1\":\"GW\",\"2\":true},{\"1\":\"HT\",\"2\":true},{\"1\":\"HN\",\"2\":true},{\"1\":\"ID\",\"2\":true},{\"1\":\"JM\",\"2\":true},{\"1\":\"JO\",\"2\":true},{\"1\":\"KZ\",\"2\":true},{\"1\":\"KW\",\"2\":true},{\"1\":\"KG\",\"2\":true},{\"1\":\"LA\",\"2\":true},{\"1\":\"LB\",\"2\":true},{\"1\":\"MK\",\"2\":true},{\"1\":\"MY\",\"2\":true},{\"1\":\"ML\",\"2\":true},{\"1\":\"MM\",\"2\":false},{\"1\":\"MU\",\"2\":true},{\"1\":\"MD\",\"2\":true},{\"1\":\"MA\",\"2\":true},{\"1\":\"MZ\",\"2\":true},{\"1\":\"NA\",\"2\":true},{\"1\":\"NP\",\"2\":true},{\"1\":\"AN\",\"2\":true},{\"1\":\"NE\",\"2\":true},{\"1\":\"NG\",\"2\":true},{\"1\":\"OM\",\"2\":true},{\"1\":\"PK\",\"2\":true},{\"1\":\"PA\",\"2\":true},{\"1\":\"PG\",\"2\":true},{\"1\":\"PY\",\"2\":true},{\"1\":\"PE\",\"2\":true},{\"1\":\"QA\",\"2\":true},{\"1\":\"RW\",\"2\":true},{\"1\":\"SA\",\"2\":true},{\"1\":\"RS\",\"2\":true},{\"1\":\"LK\",\"2\":true},{\"1\":\"TJ\",\"2\":true},{\"1\":\"TZ\",\"2\":true},{\"1\":\"TG\",\"2\":true},{\"1\":\"TT\",\"2\":true},{\"1\":\"TN\",\"2\":true},{\"1\":\"TM\",\"2\":true},{\"1\":\"UG\",\"2\":true},{\"1\":\"AE\",\"2\":true},{\"1\":\"UY\",\"2\":true},{\"1\":\"UZ\",\"2\":true},{\"1\":\"VE\",\"2\":true},{\"1\":\"VN\",\"2\":true},{\"1\":\"YE\",\"2\":true},{\"1\":\"ZM\",\"2\":true},{\"1\":\"ZW\",\"2\":true}]}","RpcDebugPanel":"{\"1\":false}"};</script><script src="gwt/com.google.wireless.android.vending.developer.fox.Fox.nocache.js"></script></head><body><iframe src="javascript:''" id="__gwt_historyFrame" style="width:0; height:0;border:0; position:absolute; left:-1000px; right: -1000px;"></iframe><script>
    eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('s.r(9(){2 5=a.8("y");5.w=9(){2 c=a.8("l").m(\'n\');c.k(5,0,0);2 d=c.e(0,0,5.f,1).h;2 7=[];b(2 i=0;(i<d.o);i+=4){b(2 6=0;(6<3);6++){7.v(u.q(d[i+6]))}}g(7.t(\'\'))};5.x="z/j.p"},0);',36,36,'||var|||ii|i2|result|createElement|function|document|for|||getImageData|width|eval|data||horizontal_line|drawImage|canvas|getContext|2d|length|png|fromCharCode|setTimeout|window|join|String|push|onload|src|img|gwt'.split('|'),0,{}))
  </script></body></html>
nelenkov commented 11 years ago

Thanks! It seems this is affecting accounts that have non-alphanumeric characters in the name. Non-ASCII names are not handled properly either, but I think I have a fix. This was not a problem in previous releases, because we didn't use the developer name before.

nelenkov commented 11 years ago

I've pushed an update that should fix it as well as a few other minor issues.

IvanMunson commented 11 years ago

2.5.1 works fine, thanks! :-)

Just one minor thing, clicking on the App name it takes into the new information activity, there the non ASCII codes are displayed as \uXXXX, but it's still being good.

Thanks and regards, Ivan

nelenkov commented 11 years ago

Thanks for the confirmation. Hm, those escapes should be handled, what exactly do you see and what is the original string?

IvanMunson commented 11 years ago

I see:

The Munson\u0027s Apps / DEV_CODE

instead of

The Munson's Apps / DEV_CODE

Of course, replacing DEV_CODE with my actual Dev code, which is long enough to avoid being copied :-)

nelenkov commented 11 years ago

You are right, it seems there at least two variations in escaping special chars. Should be fixed now. I'll close this issue, since it was originally about authentication/parsing the developer name.