Indeed, setting header param 'Accept: application/xml' I receive proper 
response.

I'm able to wget the page with following command
  wget --header='Accept: application/xml' 
'http://extensions.xwiki.org/xwiki/rest/repository/search?start=0&number=20&q=Excel'

However XWiki does not see the repository (I get connection refused). Which I 
believe is related to wiki sitting behind corporate proxy.

How do I tell XWiki to use proxy for outbound connections?

(I previously have it set in the /etc/environment file and also exported from 
command line, which does not help anymore)

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Thomas Mortagne
Sent: Monday, July 16, 2012 13:29 PM
To: XWiki Users
Subject: Re: [xwiki-users] Something wrong with extension repository

All I can say is that I can search extensions when I'm in a fresh Extension 
Manager so the server definitely works well. To bypass the Restlet bug you need 
to put "application/xml" as Accept header and only this one (browser also put 
html mime type first).

On Mon, Jul 16, 2012 at 12:20 PM, Roman Muntyanu <[email protected]> 
wrote:
> We have tried it from different cities in Ukraine.
> All return internal server error.
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Thomas Mortagne
> Sent: Monday, July 16, 2012 10:37 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Something wrong with extension repository
>
> Seems to work well for me.
>
> On Sun, Jul 15, 2012 at 6:52 AM, coldserenity <[email protected]> 
> wrote:
>> Hello,
>>
>>   I'm trying to install extensions from XWiki repository and receive 
>> error on requesting this page
>>
>> http://extensions.xwiki.org/xwiki/rest/repository/search?start=0&numb
>> e
>> r=20&q=Excel
>
> Note that this error is "expected" and is caused by a Restlet bug with 
> browsers. We need to upgrade xwiki.org to a more recent version.
>
>>
>>   See the screen-shot:
>> http://xwiki.475771.n2.nabble.com/file/n7580356/Status_page_-_Mozilla
>> _
>> Firefox_2012-07-15_07-47-46.png
>>
>>   So it looks like the repository is down.
>>
>>   Regards,
>> Roman
>>
>> --
>> View this message in context:
>> http://xwiki.475771.n2.nabble.com/Something-wrong-with-extension-repo
>> s itory-tp7580356.html Sent from the XWiki- Users mailing list 
>> archive at Nabble.com.
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users



--
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to