sienori / Tab-Session-Manager

WebExtensions for restoring and saving window / tab states
https://tab-session-manager.sienori.com/
Mozilla Public License 2.0
1.91k stars 188 forks source link

Cloud sync is constantly showing error #680

Open ovgolovin opened 3 years ago

ovgolovin commented 3 years ago

Cloud sync displays error all the time. image

Is there any additional info I can gather to get to the root of the problem?

ovgolovin commented 3 years ago

This is what I see in the log in Computer1:

[filtered by 'cloud']

18:50:45.718 background.js:1 [info] background/background: onMessageListener() {message: "syncCloud"}
18:54:01.630 background.js:1 [debug] background/cloudSync: pushRemovedQueue() ce87e568-8cb4-436c-a59d-65d8945200b0
18:56:02.737 background.js:1 [debug] background/cloudSync: pushRemovedQueue() 03590c72-1967-416f-9726-87a93905d9a3
18:57:47.360 background.js:1 [info] background/background: onMessageListener() {message: "syncCloud"}
19:04:01.612 background.js:1 [debug] background/cloudSync: pushRemovedQueue() 33fe81a3-b3d2-4c62-b87a-fa4fc76b853e

This is the log from Computer2:

[filtered by 'cloud']

19:02:33.209 background.js:1 [info] background/background: onMessageListener() {message: "syncCloud"}
19:02:46.708 background.js:1 [debug] background/cloudSync: pushRemovedQueue() c5a78314-d4cb-4c66-98dc-adc362afb5ef

And user sessions are out of sync.

sienori commented 3 years ago

Do you mean that nothing happens when you click the Sync button? One of the following methods may solve the problem.

ovgolovin commented 3 years ago

Removing the data from Google drive helped. Sync started working again. Thanks!

I see another problem now though. The icon suggesting to sync reappears after some time. Though after syncing it disappears again. image I believe it starts being shown after a new autosave. Even though I have an option to sync only User Saved sessions. Looks like it is a bug, and it only needs to show the icon if there is something which is going to be really synced (not just new autosaved sessions which is going to be filtered out for actual syncing).