We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: