Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users cannot see other drawings #107

Open
jaysonl opened this issue Sep 28, 2020 · 8 comments
Open

Users cannot see other drawings #107

jaysonl opened this issue Sep 28, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@jaysonl
Copy link

jaysonl commented Sep 28, 2020

When using cocreate with a group of around 10 people two of them reported not being able to see any of the other's drawings. They could see each other's and we could see their annotations (including drawing over some of ours). They reported trying to switch browsers and still having an issue, but I failed to collect browser and OS information.

@edemaine
Copy link
Owner

Unfortunately, this isn't enough information to track anything down. What date/time did this happen? Browser information would also be helpful.

@jaysonl
Copy link
Author

jaysonl commented Sep 28, 2020

This occurred between 10:30am and noon ET on 9/28/2020. The specific events when we noticed and tested were very roughly around 11am, but the problem was never resolved during the meeting. I'll try to find a good way to ask about browser info.

Unrelatedly, we seemed to be experiencing significant lag around 11:50am.

@edemaine
Copy link
Owner

Weird. Server-side I only see around a brief 4-second delay at 11:50am, and don't see anything that should have caused anything after 10:30am. Maybe their network connection briefly disconnected, and that triggered some kind of bad state? I would have expected reconnection to work just fine, but haven't tested thoroughly.

I also restarted the servers in case there was something server-side, but I'm afraid I won't be able to figure this out. Thanks for the report, though; it's good to know something bad is happening. Maybe with more reports I'll eventually find the problem.

@edemaine
Copy link
Owner

edemaine commented Oct 6, 2020

FYI, I've now seen this affect another person, and I got to see a screenshare to see what the behavior was like. Conclusions:

  • User-level workaround: the unfortunate user can reload the Cocreate page to get updates (provided they don't have another tab opened to the same Cocreate page), but it will continue to fail to update live. 🙁
  • System-level workaround: restarting all the Meteor servers fixes the problem. But only the sysadmin can do this. 🙁 But let me know if you need me to do this again.
  • I believe the issue is the server losing connection to Redis, reconnecting, but (maybe because of a race condition) some of Redis Oplog's subscriptions failing to be in a correct state. See redis in write-only/unsubscribed state after reconnect? cult-of-coders/redis-oplog#365 for my analysis so far.

@edemaine edemaine added the bug Something isn't working label Oct 6, 2020
@Alex7Li
Copy link

Alex7Li commented Mar 8, 2021

This has also happened to me a few times, my professor has lectures with about 8 people on the cocreate and about 1/4th of the time, I can't see edits until I refresh. Though I think it happens to me more frequently than other people. I tried clearing cookies and changing the browser from chrome to firefox, it did not change the behavior.

People can see edits that I make, though.

@Etn40ff
Copy link

Etn40ff commented Dec 14, 2021

I experienced the same issue yesterday. The weird part of it was that I could see my edits live on a different device, my collaborator could see mine and his edits, again on a separate device, but I could not see his.

@edemaine
Copy link
Owner

@Etn40ff That's expected behavior, I'm afraid. What's happening is that Cocreate "partitions" into multiple (between 2 and 4) "subnetworks", each of which properly updates within itself, but updates between the subnetworks don't propagate (without manual refresh). I still don't know how it happens, so don't know how to permanently fix it. The only fix I've found so far is to restart the Cocreate servers. 🙁

@Etn40ff
Copy link

Etn40ff commented Dec 15, 2021

This sounds quite bad but at least it is an explanation.

Currently, since I use it only with another person, I am piggybacking on the instance you run at MIT, I might have to look into self hosting if this happens again.

Thank you for the explanation (and for the software!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants