HTTP POST failed (HTTP 500)

CraigL

Joined: 2006-02-08
Posts: 6
Posted: Sun, 2007-03-11 17:32

I get the above error when trying to connect with GR to a new g2 installation. Works fine with old installation on previous server.

When I try upload applet I get:- Gallery Remote can find no protocol implementation at the URL http://www.stormtest4.co.uk/gallery2/

Both plugins are installed and enabled.
I can upload files individually.

gallery 2.2-rc-1

System FreeBSD
Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d
mac osx
Safari

Part of the login text file

status_text=Login successful.
debug_user=admin
debug_time=0.045s
113495|INFO |GalComm2 |Logged in
113495|TRACE|GalComm2 |Server minor version: 8
113496|TRACE|StatusBar |level: 1 - Fetching albums from http://www.stormtest4.co.uk/gallery2/ - 0
113497|TRACE|GalComm2 |fetchAlbums parameters: [HTTPClient.NVPair[name=cmd,value=fetch-albums-prune], HTTPClient.NVPair[name=protocol_version,value=2.3]]
113497|TRACE|GalComm2 |Overriding form data: [HTTPClient.NVPair[name=g2_form[cmd],value=fetch-albums-prune], HTTPClient.NVPair[name=g2_form[protocol_version],value=2.3], HTTPClient.NVPair[name=g2_controller,value=remote.GalleryRemote], null]
113497|TRACE|GalComm2 |Connecting to: http://www.stormtest4.co.uk/gallery2/main.php
113497|TRACE|GalComm2 |Path: /gallery2/main.php
113499|TRACE|GalComm |Sending cookie: GALLERYSID=f55868d13612d446a2bdb55ec463b37f; expires=Thu Mar 29 21:35:06 BST 2007; path=/gallery2/; domain=.www.stormtest4.co.uk
113972|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: HTTP POST failed (HTTP 500 )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1393)
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1329)
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1321)
at com.gallery.GalleryRemote.GalleryComm2$AlbumListTask.list22(GalleryComm2.java:745)
at com.gallery.GalleryRemote.GalleryComm2$AlbumListTask.runTask(GalleryComm2.java:626)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:292)
at java.lang.Thread.run(Thread.java:613)

113972|INFO |GalComm2 |Error: HTTP POST failed (HTTP 500 )

 
Impathy

Joined: 2007-03-30
Posts: 1
Posted: Fri, 2007-03-30 23:58

I've been having the same problem since I upgraded to 2.2. I get the same error when trying to use the upload applet in the site and I get a HTTP POST error when I try to use Gallery Remote. Anyone have any information on this problem? Thanks in advance.

23469|INFO |GalComm2 |Logged in
23469|TRACE|GalComm2 |Server minor version: 8
23469|TRACE|StatusBar |level: 1 - Fetching albums from melandmatt - 0
23469|TRACE|GalComm2 |fetchAlbums parameters: [HTTPClient.NVPair[name=cmd,value=fetch-albums-prune], HTTPClient.NVPair[name=protocol_version,value=2.3]]
23469|TRACE|GalComm2 |Overriding form data: [HTTPClient.NVPair[name=g2_form[cmd],value=fetch-albums-prune], HTTPClient.NVPair[name=g2_form[protocol_version],value=2.3], HTTPClient.NVPair[name=g2_controller,value=remote.GalleryRemote]]
23469|TRACE|GalComm2 |Connecting to: http://melandmatt.net/gallery/main.php
23469|TRACE|GalComm2 |Path: /gallery/main.php
23469|TRACE|GalComm |Sending cookie: GALLERYSID=0dd597a2e4b27037bb13d96ca8f1246d; expires=Fri Apr 20 16:52:18 PDT 2007; path=/gallery/; domain=.melandmatt.net
23610|TRACE|Update |Local release date: Tue Sep 20 00:00:00 PDT 2005 new: Tue Dec 05 00:00:00 PST 2006
24813|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: HTTP POST failed (HTTP 500 )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1355)
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1299)
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1291)
at com.gallery.GalleryRemote.GalleryComm2$AlbumListTask.list22(GalleryComm2.java:745)
at com.gallery.GalleryRemote.GalleryComm2$AlbumListTask.runTask(GalleryComm2.java:626)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:294)
at java.lang.Thread.run(Unknown Source)

