[GH-ISSUE #8365] [Bug] Unlimited document switching in the appflowy client #3768

Closed
opened 2026-03-23 21:33:02 +00:00 by mirror · 15 comments
Owner

Originally created by @smartyhero on GitHub (Nov 28, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8365

Bug Description

When I open AppFlowy, sometimes it displays "connecting," and when I switch documents, AppFlowy automatically and endlessly switches documents, although the trigger probability is very low.

How to Reproduce

I haven't found a way to trigger it 100% yet.

It seems that when I disconnect the network or stop my server-side load balancer, Appflowy displays "connecting...". If I switch between documents a few times, then reconnect to the network or start my load balancer, and then switch documents again, this issue is very likely to be triggered.

Expected Behavior

No side effects

Operating System

mac

AppFlowy Version(s)

0.10.4

Screenshots

No response

Additional Context

I'm not sure if this is a bug, but I did encounter this problem.

Originally created by @smartyhero on GitHub (Nov 28, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8365 ### Bug Description When I open AppFlowy, sometimes it displays "connecting," and when I switch documents, AppFlowy automatically and endlessly switches documents, although the trigger probability is very low. ### How to Reproduce I haven't found a way to trigger it 100% yet. It seems that when I disconnect the network or stop my server-side load balancer, Appflowy displays "connecting...". If I switch between documents a few times, then reconnect to the network or start my load balancer, and then switch documents again, this issue is very likely to be triggered. ### Expected Behavior No side effects ### Operating System mac ### AppFlowy Version(s) 0.10.4 ### Screenshots _No response_ ### Additional Context I'm not sure if this is a bug, but I did encounter this problem.
Author
Owner

@smartyhero commented on GitHub (Nov 28, 2025):

The problem seems to occur during reconnection.

<!-- gh-comment-id:3588569050 --> @smartyhero commented on GitHub (Nov 28, 2025): The problem seems to occur during reconnection.
Author
Owner

@LucasXu0 commented on GitHub (Nov 28, 2025):

Does it happen when your application is connected to the server?

<!-- gh-comment-id:3588579703 --> @LucasXu0 commented on GitHub (Nov 28, 2025): Does it happen when your application is connected to the server?
Author
Owner

@smartyhero commented on GitHub (Nov 28, 2025):

Based on my observation, this occurs when the client and server disconnect and then reconnect.

My general steps to reproduce the issue:

  1. Stop AppFlowy Cloud

  2. Switch between documents a few times on the client side

  3. Start the AppFlowy Cloud server

  4. While the client is still displaying "connecting...", switch between documents a few more times. This will most likely trigger the issue.

<!-- gh-comment-id:3588594537 --> @smartyhero commented on GitHub (Nov 28, 2025): Based on my observation, this occurs when the client and server disconnect and then reconnect. My general steps to reproduce the issue: 1. Stop AppFlowy Cloud 2. Switch between documents a few times on the client side 3. Start the AppFlowy Cloud server 4. While the client is still displaying "connecting...", switch between documents a few more times. This will most likely trigger the issue.
Author
Owner

@smartyhero commented on GitHub (Nov 28, 2025):

My AppFlowy Cloud version is 0.9.157.

<!-- gh-comment-id:3588597389 --> @smartyhero commented on GitHub (Nov 28, 2025): My AppFlowy Cloud version is 0.9.157.
Author
Owner

@annieappflowy commented on GitHub (Dec 4, 2025):

@smartyhero , please let us know if the issue still persists in v0.10.5

<!-- gh-comment-id:3610367940 --> @annieappflowy commented on GitHub (Dec 4, 2025): @smartyhero , please let us know if the issue still persists in v0.10.5
Author
Owner

@smartyhero commented on GitHub (Dec 4, 2025):

I updated to version 0.10.5, but the problem persists. I also updated my appflowy-cloud to version 0.9.166.
@annieappflowy

<!-- gh-comment-id:3611234835 --> @smartyhero commented on GitHub (Dec 4, 2025): I updated to version 0.10.5, but the problem persists. I also updated my appflowy-cloud to version 0.9.166. @annieappflowy
Author
Owner

@LucasXu0 commented on GitHub (Dec 4, 2025):

@smartyhero can you share your screen recording and log files when you encounter this issue?

<!-- gh-comment-id:3611925983 --> @LucasXu0 commented on GitHub (Dec 4, 2025): @smartyhero can you share your screen recording and log files when you encounter this issue?
Author
Owner

@smartyhero commented on GitHub (Dec 5, 2025):

appflowy_logs.zip
These are the client logs; please let me know if you need any other logs.

<!-- gh-comment-id:3615128643 --> @smartyhero commented on GitHub (Dec 5, 2025): [appflowy_logs.zip](https://github.com/user-attachments/files/23952608/appflowy_logs.zip) These are the client logs; please let me know if you need any other logs.
Author
Owner

@smartyhero commented on GitHub (Dec 5, 2025):

You can try downloading the screen recording from this link. I am unable to upload the screen recording file to GitHub.

https://s3.k8sre.cn/share/2025-12-05%2011-04-25.mov

<!-- gh-comment-id:3615139747 --> @smartyhero commented on GitHub (Dec 5, 2025): You can try downloading the screen recording from this link. I am unable to upload the screen recording file to GitHub. https://s3.k8sre.cn/share/2025-12-05%2011-04-25.mov
Author
Owner

@smartyhero commented on GitHub (Dec 5, 2025):

The document creation operation shown in the screen recording may not be related to the triggering of this issue.

In version 0.10.5, after I stopped Envoy, the client did not immediately show a reconnection prompt.

I used Envoy to replace Nginx.

<!-- gh-comment-id:3615145765 --> @smartyhero commented on GitHub (Dec 5, 2025): The document creation operation shown in the screen recording may not be related to the triggering of this issue. In version 0.10.5, after I stopped Envoy, the client did not immediately show a reconnection prompt. I used Envoy to replace Nginx.
Author
Owner

@smartyhero commented on GitHub (Dec 5, 2025):

log.2025-12-05.log

These are the log files in my data directory.

The compressed file above is a compressed archive exported using the "Export Logs" button in AppFlowy; it seems to contain very old logs.

@LucasXu0

<!-- gh-comment-id:3615161948 --> @smartyhero commented on GitHub (Dec 5, 2025): [log.2025-12-05.log](https://github.com/user-attachments/files/23952779/log.2025-12-05.log) These are the log files in my data directory. The compressed file above is a compressed archive exported using the "Export Logs" button in AppFlowy; it seems to contain very old logs. @LucasXu0
Author
Owner

@LucasXu0 commented on GitHub (Dec 5, 2025):

@smartyhero I can't access the video you uploaded. Can you check if the URL is accessible?

<!-- gh-comment-id:3615165912 --> @LucasXu0 commented on GitHub (Dec 5, 2025): @smartyhero I can't access the video you uploaded. Can you check if the URL is accessible?
Author
Owner

@smartyhero commented on GitHub (Dec 5, 2025):

The link above is not working; please try this link instead.

https://dl.k8sre.cn/s/2025-12-05.mov

<!-- gh-comment-id:3615185812 --> @smartyhero commented on GitHub (Dec 5, 2025): The link above is not working; please try this link instead. https://dl.k8sre.cn/s/2025-12-05.mov
Author
Owner

@LucasXu0 commented on GitHub (Dec 5, 2025):

Can you verify if the issue has been fixed in this version?

https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.10.5-fix%2Favoid_reopen_pages-251205-1232

<!-- gh-comment-id:3615419569 --> @LucasXu0 commented on GitHub (Dec 5, 2025): Can you verify if the issue has been fixed in this version? https://github.com/AppFlowy-IO/AppFlowy-Builder/releases/tag/0.10.5-fix%2Favoid_reopen_pages-251205-1232
Author
Owner

@smartyhero commented on GitHub (Dec 5, 2025):

There are no problems using this version.

<!-- gh-comment-id:3615431181 --> @smartyhero commented on GitHub (Dec 5, 2025): There are no problems using this version.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3768
No description provided.