8000 TLS 1.2 not supported error · Issue #522 · NativePHP/laravel · GitHub
[go: up one dir, main page]

Skip to content

TLS 1.2 not supported error #522

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

Closed
gorthol217 opened this issue Mar 18, 2025 · 4 comments · Fixed by NativePHP/php-bin#187
Closed

TLS 1.2 not supported error #522

gorthol217 opened this issue Mar 18, 2025 · 4 comments · Fixed by NativePHP/php-bin#187
Assignees
Labels
bug Something isn't working php windows

Comments

@gorthol217
Copy link

What were you trying to do?

I created a new Laravel app with the react template and tried to start the app with
composer native:dev -vvv

What happened?

i get the error
Error in PHP: Invalid crypto_method request option: TLS 1.2 not supported by your version of cURL (0) in ...\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:568
Im on Windows 11 using the most recent Laravel and Nativephp version.

How to reproduce the bug

create a new laravel project with laravel new Project, add nativephp and do composer native:dev -vvv

Package Versions

{
    "installed": [
        {
            "name": "nativephp/electron",
            "direct-dependency": true,
            "homepage": "https://github.com/nativephp/electron",
            "source": "https://github.com/NativePHP/electron/tree/1.0.0-beta.5",
            "version": "1.0.0-beta.5",
            "description": "Electron wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/laravel",
            "direct-dependency": true,
            "homepage": "https://github.com/nativephp/laravel",
            "source": "https://github.com/NativePHP/laravel/tree/1.0.0-beta.2",
            "version": "1.0.0-beta.2",
            "description": "Laravel wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/php-bin",
            "direct-dependency": false,
            "homepage": "https://nativephp.com",
            "source": "https://github.com/NativePHP/php-bin/tree/0.6.0",
            "version": "0.6.0",
            "description": "PHP binaries used by the NativePHP framework",
            "abandoned": false
        }
    ]
}

PHP Version

8.4.5

Laravel Version

12.0

Node Version

22.14.0

Which operating systems have you seen this occur on?

Windows

OS version

win11 (24H2)

Notes

No response

@gorthol217 gorthol217 added the bug Something isn't working label Mar 18, 2025
@simonhamp
Copy link
Member

Thanks for reporting this. We're investigating and should have a fix soon.

@PeteBishwhip
Copy link
Member

It looks like this may be related to an upstream issue.

Adding that here so we can keep an eye on it whilst I work on possible workarounds.

@simonhamp
Copy link
Member

Just released new binaries. Please composer update to get them and try again.

@gorthol217
Copy link
Author

This solved the issue for me.
Thanks for the quick response!

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

Successfully merging a pull request may close this issue.

3 participants
0