tursodatabase / tursodatabase/libsql
turso not working with laravel
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.2k
- Forks
- 531
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 1
Description
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 ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Turso Laravel guide and the reported sample environment configuration, then reproduce php artisan migrate using PHP 8.2, Laravel 11.9, and macOS. Trace the grpc-status header missing 502 response to determine whether the configuration or server-side setup is responsible; done means migrations work or the required server configuration is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100