Skip to content

CURL ERROR #498

@Odilbukh

Description

@Odilbukh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions