Skip to content

Sync error #1361

Description

@Sanji78

Priority/Impact

No response

Description

Description

[Please describe what you were doing when the error occurred.]

Error details

Error title: Sync error
Error message: Exception: Failed to fetch token

Sync status:

server: self-hosted
connected: false, connecting: false, downloading: false, uploading: false
last successful sync: 2026-08-26T19:54:22.624Z
pending uploads: 1
checkpoint request: target 9223372036854775807, seen -, applied -
local buckets: last op 560166, ops since checkpoint 25000, oplog rows 9936
error (Uncategorised): Exception: Failed to fetch token

App logs (last 23 entries):

2026-09-11T16:11:10.813477Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/structure/, attempt 3 (1233ms), reason: status code 500
2026-09-11T16:11:10.732536Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-gym/, attempt 3 (1223ms), reason: status code 500
2026-09-11T16:11:10.641081Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-display/, attempt 3 (1229ms), reason: status code 500
2026-09-11T16:11:08.929536Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/structure/, attempt 2 (542ms), reason: status code 500
2026-09-11T16:11:08.821955Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-gym/, attempt 2 (551ms), reason: status code 500
2026-09-11T16:11:08.765608Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-display/, attempt 2 (569ms), reason: status code 500
2026-09-11T16:11:07.335576Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-display/, attempt 1 (307ms), reason: status code 500
2026-09-11T16:11:07.334605Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-gym/, attempt 1 (276ms), reason: status code 500
2026-09-11T16:11:07.332340Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/structure/, attempt 1 (293ms), reason: status code 500
2026-09-11T16:11:06.904863Z WARNING [powersync-django] Upload deferred: Upload of UpdateType.patch on core_userprofile deferred: retryable status 500
2026-09-11T16:11:02.808488Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/structure/, attempt 3 (1146ms), reason: status code 500
2026-09-11T16:11:02.806672Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-display/, attempt 3 (1090ms), reason: status code 500
2026-09-11T16:11:02.706137Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-gym/, attempt 3 (1188ms), reason: status code 500
2026-09-11T16:11:01.161443Z WARNING [powersync-django] Upload deferred: Upload of UpdateType.patch on core_userprofile deferred: retryable status 500
2026-09-11T16:11:01.160441Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-display/, attempt 2 (602ms), reason: status code 500
2026-09-11T16:11:01.160125Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-gym/, attempt 2 (561ms), reason: status code 500
2026-09-11T16:11:01.158683Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/structure/, attempt 2 (546ms), reason: status code 500
2026-09-11T16:10:59.879438Z INFO [powersync] Connecting to the sync service (manual retry)
2026-09-11T16:10:59.680834Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-display/, attempt 1 (257ms), reason: status code 500
2026-09-11T16:10:59.674816Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/structure/, attempt 1 (252ms), reason: status code 500
2026-09-11T16:10:59.667999Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/date-sequence-gym/, attempt 1 (260ms), reason: status code 500
2026-09-11T16:10:58.024082Z WARNING [powersync-django] Upload deferred: Upload of UpdateType.patch on core_userprofile deferred: retryable status 500
2026-09-11T16:10:56.074364Z INFO [WgerBaseProvider] Retrying fetch for https://gym.xxx.ddns.net/api/v2/routine/14/structure/, attempt 3 (1114ms), reason: status code 500

Server version

No response

Mobile app version

2.1.0+270 on android, installed by com.android.vending

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions