tursodatabase / tursodatabase/libsql

turso not working with laravel

Open
#1,691 0 comments 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.