Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi All,
I work in a company that utilizes Acquia's enterprise service and as many others, all our servers are prevented to access the internet without authenticating to a proxy first.
Is that a way to use Acquia Connector through a proxy? Looking into the code, I saw calls to stream_socket_client and fsockopen when connecting to Acquia servers, at the moment I researching a way to patch the module to include proxy support, but if there is an easier solution or an existing patch, I would be happy to know.
Thanks!
Comments
Comment #1
coltraneDrupal 7 just received simple HTTP proxy support via #7881: Add support to drupal_http_request() for proxy servers (http not https) while greater proxy support (including HTTPS) is at #924498: Proxy https support for drupal_http_request() so for right now there isn't proxy support in Connector for 6 or 7 though it's a desired feature for sure. We'll be looking into options for this in the coming months.
Comment #2
alanmackenzie CreditAttribution: alanmackenzie commentedI was able to get the connector to work behind our corporate proxy by adding the following in settings.php.
Downside is now that your details are not encrypted during transit, use at your own risk etc.
HTTPS proxy support in this module would be most welcome.
Comment #3
Dane Powell CreditAttribution: Dane Powell at Acquia commentedThe 6.x branch is no longer supported. If this is still an issue in the 7.x-3.x or 8.x branches, please reopen with the appropriate target branch. Also consider submitting product feedback via a Support ticket so that we can gather more supporting information privately.