Announcement

#1 2010-11-09 15:42:02

berthierp
Member
2010-11-09
1

Connection to server impossible.

I am using piwigo 2.1.5.  When going to Administration->Plugins->Manage->Check for updates I get an error mesage "Connection to server impossible.".  Same when I go to "Other plugins available".

Could someone suggest a way to debug this?  What server is piwigo trying to contact?

Offline

 

#2 2010-11-11 17:55:29

vizion
Member
2010-11-09
4

Re: Connection to server impossible.

What are the read/wrote permissions on the plugins directory?

Offline

 

#3 2010-11-11 18:00:52

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13175

Re: Connection to server impossible.

berthierp wrote:

What server is piwigo trying to contact?

Piwigo tries to contact piwigo.org.

Go to the Administration homepage screen and click on Check for upgrade screen. What happens?


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#4 2011-06-06 08:08:06

sebhoff
Member
2011-06-06
4

Re: Connection to server impossible.

I'm having the same problem - did you ever solve it?
If I click on "Check for upgrade", I get the error message "Unable to check for upgrade.". So obviously, there's something wrong with outgoing connections. Everything else appears to be working as it should. Any suggestions?
sebhoff

Offline

 

#5 2011-06-06 20:22:24

sebhoff
Member
2011-06-06
4

Re: Connection to server impossible.

OK - I think I found the culprit: I need to use a proxy server for outgoing http-connections. I haven't found how to do this when I had a quick look - any pointers?
Sebastian

Offline

 

#6 2011-07-20 11:11:32

Pierre Berthier
Guest

Re: Connection to server impossible.

I have found a solution to my original problem.  I am now running piwigo 2.2.4 under OpenBSD 4.7.  In order to get the checking of plugins/update working, I had to do the following:

1) install the php5-curl package:
pkg_add php5-curl     
ln -fs /var/www/conf/php5.sample/curl.ini \
        /var/www/conf/php5/curl.ini

2) turn allow_url_fopen to On in /var/www/conf/php.ini

3) because the chrooted apache needs name resolution, I have copied the resolv.conf file into its jail:
mkdir -p /var/www/etc
cp /etc/resolv.conf /var/www/etc/ 
chown -R root:daemon /var/www/etc/   

4) restart apache
apachectl stop
apachectl startssl

 

#7 2011-07-20 15:21:14

flop25
Piwigo Team
2006-07-06
6849

Re: Connection to server impossible.

thx for the tip


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2014-01-20 00:43:13

Jukka
Guest

Re: Connection to server impossible.

I moved my 2.5 gallery from a webhosting provider to my own VPS. I'm new to configuring servers so pretty much everything may have gone wrong ;)

After the transfer I haven't been able to access the "Check for upgrade" or the "Other plugins available" pages without getting this same error message.

I've also tried to set the permissions for the plugins folder to 777 for files and folders recursively.

I did what Pierre suggested but that didn't fix it for me. Using Debian 7, PHP 5.4.24-1, mysql  Ver 14.14, Apache/2.2.22

Any clues what I could try next?

 

#9 2014-01-20 00:46:42

jhellen
Member
Helsinki, Finland
2012-02-23
1

Re: Connection to server impossible.

Didn't notice I wasn't logged in when I posted this :/ I guess I could get some sleep now.

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact