tursodatabase / libsql

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

turso not working with laravel #1691

Open johnqiuwan opened 1 month ago

johnqiuwan commented 1 month ago

What happened?

Fresh installed laravel project, and installed everything needed from the turso laravel doc link.

when run php artisan migrate, get the error:

Write delegation: `status: Unavailable, message: "grpc-status header missing, mapped from HTTP status code 502"

How to reproduce the bug

fresh install laravel config libsql + laravel php artisan migrate Package Version 1.0

PHP Version 8.2.0

Laravel Version 11.9

Which operating systems does with happen with? macOS

Notes this is the sample config currently using

DB_CONNECTION=libsql DB_DATABASE=database.sqlite DB_AUTH_TOKEN=token DB_SYNC_URL=database_url DB_SYNC_INTERVAL=5 DB_READ_YOUR_WRITES=true DB_ENCRYPTION_KEY= DB_REMOTE_ONLY=false

Should we update something server side since it is related to the missing grpc ?