libsql-js icon indicating copy to clipboard operation
libsql-js copied to clipboard

Sync example fails with latest libSQL

Open penberg opened this issue 1 year ago • 0 comments

With https://github.com/libsql/libsql-js/pull/54, the sync example fails as follows:

penberg@vonneumann sync % node example.js
2023-11-01T09:20:21.706640Z  INFO libsql_replication::replicator: Attempting to perform handshake with primary.
2023-11-01T09:20:21.706790Z  INFO libsql::replication::remote_client: Attempting to perform handshake with primary.
2023-11-01T09:20:21.972033Z ERROR libsql_replication::replicator: error connecting to primary. retrying. error: Replicator client error: invalid length: expected length 32 for simple format, found 0

penberg avatar Nov 01 '23 09:11 penberg