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)
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:
php version:
code
result
thank you