Skip to content

Harvester does not use proxy settings #4469

@stefan-korn

Description

@stefan-korn

Current Behavior

DKAN harvester does not use proxy settings (from. $settings['http_client_config']['proxy']...).

I suppose the reason is, that HarvestService does not provide a http client to the Factory and thus the harvest is using a new GuzzleClient that does not take proxy settings.

Expected Behavior

Harvester use proxy settings (from. $settings['http_client_config']['proxy']...).

Steps To Reproduce

Define proxy settings in your environment
Configure a harvest that needs to run with proxy settings
Run the harvest and notice it fails

Relevant log output (optional)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions