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

[Bug]: Protocol "libsql" not supported #6

Open
wilhelmpa opened this issue May 24, 2024 · 2 comments
Open

[Bug]: Protocol "libsql" not supported #6

wilhelmpa opened this issue May 24, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@wilhelmpa
Copy link

wilhelmpa commented May 24, 2024

What happened?

I try to run the migration, but there comes the following error:

cURL error 1: Protocol "libsql" not supported (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for libsql://xxx-yyy.turso.io/v3/pipeline (Connection: turso, SQL: select name from sqlite_master where type = 'table' and name not like 'sqlite_%' order by name)

Do you have any ideas?

Besides that, this Project is so awesome, thank you very much

How to reproduce the bug

run the migration script also with a fresh install of your cms project

Package Version

I dont know

PHP Version

8.3

Laravel Version

11

Which operating systems does with happen with?

No response

Notes

No response

@wilhelmpa wilhelmpa added the bug Something isn't working label May 24, 2024
@richan-fongdasen
Copy link
Owner

Hi @wilhelmpa, thanks for submitting the issue . I think I have an idea about what's going on here. The given Turso database URL is defined using the libsql:// protocol. The package doesn't currently recognize the libsql protocol. A quick fix would be to replace the libsql protocol with https.

I know this will be confusing for new users, so I will work on making it unnecessary to replace the protocol in the future.

@richan-fongdasen richan-fongdasen self-assigned this May 25, 2024
@wilhelmpa
Copy link
Author

Uh my bad. I just copy pasted from turso instead of reading your docs carefully. It worked! Thank you very much!!!!! So nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants