? ? Success

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
9 Jun 2014

HTTP stream context settings are currently being created based only on the various options passed to the 'request' function. These settings should take precedence but any default stream context settings should be used as the base.
Also, stream transport can be used with a proxy so we don't need to require curl for proxy connections. Rather than simply switching to curl when a proxy is needed, transports that do not support proxies (only socket) should exclude themselves when a proxy is required.
Tracker: https://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33835&start=0

avatar okonomiyaki3000 okonomiyaki3000 - open - 9 Jun 2014
avatar okonomiyaki3000 okonomiyaki3000 - change - 9 Jun 2014
Title
Allow stream connections to support proxies.
[#33835] Allow stream connections to support proxies.
avatar okonomiyaki3000
okonomiyaki3000 - comment - 25 Jul 2014

Setup

  • Configure your site to use a proxy.
  • Disable PHP's curl extension.

Before

When you use the Joomla! Update component, you will get the 'no transport available' error.

After

You will not get that error because Joomla will select the socket transport when curl is not available and will configure it to use your proxy settings.

avatar brianteeman brianteeman - change - 8 Aug 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar brianteeman brianteeman - change - 19 Sep 2014
The description was changed
avatar d03ms d03ms - test_item - 21 Aug 2015 - Tested successfully
avatar d03ms
d03ms - comment - 21 Aug 2015

successfully tested


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3746.

avatar mflr26
mflr26 - comment - 21 Aug 2015

After following the instructions there was no error message thrown. So the error couldn't be reproduced.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3746.

avatar mflr26 mflr26 - test_item - 21 Aug 2015 - Not tested
avatar d03ms
d03ms - comment - 21 Aug 2015

@mflr26 you have to use an older version, then you get the failure by using update

avatar okonomiyaki3000
okonomiyaki3000 - comment - 25 Aug 2015

@mflr26 You should get an error if you followed the instructions. It might be possible that you need to click the 'clear cache' button on the joomla update page. I don't know if that's necessary but maybe. I don't think it should matter if you're using the latest version or not. Joomla doesn't know that the current version is the latest version until it connects somewhere and checks. If you have followed the instructions, it will not be able to make that check because, currently, curl is the only transport that is allowed if Joomla needs to use a proxy.

avatar brianteeman brianteeman - change - 30 Mar 2016
Category Libraries
avatar Kubik-Rubik Kubik-Rubik - change - 8 May 2016
Milestone Added:
avatar Kubik-Rubik
Kubik-Rubik - comment - 8 May 2016

Thank you for creating this. It's been some time since you created this and there are now some merge conflicts that prevent a direct merge. Please update your PR, then this can be reviewed. Thank you!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3746.

avatar joomla-cms-bot
joomla-cms-bot - comment - 9 May 2016

This PR has received new commits.

CC: @d03ms, @mflr26


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3746.

avatar okonomiyaki3000
okonomiyaki3000 - comment - 10 May 2016

Rebased. Should merge now.

avatar brianteeman brianteeman - change - 10 May 2016
Category Libraries Feature Request Libraries
avatar wilsonge wilsonge - change - 8 Jun 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-06-08 21:56:55
Closed_By wilsonge
avatar wilsonge wilsonge - close - 8 Jun 2016
avatar wilsonge wilsonge - merge - 8 Jun 2016
avatar wilsonge wilsonge - reference | f188b7d - 8 Jun 16
avatar wilsonge wilsonge - merge - 8 Jun 2016
avatar wilsonge wilsonge - close - 8 Jun 2016
avatar okonomiyaki3000 okonomiyaki3000 - head_ref_deleted - 24 May 2017

Add a Comment

Login with GitHub to post a comment