request_timeout not used in HttpAuthFetcher

Created on 6 September 2023, 10 months ago
Updated 13 February 2024, 5 months ago

Problem/Motivation

No matter how high I set the request_timeout, I am always met with "...cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received..."

Looks to be that `$options = [RequestOptions::SINK => $sink];` does not add the timeout for the call.

Proposed resolution

Using a custom fetcher, I have resolved this for now by updating it to

$options = [
  RequestOptions::SINK => $sink,
  'timeout' => $this->configuration['request_timeout'],
];
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇦Ukraine Andriy Khomych

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024