"Get More Plugins" error - possibly a proxy problem

jmk

Joined: 2007-04-02
Posts: 3
Posted: Tue, 2007-04-03 08:05

hey all,

my gallery 2.2.1 install works as far as i can see flawlessly. the only problem i have is that i cannot use "get more plug-ins". every time i try to download the plugin list, it starts scanning my existing plug-ins, then i get "continue..." but after that it returns and says

Quote:
Error downloading index from 'http://gallery.menalto.com/repository/released/index'.
Please make sure that your internet connection is set up properly or try again later.

now, the thing is, i have this server running to experiment with gallery, so it is behind my proxy. but i cannot for the life of me figure out, where i can tell gallery/apache or which ever program actually tries to download the index my proxy settings. wget and apt are working flawlessly.

thanks in advance,
jmk


Gallery version = 2.2.1 core 1.2.0.1
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.0.55 (Ubuntu) PHP/5.1.6
Database = mysql 5.0.24a-Debian_9ubuntu0.1-log, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Ffmpeg, LinkItemToolkit, Jpegtran, NetPBM, SquareThumb, Thumbnail, Gd, ImageMagick
Acceleration = full/21600, none/0
Operating system = Linux lap220 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Rows in GalleryAccessMap table = 33
Rows in GalleryAccessSubscriberMap table = 3868
Rows in GalleryUser table = 2
Rows in GalleryItem table = 3865
Rows in GalleryAlbumItem table = 232
Rows in GalleryCacheMap table = 1

 
jmk

Joined: 2007-04-02
Posts: 3
Posted: Tue, 2007-04-03 12:11

i just tried it without the proxy (which is definitly not a permanent solution), and that worked. so it seems that it is a problem somewhere, that the "export http_proxy" environment variable is not properly evaluated by gallery.

can anybody confirm this?!

tia,
jmk

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-04-03 15:23

gallery has no proxy settings. it just opens a tcp/http socket connection to the target host.
no idea if one can set proxy settings in the php config, if not, one would have to add proxy settings to gallery.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jmk

Joined: 2007-04-02
Posts: 3
Posted: Wed, 2007-04-04 07:16

aha. thanks very much for your reply. it would be really great if there was a way to implement proxy settings in gallery somewhere, since more and more plugins and themes are coming through "get more plugins". i would be more then willing to help (you) test this...

 
rwillett

Joined: 2007-04-13
Posts: 1
Posted: Fri, 2007-04-13 19:39

I had this problem and it was caused by my DNS settings on a firewall on an Orange Zone. It's long and complicated but was easily solved by adding in

Quote:
209.237.226.156 gallery.menalto.com

to /etc/hosts

 
superbuis

Joined: 2007-01-23
Posts: 2
Posted: Sun, 2007-06-10 16:47

Hello,

I receive the same message when I try to update my plugin list.

First I tried to download and install a new module (Image Block). I then received the message

Quote:
Updating Packages
Update completed with errors.
failed to download the Image Block plugin because the following files/directories could not be modified: modules/imageblock-1.1.0-16041.descriptor (unable to download)

So then I tried to update my repository list instead. But this resulted in the message like JMK had as well.

Last week I updated my Gallery by installing URL rewrite. I suspect this can be the source of my current problem, but I have no clue how to solve it. See the output of the test of URL rewrite:

Test the Rewrite Parser Configuration
Apache mod_rewrite

Testing if mod_rewrite is supported by the server.

Success
Gallery .htaccess file

Testing if Gallery can write to the .htaccess file.

Success

Allowoveride All is also configured for my webserver document root. Is there anything I forgot to enable/disable on my Apache server? Or do I have to configure something in my gallery? I'm lost :)

 
superbuis

Joined: 2007-01-23
Posts: 2
Posted: Mon, 2007-06-11 16:00

Hmm, never mind. It had something to do with my ip number. Yesterday the ip number of my local test server changed, so I changed is back to the original one via the LAN properties. The gallery worked again, but appearently my router did not like it. But today rebooted the server and it seems to be working fine again...

 
reus
reus's picture

Joined: 2006-05-04
Posts: 6
Posted: Tue, 2008-10-07 05:22

rwillett:

Thanks, your solution repair this problem. Now i can update and download the plugins.

www.raulurzua.com

 
holeepassion

Joined: 2008-12-03
Posts: 9
Posted: Mon, 2009-01-12 03:17
rwillett wrote:
I had this problem and it was caused by my DNS settings on a firewall on an Orange Zone. It's long and complicated but was easily solved by adding in

Quote:
209.237.226.156 gallery.menalto.com

to /etc/hosts

where is the directory located ?? where do we add it ????

thanks

 
Sean Baden

Joined: 2009-01-12
Posts: 14
Posted: Mon, 2009-01-12 08:53

Yep. I was going to say the same thing.

Danke für die Idee, UTF8 durch reduzierte Zeichensätze zu ersetzen -- aber da Ubuntu nichts anderes als UTF-8 unterstützt, begäbe ich mich auf dünnes Eis, würde ich da jetzt herumzuwürgen beginnen. Immerhin hängen auf dem Server ein paar Websites und ich möchte nicht auf einen Rechen treten… Wobei ich mir nicht wirklich vorstellen kann, dass irgendein Programm heute nicht UTF-8 unterstützt -- und wie XCOM meint, ist de_DE.utf8 schon nicht so verkehrt.
Sean Baden Germany

 
holeepassion

Joined: 2008-12-03
Posts: 9
Posted: Mon, 2009-01-12 22:26

Anybody knows other way to get extra plug ins ????

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-01-13 03:45
holeepassion wrote:
Anybody knows other way to get extra plug ins ????

here:
http://codex.gallery2.org/Gallery2:Download#Modules

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
holeepassion

Joined: 2008-12-03
Posts: 9
Posted: Thu, 2009-01-15 03:54

thanks for that floridave