Update through proxy issues - Joomla! Forum - community, help and support


i using joomla behind proxy server.

i have enabled proxy system->global configuration->server tab

entered proxy host , proxy port (dont need username , password).


but problem on updates have errors system cannot parse addresses.

update: :collection: not parse https://update.joomla.org/core/list.xml
update: :collection: not parse https://update.joomla.org/jed/list.xml
update: :collection: not parse https://update.joomla.org/language/tran ... list_3.xml
update: :extension: not parse https://update.joomla.org/core/extensio ... update.xml
update: :extension: not parse https://raw.githubusercontent.com/jooml ... nifest.xml

debugging system saw on curl.php there below code on line 263:

code: select all

$response = explode("\r\n\r\n", $content, 2 + $redirects);

// set body response.
$return->body = array_pop($response);


the thing code purges header of $content leave rest gets handles xml.

but when on proxy server header not one. except server response joomla handles there proxy response!

example of joomla expexts:

code: select all

http/1.1 200 ok\r\ndate: mon, 18 jul 2016 10:16:03 gmt\r\ncontent-type: application/xml\r\ncontent-length: 11500\r\nconnection: keep-alive\r\nlast-modified: mon, 18 jul 2016 09:42:41 gmt\r\ncache-control: max-age=600\r\nserver: netdna-cache/2.2\r\nx-cache: hit\r\naccept-ranges: bytes\r\n\r\n<?xml version="1.0" encoding="utf-8"?>\n<extensionset name="accredited joomla! translations" description="accredited joomla! translations updates...


example of joomla gets when behind proxy

code: select all

"http/1.1 200 connection established\r\n\r\nhttp/1.1 200 ok\r\ndate: mon, 18 jul 2016 10:16:03 gmt\r\ncontent-type: application/xml\r\ncontent-length: 11500\r\nconnection: keep-alive\r\nlast-modified: mon, 18 jul 2016 09:42:41 gmt\r\ncache-control: max-age=600\r\nserver: netdna-cache/2.2\r\nx-cache: hit\r\naccept-ranges: bytes\r\n\r\n<?xml version="1.0" encoding="utf-8"?>\n<extensionset name="accredited joomla! translations" description="accredited joomla! translations updates...


so result joomla purges first header leaving other 1 , making unable parse file.


does have solution?






Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support