Using the Hydra Console behind a proxy does not work there are 2 places where proxy information needs to be set to allow it to work:
-
proxylib _makeCurlRequest
curl_setopt($curl_handle, CURLOPT_PROXY, "proxy.server.com:3128");
curl_setopt($curl_handle, CURLOPT_HEADER, true);
curl_setopt($curl_handle, CURLOPT_USERAGENT, $this->_requestUserAgent);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);
-
FileGetContentsLoader.loadDocument
$streamContextOptions = array(
'method' => 'GET',
'header' => "Accept: application/ld+json, application/json; q=0.9, /; q=0.1\r\n",
'timeout' => Processor::REMOTE_TIMEOUT,
'request_fulluri' => true,
'proxy' => 'tcp://proxy.server.com:3128',
);
With those two hacks it works; should be possible to set the proxy at AjaxProxy level and at JsonLD level
Using the Hydra Console behind a proxy does not work there are 2 places where proxy information needs to be set to allow it to work:
proxylib _makeCurlRequest
curl_setopt($curl_handle, CURLOPT_PROXY, "proxy.server.com:3128");
curl_setopt($curl_handle, CURLOPT_HEADER, true);
curl_setopt($curl_handle, CURLOPT_USERAGENT, $this->_requestUserAgent);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);
FileGetContentsLoader.loadDocument
$streamContextOptions = array(
'method' => 'GET',
'header' => "Accept: application/ld+json, application/json; q=0.9, /; q=0.1\r\n",
'timeout' => Processor::REMOTE_TIMEOUT,
'request_fulluri' => true,
'proxy' => 'tcp://proxy.server.com:3128',
);
With those two hacks it works; should be possible to set the proxy at AjaxProxy level and at JsonLD level