Skip to content

Stuck in 'outstanding...' while synchronizing with the server and causing a large number of requests to the server #119

@2659170494

Description

@2659170494

Describe the bug
Update TriliumDroid to v0.99.0-alpha14 and Trilium server to 0.99.0,
When attempting to synchronize with the server, TriliumDroid has been stuck in "outstanding..."

Image

In theory, it is not necessary to have a 0.99.0 server, and newer Trilium servers can also experience this situation. However, when I opened the server to update the Trilium server, I found that TriliumDroid caused a large number of "/app/sync/changed" requests.

Image

And when I request the 'https://aliesa.fanhat.cn/trilium/api/sync/changed?instanceId=mobileLdJLf&lastEntityChangeID=0&logMarkerId=trilium-droid' in a 'GET' manner, the server returns a '{"message":"Missing or invalid last entity change ID."}'

Image

Suggest clearing app data or reinstalling TriliumDroid to reproduce the issue during the first synchronization.

To Reproduce
Steps to reproduce the behavior:

  1. Clear TriliumDroid data or reinstall TriliumDroid
  2. Set up synchronization with the server
  3. Start synchronizing the server
  4. Check server logs to identify issues

Expected behavior
rilium seems to have tightened its handling of data, simply replacing 'lastElementChangeID' with 'lastElementChangeId'😂
Nevermind, I spelled 'lastElementChangeID' incorrectly 😢

Screenshots
Provided in the above content

Smartphone:

  • Device: LGE-AN00
  • Android version: 14
  • App version: 0.99.0-alpha14

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions