Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turso not working with laravel #1691

Open
johnqiuwan opened this issue Aug 23, 2024 · 0 comments
Open

turso not working with laravel #1691

johnqiuwan opened this issue Aug 23, 2024 · 0 comments

Comments

@johnqiuwan
Copy link

johnqiuwan commented Aug 23, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant