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

CURL ERROR #498

Open
Odilbukh opened this issue May 8, 2023 · 0 comments
Open

CURL ERROR #498

Odilbukh opened this issue May 8, 2023 · 0 comments

Comments

@Odilbukh
Copy link

Odilbukh commented May 8, 2023

Title
Curl error: error:0A00010B:SSL routines::wrong version number {"exception":"[object] (Exception(code: 0): Curl error: error:0A00010B:SSL routines::wrong version number at project_path/vendor/jaggedsoft/php-binance-api/php-binance-api.php:1319)

Short Description:
I have installed the packeage to fresh Laravel (v10) project. When I want to use packege methods it returns error.

Platform:

  • linux (Ubuntu 22.04)

php version:

  • 8.1

code

    public function getPrice(): void
    {
        $api = new \Binance\API(config('app.api_key'), config('app.secret_key'));
        $price = $api->price("BNBBTC");
    }

result

Curl error: error:0A00010B:SSL routines::wrong version number {"exception":"[object] (Exception(code: 0): Curl error: error:0A00010B:SSL routines::wrong version number at project_path/vendor/jaggedsoft/php-binance-api/php-binance-api.php:1319)

thank you

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