Tab-Session-Manager icon indicating copy to clipboard operation
Tab-Session-Manager copied to clipboard

Cloud sync is stuck

Open 108anup opened this issue 4 years ago • 7 comments

I get an error similar to this: https://github.com/sienori/Tab-Session-Manager/issues/680

The sync gets stuck after downloading 31 sessions, the status message says "Downloading... (32/104)". I have tried deleting data from google drive, signing out/in, restarting browser. None of these helped. I use Firefox and Brave. Issue started occurring when I first starting syncing on Brave (earlier used only Firefox and things were fine). I do give read/write permissions to the extension for google drive (on Brave you need to explicitly check a box for this).

I don't know if the issue is with the 32nd session or with the some corner case with number 32, or some other sync error.

108anup avatar Feb 04 '22 17:02 108anup

I think its one particular troublesome session, that is not being downloaded properly...

108anup avatar Feb 04 '22 18:02 108anup

I have around 104 sessions.

108anup avatar Feb 04 '22 18:02 108anup

Can I access some sync logs. Where could I see these?

108anup avatar Feb 04 '22 18:02 108anup

Yeah actually, I am also facing this issue where old deleted sessions from one machine from delete on another machine.

#952

108anup avatar Feb 04 '22 23:02 108anup

Basically, in the debug mode log, I see that there is a file for which drive gives 403 forbidden (malware content). After this error, the sync gets stuck. I am not sure which of my sessions might be causing this.

108anup avatar Feb 14 '22 22:02 108anup

I added logging to cloudSync.js to log what file it is trying to download. I exported sessions and was about to find the blocking sessions based on timestamp from downloadFile. After removing this session, sync works.

Can perhaps add this debugging by default. It was a pain to get the google API permissions setup just for running local clone of the extension...

108anup avatar Feb 14 '22 23:02 108anup

Keeping open: debugging could be added or if download fails, sync shouldn't remain stuck...

108anup avatar Feb 14 '22 23:02 108anup

Try remove session in Google Drive: https://github.com/sienori/Tab-Session-Manager/issues/1023#issuecomment-1166365555

sienori avatar Sep 15 '22 13:09 sienori