Benjamin_Loison commented on issue Benjamin_Loison/overleaf#3 2025-10-08 11:32:03 +02:00
Be notified in real-time on any activity (for instance connection, cursor move, typing...)
Python script:
import time
import threading

UPDATE_DELAY = 1
THRESHOLD = UPDATE_DELAY * 2
NORMAL_BEHAVIOR_PERIOD = 3 * THRESHOLD
lastTime =
Benjamin_Loison commented on issue Benjamin_Loison/overleaf#3 2025-10-08 11:20:51 +02:00
Be notified in real-time on any activity (for instance connection, cursor move, typing...)

Check if no response since 50 seconds seems to be a good way to be notified when the WebSocket does not work anymore.

Alternatively should check if after the same amount of time face again this…

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#3 2025-10-08 11:20:06 +02:00
Be notified in real-time on any activity (for instance connection, cursor move, typing...)
head -c 27 notifyOnNewRealTimeOverleafActivity.py.log 
2025-09-30 15:35:50.061342 
tail -n 3 notifyOnNewRealTimeOverleafActivity.py.log
Output…
Benjamin_Loison commented on issue Benjamin_Loison/overleaf#3 2025-10-02 23:48:12 +02:00
Be notified in real-time on any activity (for instance connection, cursor move, typing...)
'5:::{"name":"clientTracking.clientUpdated","args":[{"row":14,"column":12,"doc_id":"XXXXXXXXXXXXXXXXXXXXXXXX","id":"X.XXXXXXXXXXXXXXXXXXXX","user_id":"XXXXXXXXXXXXXXXXXXXXXXXX","email":"benjam…
Benjamin_Loison commented on issue Benjamin_Loison/overleaf#3 2025-10-02 23:41:57 +02:00
Be notified in real-time on any activity (for instance connection, cursor move, typing...)
notifyOnNewOverleafActivity.py.log:
2025-09-30 15:35:50.061342 ...
...
2025-10-02 07:59:30.409043 message='2::'
2025-10-02 07:59:56.346952…
Benjamin_Loison closed issue Benjamin_Loison/linux#20 2025-10-02 09:39:06 +02:00
diff progress for 2 huge files
Benjamin_Loison commented on issue Benjamin_Loison/linux#20 2025-10-02 09:39:06 +02:00
diff progress for 2 huge files
Benjamin_Loison commented on issue Benjamin_Loison/cryptpad#57 2025-10-01 17:49:48 +02:00
*An error occurred during the work with the document.*

Refreshing the webpage solves the issue.

Benjamin_Loison opened issue Benjamin_Loison/cryptpad#57 2025-10-01 17:48:57 +02:00
*An error occurred during the work with the document.*