-
Notifications
You must be signed in to change notification settings - Fork 424
Open
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.
Metadata
Metadata
Assignees
Labels
No labels