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

Add a parameter for proxy settings #42

Open
jmleroux opened this issue Nov 23, 2017 · 0 comments
Open

Add a parameter for proxy settings #42

jmleroux opened this issue Nov 23, 2017 · 0 comments

Comments

@jmleroux
Copy link
Contributor

We need to add a parameter to use the Icecat API through a proxy:

Without proxy :

batch.ERROR: Encountered an error executing the step: cURL error 7: Failed to connect to data.icecat.biz port 80: Connection timed out (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []

The additional configuration should look like this in IcecatDownloader class:

 $guzzle->request('GET', $featureListUri, [
            'auth' => $this->httpClient->getCredentials(),
            'sink' => $targetFile,
            'proxy' => 'http://login:pwd@httpproxy.mydomain.com:8080'
        ]);
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

1 participant