Problem/Motivation

intermitent errors showing up:
GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received

Steps to reproduce

Showed up just after installing module

Proposed resolution

I was able to resolve the issue with the following edit to CloudfiltStackMiddleware.php
$cloudfilt_request = $this->httpClient->request('POST', $cloudfilt_url, [
'form_params' => [
'ip' => $user_ip,
'KEY' => $config->get('key_back'),
'URL' => $user_request_uri,
],
// This value was changed because of a timeout issue
// 'timeout' => 1,
'timeout' => 1000,
]);

Remaining tasks

Please let me know if this was the correct action or if other steps are needed

Thanks for a module thata implements this service!

Comments

CProfessionals created an issue.

cloudfilt’s picture

yes you can, but it is better to leave it at 1