tursodatabase / tursodatabase/libsql

Prod Turso failing with `you are using a client with a deprecated version of sync`

Open
#2,137 3 comments 0 reactions 1 assignee View on GitHub

@levydsa is already working on this.

Since Aug 4, 2025.

Dominant language
C
Stars
17.2k
Forks
531
Avg merge
1h 12m
Merged PRs (30d)
1

Description

I've been using Turso db, and one of the databases has started to give this error.

libsql::replication::remote_client] Failed handshake in 87 ms: Client(Status { code: Unimplemented, message: "you are using a client with a deprecated version of sync, that is not supported in this platform. Please upgrade your client", metadata: MetadataMap { headers: {"content-type": "application/grpc-web-text", "date": "xxx", "fly-request-id": "xxx", "content-length": "0", "server": "xxx", "via": "1.1 fly.io"} }, source: None })

I have upgraded the Rust libsql client to the latest (0.9.19), but I still get the same error.

  let db = Builder::new_remote_replica(
    ldb_path,
    DATABASE_URL,
    DATABASE_AUTH_TOKEN,
  )
  .sync_interval(Duration::from_secs(300))
  .build()
  .await?;

  db.sync().await?;

It's not clear what is deprecated as I've been using the default Rust client settings, and I could not find any API deprecation. I could not also find the error message in the source code of libsql.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.