SID-00925: Finding extensions via configure fails - using proxy
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
v5.8.8 built for x86_64-linux-thread-multi |
| Category: |
CategoryDeployment |
Server OS: |
RHEL 2.6.18-194.8.1.el5 |
Last update: |
14 years ago |
I am attempting to install extensions via the configure script.
- I click the "Find More Extensions" link
- I am confronted with the configure login screen
- I enter my password and click "Configure"
- I am taken to taken to a page with the title "Find TWiki Extensions" and in red the text "Error accessing TWiki.org: Can't connect to twiki.org:80 (connect: Permission denied)
- I have checked the apache logs and TWiki logs, but I see no messages.
- I can ping and wget pages from twiki.org from the command line.
- The site is up and running.
- The directories are all owned by the webserver user.
--
JoshuaTharp - 2010-08-05
Discussion and Answer
Possibly a proxy issue? Do you access the internet via a proxy? On a TWiki page try this to test if you can access an external site from the TWiki server:
%INCLUDE{http://google.com}%
You need to have configure setting
{INCLUDE}{AllowURLs} set to
1.
--
PeterThoeny - 2010-08-05
That include failed with the same message.
Failed to include URL http://www.google.com
Can't connect to www.google.com:80 (connect: Permission denied)
If I enter the name of my proxy server in the
{Proxy}{Host} setting and the corresponding port in
{Proxy}{Port} using the configure tool, the error message changes to
Failed to include URL http://www.google.com
Protocol scheme 'my.proxy.server' is not supported
If I prefix the
{Proxy}{Host} with "http://" I get
Failed to include URL http://www.google.com
Can't connect to my.proxy.server:8000 (connect: Permission denied)
I'm pretty sure I have the proper proxy host information, but I will research that more to make sure.
--
JoshuaTharp - 2010-08-11
Does your proxy require a username and password? If so, this has just been added to the latest SVN trunk and 5.0 branch, to be released in TWiki-5.0.1.
--
PeterThoeny - 2010-09-13
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2010-11-08
Hello I am having the same problem with a
CentOS system. I tried the Include test and get the same error. We do not have a proxy server.
--
ChristopherMarzilli - 2011-03-15
I figured it out, had to disable selinux
--
ChristopherMarzilli - 2011-03-15
Glad you found a solution. Closing question.
--
PeterThoeny - 2011-03-15
Hello ! I have the exact same problem on a Red Hat Enterprise Server 6 using the latest TWiki version (5.1). Do you happen to know a solution ? Thanks !
--
VladBlajovan - 2011-09-29
I found the problem. Indeed it was about selinux (Security Enhanced Linux).
To temporary disable selinux, login as root and type the following command:
echo 0 >/selinux/enforce
That should let you run configure -> find extensions without any problems.
Cheers !
--
VladBlajovan - 2011-09-29
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.