Skip to content

Android App Sync error #1343

Description

@4ctiv

Mobile app has a persisten sync issue:

Server logs show powersync write-checkpoint2.json GET requests return 401 as a result of the predecessor error PSYNC_S2106 "Auth Required" triggered when "reconnect" is selected in app interface

Client shows:
Syn Error HTTP 301
SyncResponseException: 301 Moved Permanently

Playstore comments suggest I am not the only one having an Issue like this.

Issues that might be related: #131 , #156


Setup:

  • Docker Server (docker-compose.yaml mit prod.env) (ARM Pi4b, Server v2.7.0a2+git6050749, Powersync v1.25.0)

  • changed env: JWT, SITE_URL, SECRET_KEY, ALLOW_REGISTRATION, CELERY_FLOWER_PASSWORD

  • changed powersync.yaml storage.uri to PS_DATABASE_URI // defaut would result in powersync fail

  • Client: Android 12 (Miui), App v2.0.57

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions