simon-weber / Autoplaylists-for-Google-Music

Adds autoplaylists, aka iTunes "smart playlists", to Google Music.
https://autoplaylists.simon.codes
MIT License
94 stars 18 forks source link

Syncing has stopped #188

Closed woolfhound closed 6 years ago

woolfhound commented 6 years ago

Hi Simon - I'm experiencing syncing failing regardless of which device I access Play Music/Autoplaylists in. The Sync tab shows "last full sync was XX days ago" (21 as of now!) and a message about when the next sync will take place... however, it does not happen. Initiating the sync manually also does not work. I've verified that it's not syncing via playlists based on add dates (none are updated).

Thanks - JW

simon-weber commented 6 years ago

Huh. A few people have reported similar issues, but I haven't been able to find any trends in my monitoring to indicate what the problem might be. Something similar even cleared up on its own for the last person who reached out.

I've got one idea for some more data I can collect. I'll try to release that today. In the meantime, can you try:

woolfhound commented 6 years ago

Reloaded & tried a test playlist - no luck. Log attached.

Thank you!

On Sun, Jul 8, 2018 at 12:02 PM Simon Weber notifications@github.com wrote:

Huh. A few people have reported similar issues, but I haven't been able to find any trends in my monitoring to indicate what the problem might be. Something similar even cleared up on its own for the last person who reached out https://github.com/simon-weber/Autoplaylists-for-Google-Music/issues/187 .

I've got one idea for some more data I can collect. I'll try to release that today. In the meantime, can you try:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/simon-weber/Autoplaylists-for-Google-Music/issues/188#issuecomment-403301383, or mute the thread https://github.com/notifications/unsubscribe-auth/AnD0i1c3CchdlMOfu0I_6a6pAEF4uyG7ks5uEjsVgaJpZM4VGxQo .

navbar.js:5126 user id: 101102279991661244516 isDev: undefined navbar.js:5126 user id: 101102279991661244516 isDev: undefined navbar.js:5126 got cached license {cachedLicense: {…}} navbar.js:5126 license status {state: "FULL", expiresMs: null, hasFullVersion: true} navbar.js:5126 user id: 101102279991661244516 isDev: undefined navbar.js:5126 user id: 101102279991661244516 isDev: undefined navbar.js:5126 got status {lastPSync: 1531080565560, nextExpectedSync: 1531080865560, lastSyncInfo: {…}, randomCacheTS: 1531080226287} navbar.js:5126 user id: 101102279991661244516 isDev: undefined navbar.js:5126 user id: 101102279991661244516 isDev: undefined navbar.js:5126 got cached license {cachedLicense: {…}} navbar.js:5126 license status {state: "FULL", expiresMs: null, hasFullVersion: true} navbar.js:5126 got cached license {cachedLicense: {…}} navbar.js:5126 license status {state: "FULL", expiresMs: null, hasFullVersion: true} navbar.js:5126 setting context: true {reportingUUID: "117bd1b2-ce97-45ea-955f-dfb45212bb8d", user: {…}, tags: {…}} navbar.js:5126 setting context: true {reportingUUID: "117bd1b2-ce97-45ea-955f-dfb45212bb8d", user: {…}, tags: {…}}reportingUUID: "117bd1b2-ce97-45ea-955f-dfb45212bb8d"tags: {isDeveloper: undefined, isFullForced: false, hasFullVersion: true, installType: "normal", licenseState: "FULL", …}user: {email: "...", id: "101102279991661244516"}proto: Object navbar.js:5126 Error: timed out for callback => { chrome.runtime.sendMessage({action: 'getStatus'}, status => callback(new Date().getTime() - status.lastSyncInfo.ts < 60000)); }: [object Arguments] at r (syncpage.js:8886) at chrome.runtime.sendMessage.status (syncpage.js:8917) at sendResponseAndClearCallback (extensions::messaging:419) at messageListener (extensions::messaging:451) at EventImpl.dispatchToListener (extensions::eventbindings:403) at Event.publicClassPrototype.(chrome-extension://blbompphddfibggfmmfcgjjoadebinem/html/anonymous function) [as dispatchToListener] (extensions::utils:138:26) at EventImpl.dispatch (extensions::event_bindings:387) at EventImpl.dispatch (extensions::event_bindings:409) at Event.publicClassPrototype.(chrome-extension://blbompphddfibggfmmfcgjjoadebinem/html/anonymous function) [as dispatch] (extensions::utils:138:26) at dispatchOnMessage (extensions::messaging:392) console.(anonymous function) @ navbar.js:5126 console.(anonymous function) @ syncpage.js:5126 err @ syncpage.js:8920 r @ syncpage.js:8886 chrome.runtime.sendMessage.status @ syncpage.js:8917 sendResponseAndClearCallback @ extensions::messaging:419 messageListener @ extensions::messaging:451 EventImpl.dispatchToListener @ extensions::eventbindings:403 publicClassPrototype.(anonymous function) @ extensions::utils:138 EventImpl.dispatch @ extensions::event_bindings:387 EventImpl.dispatch @ extensions::event_bindings:409 publicClassPrototype.(anonymous function) @ extensions::utils:138 dispatchOnMessage @ extensions::messaging:392

simon-weber commented 6 years ago

I've got a hunch: let's try refreshing your auth token. Can you try navigating manually to chrome://identity-internals? One of the entries in this list should look like this:


Access Token <big long string>
Extension Name | Autoplaylists for Google Music™
Extension Id | blbompphddfibggfmmfcgjjoadebinem
Token Status | Token Present
Expiration Time | <a date in the future>
Scopes | https://www.googleapis.com/auth/chromewebstore.readonly
https://www.googleapis.com/auth/skyjam

First, check that all the rows match my example (let me know if any don't). Then, click the "revoke" button beneath the scopes.

Now, open or refresh a Google Music tab and click the extension icon. You should get the same OAuth prompt you saw when initially installing the extension. Authorize it.

Does anything change after going through that?

woolfhound commented 6 years ago

That did it - test playlist synced and others updated! Thanks.

On Sun, Jul 8, 2018 at 4:15 PM Simon Weber notifications@github.com wrote:

I've got a hunch: let's try refreshing your auth token. Can you try navigating manually to chrome://identity-internals? One of the entries in this list should look like this:

Access Token Extension Name | Autoplaylists for Google Music™ Extension Id | blbompphddfibggfmmfcgjjoadebinem Token Status | Token Present Expiration Time | Scopes | https://www.googleapis.com/auth/chromewebstore.readonlyhttps://www.googleapis.com/auth/skyjam

First, check that all the rows match my example (let me know if any don't). Then, click the "revoke" button beneath the scopes.

Now, open or refresh a Google Music tab and click the extension icon. You should get the same OAuth prompt you saw when initially installing the extension. Authorize it.

Does anything change after going through that?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/simon-weber/Autoplaylists-for-Google-Music/issues/188#issuecomment-403317752, or mute the thread https://github.com/notifications/unsubscribe-auth/AnD0i2A6Ep7hwPO6a4RwE7bGRukZU3kZks5uEnZagaJpZM4VGxQo .

simon-weber commented 6 years ago

Excellent! I have no clue why that would have broken - it's supposed to be automatically managed by Chrome - but I'm relieved we figured it out.