tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.59k stars 253 forks source link

Example does not work with remote URL #806

Open penberg opened 9 months ago

penberg commented 9 months ago
penberg@vonneumann libsql % export LIBSQL_HRANA_URL=$(turso db show --url foo)
penberg@vonneumann libsql % export LIBSQL_AUTH_TOKEN=$(turso db tokens create foo)
penberg@vonneumann libsql % cargo run --example example_v2
    Finished dev [unoptimized + debuginfo] target(s) in 0.54s
     Running `target/debug/examples/example_v2`
thread 'main' panicked at libsql/examples/example_v2.rs:18:49:
called `Result::unwrap()` on an `Err` value: Hrana(Http("connection closed before message completed"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
tekjar commented 5 months ago

@penberg I'm facing this issue. Any resolution?