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 7: Failed to connect to trello.com port 443: Timed out #15

Closed
theovaldi opened this issue Sep 22, 2016 · 1 comment
Closed

Comments

@theovaldi
Copy link

Hi
I get error only if i connect internet using proxy
like this (full error code attached) "cURL error 7: Failed to connect to trello.com port 443: Timed out "

Can help me to put proxy setting
in my code

$client = new \Stevenmaguire\Services\Trello\Client(array(
'domain' => 'https://trello.com',
'key' => 'my_key',
'secret' => 'my_code',
'name' => 'My sweet trello enabled app',
'callbackUrl' => $currentUrl,
'expiration' => 'never',
'scope' => 'read',
'token' => 'my_token'
));

Fatal error: Uncaught exception 'GuzzleHttp\Exception\ConnectException' with message 'cURL error 7: Failed to connect to trello.com port 443: Timed out (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in C:\xampp\htdocs\trello\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:186 Stack trace: #0 C:\xampp\htdocs\trello\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 C:\xampp\htdocs\trello\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 C:\xampp\htdocs\trello\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #3 C:\xampp\htdocs\trello\vendor\guzzlehttp\guzzle\src\Handler\ in C:\xampp\htdocs\trello\vendor\stevenmaguire\trello-php\src\Http.php on line 272

Thanks with Regards

@stevenmaguire
Copy link
Owner

These issues are typically related to your network configuration and not the code within the trello-php package. Contact your network administrator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants