Musish icon indicating copy to clipboard operation
Musish copied to clipboard

BUG: Login never completes

Open jjozsi opened this issue 6 years ago • 11 comments
trafficstars

Describe the bug I can't login. Using two factor authentication the popup login window stays blank white and never logs me in.

To Reproduce Steps to reproduce the behavior:

  1. Click Login
  2. A popup window appears
  3. Enter Apple ID and password
  4. Enter 6 digit code from two factor authentication
  5. Window is loading, then stays white, no login happens

Screenshots login never completes

Console error message when the white screen happens: console-error

System I use:

  • OS: macOS 10.13.6
  • Browser Safari 12.0.2

jjozsi avatar Jan 23 '19 14:01 jjozsi

It might be a MusicKit issue, I tried playapplemusic.com and the same white screen happened on the login screen with the same "Unrecognized token" error message in console, using latest Safari on macOS 10.13.6

jjozsi avatar Jan 23 '19 15:01 jjozsi

I got the same Error. The translation file seems to be broken, which contains no JSON: https://authorize.music.apple.com/locales/de-at/translations.json?_=1548257054572

The de-de variant seems to be fine: https://authorize.music.apple.com/locales/de-de/translations.json?_=1548257054572

c0defre4k avatar Jan 23 '19 15:01 c0defre4k

I can confirm it works on Chrome 71 (Mac)

jjozsi avatar Jan 23 '19 15:01 jjozsi

A quick workaround is to change your browser's language. In my case my language setting was set to de-AT when i switch to de or de-DE that translations file was loaded correctly. After musi.sh has been authorized you can revert your changes to the browser language.

c0defre4k avatar Apr 11 '19 11:04 c0defre4k

I have the same issue in Chrome 73.0.3683.103, the console log error is as follows:

SyntaxError: Unexpected token < in JSON at position 0 at parse () at ie (vendor-bd2e348c6f34235e66a285352cc9d3e9.js:106) at n (vendor-bd2e348c6f34235e66a285352cc9d3e9.js:434) at XMLHttpRequest. (vendor-bd2e348c6f34235e66a285352cc9d3e9.js:462) Me @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1899 ke @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1898 i @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:2508 trigger @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3196 (anonymous) @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3213 e.invokeWithOnError @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1105 e.flush @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1096 e.flush @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1107 e.end @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1114 e.run @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1124 e.join @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1124 Fe.join @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:2052 (anonymous) @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:4161 c @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:246 fireWith @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:247 n @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:434 (anonymous) @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:462 load (async) send @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:462 ajax @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:449 _makeRequest @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:4159 request @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:4153 fetchTranslations @ web-authorize-app-4433a20a8e780f83c45129535bb1b3a8.js:39 (anonymous) @ web-authorize-app-4433a20a8e780f83c45129535bb1b3a8.js:38 C @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3166 L @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3176 afterModel @ web-authorize-app-4433a20a8e780f83c45129535bb1b3a8.js:37 v @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3018 runSharedModelHook @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3094 runAfterModelHook @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3093 (anonymous) @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:2999 A @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3163 O @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3164 S @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:3162 e.invokeWithOnError @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1105 e.flush @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1096 e.flush @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1107 e.end @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1114 e.run @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1124 e.join @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:1124 Fe.join @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:2052 (anonymous) @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:2056 p @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:252 f @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:253 setTimeout (async) (anonymous) @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:254 c @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:246 fireWith @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:247 fire @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:247 c @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:246 fireWith @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:247 ready @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:264 f @ vendor-bd2e348c6f34235e66a285352cc9d3e9.js:34

orifes avatar Apr 16 '19 14:04 orifes

@c0defre4k you are the man, you actually probably just helped me finally be able to figure out / close this one ticket I could never figure out why on earth just users from the Germany / Austria area were having all these login problems with apple and nobody else would ever report them. I have the email of the dev who coded most of the musickit library because we got early access to the docs, I'm for sure going to let them know to at least put {} in the translation files that have no translations.

RiFi2k avatar Apr 26 '19 09:04 RiFi2k

@RiFi2k that sounds great. I hope they fix it, because thats pretty annoying. I don't know if {} is sufficient. Maybe they should implement some fallback logic to respond with some default translations.

c0defre4k avatar Apr 26 '19 09:04 c0defre4k

I feel like if its getting tripped up at json parse, technically {} should keep it from throwing an error there, unless I'm wrong I never actually tried. There is a good chance it will get done, I can have someone from a big company that starts with S get on their case about it because it for sure has to be our login issue.

RiFi2k avatar Apr 26 '19 09:04 RiFi2k

This issue actually got forwarded to the apple devs today because of my day job, so fingers crossed.

RiFi2k avatar Apr 27 '19 00:04 RiFi2k

This issue actually got forwarded to the apple devs today because of my day job, so fingers crossed.

Is there any information when they will fix it? Apparently its not fixed yet, error still occurs.

c0defre4k avatar Jul 25 '19 10:07 c0defre4k

+1

barambani avatar Oct 26 '19 17:10 barambani