24813|INFO |GalComm2 |Error: HTTP POST failed (HTTP 500 )

 
CraigL

Joined: 2006-02-08
Posts: 6
Posted: Sat, 2007-03-31 06:46

I downgraded to latest stable copy and everything works now.

 
laurenz

Joined: 2007-01-21
Posts: 7
Posted: Tue, 2007-05-01 16:25

I got exactly the same error since I upgraded to 2.2.1.
What do you meant by "downgraded to latest stable version"?
Downgrading to a previous version of gallery itself? I'm quite happy that my gallery seems to have survived the upgrade without other major problems and - after all - 2.2.1 IS the latest (and recommended) stable version.
Does this mean that Gallery Remote is just not compatible with the new version of gallery?

Laurenz

 
CraigL

Joined: 2006-02-08
Posts: 6
Posted: Tue, 2007-05-01 19:16

At the time I posted the quote the stable version was 2.1.2, and works with GR no problem.

 
laurenz

Joined: 2007-01-21
Posts: 7
Posted: Fri, 2007-05-04 04:39

Craig,

good for you. As for myself, I used Gallery Remote successfully about 1 hour before the upgrade. After the upgrade, I consistently get the HTTP 500 error code.

I use the latest versions of both Gallery and Gallery Remote and made no changes to the setup except for the upgrade itself. Uploading images the"traditional" way is possible.

Laurenz

 
urflix

Joined: 2007-01-23
Posts: 18
Posted: Wed, 2007-06-27 14:36

I'm having the same problem. Someone please help.

Everything was working fine until I upgraded to the newest version. (Gallery)

I've been searching for hours about this issue and still no luck...

 
FANLESS

Joined: 2002-11-07
Posts: 1
Posted: Sat, 2007-06-30 06:45

I too am having this same problem on 3 different installs of Gallery 2.2.2
Gallery Remote was working fine while running 2.1, but started giving me the HTTP POST failed (HTTP 500) error when trying to login with Gallery Remote (1.5 and 1.5.1 b30 on both Mac OS X.4.10 and Win XP) after I used Dreamhost's one click upgrade. Everything else I looked at seems to be working fine. I just can't login via GR.

 
linpeilan

Joined: 2006-11-21
Posts: 8
Posted: Sun, 2007-07-01 15:14

I am also having a problem uploading to two separate installs: www.abbey.msmabbey.org/gallery2/ and www.cistercian-formation.org/photo/.
GR does not work. The upload applet does not work and the iPhoto to gallery plugin does not work. GR does not allow login.

 
urflix

Joined: 2007-01-23
Posts: 18
Posted: Thu, 2007-07-12 23:01

ANYONE?????

 
urflix

Joined: 2007-01-23
Posts: 18
Posted: Fri, 2007-07-13 01:53

>>>>>>HERE IS THE SOLUTION<<<<<<<<

After countless hours, days and yes months of trying to fix this issue, I came across something so obvious that I can't believe I overlooked. I owe it to myself and to everyone out there that is facing this problem. No need to keep trying to research this issue. Hope this can save a lot of you valuable time! Enjoy...

1. Download these zip files and unzipped them:

>>> "remote" (version 1.0.9) - http://prdownloads.sourceforge.net/gallery/g2-module-remote-1.0.9.zip

>>> "upload applet" (1.0.7) - http://prdownloads.sourceforge.net/gallery/g2-module-uploadapplet-1.0.7.zip

2. Open your FTP and go into your gallery folder.

3. Parent directory -> "Your gallery folder" -> modules -> scroll down and you'll see the "remote" and "uploadapplet" folders.

4. Replace these files with the updates you downloaded.

5. Log back into your Gallery -> Site Admin -> Plugins -> and the icons won't be locked anymore and you'll have the option to upgrade them!

6. Remote Gallery will now work!

ENJOY!

URFLiX