Problem/Motivation
The outbound requests from Akamai to clear a cache via the EdgeGrid client does not take into account the Drupal settings array for http_client_config.
Steps to reproduce
We have found that our server, deployed in a DMZ does not send its requests out thru the proxy, but rather the unproxied route, which is then blocked, causing the request to time out.
Proposed resolution
Instead of instantiating the client config as an empty array, use the Drupal settings array for http_client_config.
Remaining tasks
User interface changes
n/a
API changes
n/a
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | use-http-client-config-proxy-3365204-01.patch | 931 bytes | elgordogrande |
Issue fork akamai-3365204
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
elgordogrande commentedComment #3
moshe weitzman commentedthanks. can you see if any similar change is needed for 5.x branch?
Comment #4
moshe weitzman commentedComment #5
kwasib commentedYes, this change is needed for 5.x. I recently encountered this problem and successfully applied the patch (with fuzz) in a test environment to fix it.
Comment #10
mschudders commentedhttps://git.drupalcode.org/project/akamai/-/merge_requests/31
MR31 is a reroll against the latest code.
Comment #12
smustgrave commentedSince it's a feature request and pretty minor going to include in 6.0.x