[solved] Gallery Java slideshow HTTP 403 Forbidden error in Linux

hedzup

Joined: 2006-11-07
Posts: 4
Posted: Tue, 2006-11-07 14:07

[moved to Gallery Remote]

Hi All,

I am having trouble getting the java slideshow working under linux (seems to work using Firefox under Windows XP). Any thoughts or insights are welcome

Cheers

Adrian

Gallery URL (optional but very useful): http://home.people.net.au/~blockley/gallery
Gallery version:1.4.4-pl6
Apache version: Not known
PHP version (don't just say PHP 4, please): PHP Version 4.1.2
Graphics Toolkit: ImageMagick
Operating system: Linux (Gentoo) kernel 2.6.17
Web browser/version : Firefox

Java Console log:...

3380|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: HTTP POST failed (HTTP 403 Forbidden )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1320)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:380)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:279)
at com.gallery.GalleryRemote.GalleryComm2.doTask(GalleryComm2.java:233)
at com.gallery.GalleryRemote.GalleryComm2.login(GalleryComm2.java:222)
at com.gallery.GalleryRemote.GalleryComm.hasCapability(GalleryComm.java:149)
at com.gallery.GalleryRemote.model.Album.fetchAlbumImages(Album.java:126)
at com.gallery.GalleryRemote.GRAppletSlideshow.startup(GRAppletSlideshow.java:46)
at com.gallery.GalleryRemote.GalleryRemote.runGR(GalleryRemote.java:129)
at com.gallery.GalleryRemote.GRApplet$1.run(GRApplet.java:40)

3380|INFO |GalComm2 |Error: HTTP POST failed (HTTP 403 Forbidden )
51979|TRACE|GalComm2 |Failed to log in to http://home.people.net.au/~blockley/gall...

 
Yuan

Joined: 2003-12-03
Posts: 144
Posted: Fri, 2006-11-10 06:57

Must be a browser problem. I am able to use Java plugin to view your slide show on both Linux (2.4.18-19.7.x, gcc-32, Netscape 7.1, JRE 2.4.2_13) and Windows. Try another Gallery and see if you have same problem. (e.g., http://solid77.doodle22.com/slideshow.php?mode=applet&set_albumName=nature&newlang=en_US)

 
hedzup

Joined: 2006-11-07
Posts: 4
Posted: Fri, 2006-11-10 11:02
Quote:
Must be a browser problem. I am able to use Java plugin to view your slide show on both Linux (2.4.18-19.7.x, gcc-32, Netscape 7.1, JRE 2.4.2_13) and Windows. Try another Gallery and see if you have same problem. (e.g.,

I think your right although I'm not having much luck working out where the problem lies.

Cheers

 
Yuan

Joined: 2003-12-03
Posts: 144
Posted: Fri, 2006-11-10 19:46

Have you tried to install a new Java plugin? I know that Mozilla-based Netscape needs "manual registration" for Java plugin to work; there's also a point of gcc version.

 
hedzup

Joined: 2006-11-07
Posts: 4
Posted: Fri, 2006-11-10 23:49
Quote:
Have you tried to install a new Java plugin? I know that Mozilla-based Netscape needs "manual registration" for Java plugin to work; there's also a point of gcc version.

The mystery deepens. I have used firefox, epiphany and mozilla browsers and they all give the same error. I have recently upgraded java plugin and the error is the same. Konquror works however.

 
Yuan

Joined: 2003-12-03
Posts: 144
Posted: Sat, 2006-11-11 07:06

Mystic, and intriguing:-) Two thoughts. First, your Konqueror may be using a different plugin. Konqueror is the only one giving me trouble, and I don't know how to configure plug-in. But you can certainly find out. Second, try other browsers on well known sites with applet, and ask the Linux community.

 
hedzup

Joined: 2006-11-07
Posts: 4
Posted: Sat, 2006-11-11 13:57

:-) Ok, I've found the problem. It seems (for reasons that I do not understand) that when using the java plugin with mozilla, or one of its derivatives, the java plugin was using a very old proxy setting and not the proxy settings that were set in the current browser.

I was able to use the java ControlPanel utility to configure java and plugins to connect direct to the internet and disregard browser proxy settings until I can track down why Java was insisting on using a proxy setting that I have not used in any browser for the past 3 years...

Cheers

Adrian