?
avatar ivanyord
ivanyord
21 Oct 2014

Steps to reproduce the issue

Log in the Administrator panel using SSL -> Go to Extension Manager and select Install From Web

This bug was reported by Daniel Kanchev ( @dkanchev ) here:

http://forge.joomla.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32679&start=8025

There has been a reply that this is a duplicated bug and it is already solved at:

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=32565

However, I have tested with with Joomla 3.3.6 and the issue is still occurring.

Expected result

It should display a page with extensions, which can be installed

Actual result

Error: Cannot connect to the Joomla! server. Please try again later.

System information (as much as possible)

This was tested on CentOS 6.x with PHP 5.5 and MySQL 5.5

Additional comments

Votes

# of Users Experiencing Issue
3/3
Average Importance Score
3.67

avatar ivanyord ivanyord - open - 21 Oct 2014
avatar nicksavov
nicksavov - comment - 21 Oct 2014

Hi Ivan,

I think it was just a temporary connection issue. Could you try again and report back?

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

avatar dkanchev
dkanchev - comment - 22 Oct 2014

Hi Nick

The issue is still present on our end and it is the exact same issue which I described an year ago - when browsers block the connection because it is considered insecure. The issue is caused by the following code in plugins/installer/webinstaller/webinstaller.php:

19 class PlgInstallerWebinstaller extends JPlugin
20 {
21 public $appsBaseUrl = 'http://appscdn.joomla.org/webapps/'; // will be https once CDN is setup for SSL
22
23 private $_hathor = null;
24 private $_installfrom = null;

As you can see the connection is established via a regular HTTP connection. When you access the site via an encrypted HTTPS connection most browsers block the request to http://appscdn.joomla.org/webapps/ because it is not established via HTTPS. The only change which should be performed is to change the URL to https. There are two pull requests here that are still not merged (I don't know why but SSL connections work as expected):

https://github.com/joomla-extensions/install-from-web-client/pulls?q=is%3Aopen+is%3Apr

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

avatar brianteeman brianteeman - change - 22 Oct 2014
Status New Confirmed
avatar nicksavov
nicksavov - comment - 22 Oct 2014

Hi Daniel,

Yes, it just needs to be merged. See:
joomla-extensions/install-from-web-client#3

I'll follow up with the Install from Web team about it.

Thanks!

avatar brianteeman
brianteeman - comment - 27 Nov 2014

@beat any update on this??

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

avatar beat
beat - comment - 27 Nov 2014

@brianteeman The fix got merged a few minutes ago. Thanks @coolbung for the code and testers for the testing. We will deploy it to the CDNs around the world over the next days.

avatar jissues-bot jissues-bot - close - 27 Nov 2014
avatar brianteeman brianteeman - change - 27 Nov 2014
Status Confirmed Closed
avatar jissues-bot jissues-bot - change - 27 Nov 2014
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2014-11-27 11:38:34
avatar jissues-bot jissues-bot - close - 27 Nov 2014
avatar jissues-bot
jissues-bot - comment - 27 Nov 2014
avatar zero-24 zero-24 - close - 27 Nov 2014
avatar chlowen
chlowen - comment - 9 Dec 2014

Still having this issue today 2 weeks on (Joomla! 3.3.6 Stable)

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

avatar jtfbwilson
jtfbwilson - comment - 28 Dec 2014

I am also having this problem. I see where you said to set this to closed it was fixed, but was there a work around or is this a new bug??

I am running Joomla! version, 3.3.6

php version 5.3.28


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4878.
avatar chlowen
chlowen - comment - 30 Dec 2014

I am still having this issue, Does the issue need to be logged again or can this report be opened again?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4878.
avatar vmyselfandi
vmyselfandi - comment - 30 Jan 2015

I am on Joomla 3.3.6 and am still encountering this issue. I am not sure if @jtfbwilson or @chlowen have received solutions but can you let us know if this has been fixed or if this issue can be re-opened?

thank you


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4878.
avatar jtfbwilson
jtfbwilson - comment - 30 Jan 2015

I have not heard anything on this subject and am still having this problem.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4878.
avatar CrystalWind
CrystalWind - comment - 11 Feb 2015

Joomla 3.3.6 here...same issue in https.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4878.
avatar Willard1975
Willard1975 - comment - 19 Feb 2015

Same issue as CrystalWind.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4878.
avatar zero-24
zero-24 - comment - 19 Feb 2015

@Willard1975 @CrystalWind @jtfbwilson @vmyselfandi @chlowen

I think this will be fixed with the next release of the plugin (as the PR to fix it is allready merged). Maybe @beat or @coolbung can say more about the when and how of the release (maybe together with 3.4.0?)

BTW: the fix is really simple see: https://github.com/joomla-extensions/install-from-web-client/pull/3.diff

Thanks :smile:

avatar Willard1975
Willard1975 - comment - 19 Feb 2015

@zero-24

That worked nicely. Still no visible images but i guess it will be fixed in time.

Thanks.

avatar vmyselfandi
vmyselfandi - comment - 8 Mar 2015

@zero-24 thank you for that solution. Unfortunately I'm not an advanced Joomla! user so I don't exactly know how to apply the information you supplied to solve the issue at hand. Can you or @Willard1975 explain?

Thanks very much


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4878.
avatar zero-24
zero-24 - comment - 8 Mar 2015

@vmyselfandi

how to fix it (bevor the new client comes)

public $appsBaseUrl = 'http://appscdn.joomla.org/webapps/';

to

public $appsBaseUrl = 'https://appscdn.joomla.org/webapps/';

But atm the install from web is disabled too so the Install from Web tab don't work and will display a message instead.

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
avatar vmyselfandi
vmyselfandi - comment - 9 Jul 2017

I can't believe I never followed up on this. I forgot all about the issue and just gave up. It wasn't until I updated Joomla and it still didn't work that it started bothering me again (over 2 years later!). I again did a Google search but this time came across this thread with the solution from @zero-24. Thank you so much for taking the time to explain that. It works now.

Thank you again.

Add a Comment

Login with GitHub to post a comment