Curl error connection reset by peer in Laravel

I have a problem when I want to call an api which is config in my vendor file, Yesterday that worked and all was fine but now i can’t make any call and I have this error “Curl Error, connection reset by peer’.

I’m in laravel project and i call my Api with that command :

$api = new ItemFamily($url,$user,$password)
$data = $api->call()