Last modified: 2012-12-28 23:20:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43081, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41081 - ExtensionDistributor does not work: "Invalid response from Extension Distributor remote client"
ExtensionDistributor does not work: "Invalid response from Extension Distribu...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
wmf-deployment
All All
: High major with 3 votes (vote)
: ---
Assigned To: Chad H.
http://www.mediawiki.org/wiki/Special...
:
: 41162 41215 41824 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-16 13:05 UTC by Jan Luca
Modified: 2012-12-28 23:20 UTC (History)
12 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jan Luca 2012-10-16 13:05:43 UTC
At moment the ExtensionDistributor on MW.org does not work. It outputs the error message: "Invalid response from Extension Distributor remote client.".

For example see this URL: http://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_extension=APC&extdist_version=branches%2FREL1_19&extdist_submit=Continue
Comment 1 Sam Reed (reedy) 2012-10-18 12:40:03 UTC
*** Bug 41162 has been marked as a duplicate of this bug. ***
Comment 2 Sam Reed (reedy) 2012-10-19 13:40:01 UTC
*** Bug 41215 has been marked as a duplicate of this bug. ***
Comment 5 Sam Reed (reedy) 2012-10-22 16:14:59 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > https://gerrit.wikimedia.org/r/gitweb?p=operations/mediawiki-config.git;a=commitdiff;h=0
> 
> Link is broken.

bug 40344
Comment 6 Jesús Martínez Novo (Ciencia Al Poder) 2012-11-06 20:54:47 UTC
It's broken again :( reopening as per complains on mw.org support desk
Comment 7 Andre Klapper 2012-11-06 23:48:09 UTC
*** Bug 41824 has been marked as a duplicate of this bug. ***
Comment 8 Andre Klapper 2012-11-06 23:53:37 UTC
Chad: Could you take a look at this?
Comment 9 Chad H. 2012-11-07 21:56:54 UTC
Started digging into this last night, but couldn't find the root of the problem.

We are at least connecting to the socket fine in updateAndGetRevisionRemote() (otherwise we'd hit 'extdist-no-remote'), but for some reason we're not getting a response from it. $response && $encResponse are both empty strings, which is odd (and what's causing 'extdist-remote-invalid-response').

I didn't get much further than that last night to figure out why we were getting an empty response--I don't know if it was svn-invoker on the remote client end, or what.
Comment 10 Tim Starling 2012-11-08 02:10:02 UTC
(In reply to comment #9)
> I didn't get much further than that last night to figure out why we were
> getting an empty response--I don't know if it was svn-invoker on the remote
> client end, or what.

Well, fenari:/var/log/svn-invoker.log shows failures, which probably means xinetd is getting a non-zero exit status from svn-invoker.php. Maybe it is a PHP fatal error or something.
Comment 11 bugzilla.mediawiki 2012-11-08 11:24:55 UTC
in the meantime any alternative way of getting data for the extensions for the 1.19 release ? git only shows me master branch, no other remote branch, svn seems not be used any longer as you guys moved to git

eg CharInsert - http://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_extension=CharInsert&extdist_version=branches%2FREL1_19&extdist_submit=Continue

Thanks
Comment 12 Tim Starling 2012-11-09 00:43:35 UTC
(In reply to comment #11)
> in the meantime any alternative way of getting data for the extensions for the
> 1.19 release ? git only shows me master branch, no other remote branch, svn
> seems not be used any longer as you guys moved to git

ExtensionDistributor uses Subversion. So if you want to get the same version that it uses, you should just use Subversion:

svn export http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_19/extensions/<EXTENSION NAME>

In Git, there are no extension branches for core releases.
Comment 13 Tim Starling 2012-11-09 00:50:47 UTC
Fixed. A git process was stuck in a deadlock (parent and child process both reading from each other). I killed it.
Comment 14 Tim Starling 2012-11-09 00:57:09 UTC
Note that the extension is still broken in other ways for the "trunk" version, but 1.19 downloads appear to work.
Comment 15 Jesús Martínez Novo (Ciencia Al Poder) 2012-11-30 16:31:03 UTC
"Invalid response from Extension Distributor remote client."

http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Cite

Reopening again.
Comment 16 Daniel Renfro 2012-11-30 17:03:19 UTC
Shameless plug:

It seems like there's a larger problem here - managing extensions. This topic has come up time & again at meetings, IRC, the mailing list(s), etc. I've started an RFC page at http://www.mediawiki.org/wiki/Requests_for_comment/Extension_manager if anyone would like to comment/contribute/lament.
Comment 17 Jesús Martínez Novo (Ciencia Al Poder) 2012-12-05 22:04:24 UTC
There are now several reports in Project:Support_desk about this, and it's going to be a week since the report on this bug without a solution, despite being marked as High/Critical.

If it's a simple thing as described in comment 13 by Tim Starling it should be fast to fix.
Comment 18 Andre Klapper 2012-12-10 08:26:54 UTC
Tim / Chad: Could one of you look at this? 
Or any idea who could look at this?
Comment 19 Chad H. 2012-12-10 14:55:57 UTC
Tim's on vacation. I looked at it, and tried to do what Tim had done before (kill the hung Git processes), but it didn't work. I really don't know what else to do.

I started rewriting ExtensionDistributor entirely instead.
Comment 20 Faidon Liambotis 2012-12-10 17:42:26 UTC
That's great. I'd prefer it if the new version was completely decoupled from upload.wm.org, as it messes with the way we're setting up upload right now (NFS dependency) and it's kind of out of scope for upload (it's not user-uploaded content).
Comment 21 Ariel T. Glenn 2012-12-10 17:53:25 UTC
in wmf-config there seems to be an issue with settings... 

./extdist/svn-invoker.conf:$wgExtDistWorkingCopy = '/mnt/upload7/private/ExtensionDistributor/mw-snapshot';

but

./CommonSettings.php:	$wgExtDistWorkingCopy = '/mnt/upload6/private/ExtensionDistributor/mw-snapshot';
Comment 22 Chad H. 2012-12-10 18:01:44 UTC
(In reply to comment #21)
> in wmf-config there seems to be an issue with settings... 
> 
> ./extdist/svn-invoker.conf:$wgExtDistWorkingCopy =
> '/mnt/upload7/private/ExtensionDistributor/mw-snapshot';
> 
> but
> 
> ./CommonSettings.php:    $wgExtDistWorkingCopy =
> '/mnt/upload6/private/ExtensionDistributor/mw-snapshot';

This was it. Should both be upload6. Fixed this, and ExtDist is now working.

(In reply to comment #20)
> That's great. I'd prefer it if the new version was completely decoupled from
> upload.wm.org, as it messes with the way we're setting up upload right now
> (NFS
> dependency) and it's kind of out of scope for upload (it's not user-uploaded
> content).

Yeah, we definitely want to rewrite this extension and get it off upload.wm.o. I started an RFC. https://www.mediawiki.org/wiki/Requests_for_comment/Replacing_extension_distributor
Comment 23 Andre Klapper 2012-12-11 11:43:22 UTC
Chad: Big thanks!
Comment 24 Rob Lanphier 2012-12-28 23:20:28 UTC
This issue is fixed.  We'll use bug 37946 to track the new version of ExtensionDistributor.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links