[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-devel
Subject:    Re: [Gallery-devel] [BUG] gallery fullscreen applet always uses proxy
From:       Friedrich Lobenstock <fl () fl ! priv ! at>
Date:       2004-08-24 9:09:49
Message-ID: 412B05DD.8010300 () fl ! priv ! at
[Download RAW message or body]

Chris Kelly wrote on 21.08.2004 05:36 MET:

> Friedrich Lobenstock wrote:
> 
> > Hi!
> > 
> > I just discovered that the gallery fullscreen applet of gallery 1.4.4 
> > does
> > always use the proxy set in my Mozilla 1.7.2 despite I have currently set
> > Mozilla to not use the proxy as I am currently at another place where 
> > I am not
> > allowed to us this proxy.
> > 
> > Here from the log from the Java Console:
> > 
> > 2676|TRACE|GalComm   |Plugin Proxy Config List
> > Property:HTTP=PROXY.XXXXXXXXXXXXX.AT:3128,HTTPS=PROXY.XXXXXXXXXXXXX.AT:3128,FTP=PROXY.XXXXXXXXXXXXX.AT:3128,GOPHER=PROXY.XXXXXXXXXXXXX.AT:3128 \
> >  
> > 2676|TRACE|GalComm   |proxy PROXY.XXXXXXXXXXXXX.AT port 3128
> > 2676|TRACE|GalComm   |Setting proxy to PROXY.XXXXXXXXXXXXX.AT:3128
> > 2697|TRACE|GalComm   |Trying protocol 2 for http://gallery.fl.priv.at/
> > 2712|TRACE|GalComm   |Sending cookie:
> > PHPSESSID=2633d069d7ea94ab3a7c3a7fde6fcb76; path=/; 
> > domain=gallery.fl.priv.at
> > 2865|TRACE|GalComm   |tryComm /gallery_remote2.php: 403
> > 2865|TRACE|GalComm   |Trying protocol 2.5 for 
> > http://gallery.fl.priv.at/
> > 2865|TRACE|GalComm   |Sending cookie:
> > PHPSESSID=2633d069d7ea94ab3a7c3a7fde6fcb76; path=/; 
> > domain=gallery.fl.priv.at
> > 2930|TRACE|GalComm   |tryComm /modules/remote/module.inc: 403
> > 2931|TRACE|GalComm   |Trying protocol 1 for http://gallery.fl.priv.at/
> > 2931|TRACE|GalComm   |Sending cookie:
> > PHPSESSID=2633d069d7ea94ab3a7c3a7fde6fcb76; path=/; 
> > domain=gallery.fl.priv.at
> > 2996|TRACE|GalComm   |tryComm /gallery_remote.php: 403
> > 2996|ERROR|Gallery   |No protocol implementation found
> > java.lang.NullPointerException
> > 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)
> > 
> > 
> > Next try, I remove the content of the HTTP proxy field, set Mozilla to 
> > not use
> > the proxies again, restart Mozilla and now this (take not of the 
> > missing HTTP=
> > field in the proxy properties):
> > 
> > 31308|TRACE|GRApplet  |Adding cookie:
> > PHPSESSID=c4ff1936a6b5240b220666b3c7a9d02c; path=/; 
> > domain=gallery.fl.priv.at
> > 31308|TRACE|GalComm   |Plugin Proxy Config List
> > Property:,HTTPS=PROXY.XXXXXXXXXXXXX.AT:3128,FTP=PROXY.XXXXXXXXXXXXX.AT:3128,GOPHER=PROXY.XXXXXXXXXXXXX.AT:3128 \
> >  
> > 31308|TRACE|GalComm   |Exception during failover auto proxy detection
> > 31309|ERROR|GalComm   |java.lang.NumberFormatException: For input 
> > string:
> > "3128,FTP=PROXY.XXXXXXXXXXXXX.AT:3128,GOPHER=PROXY.XXXXXXXXXXXXX.AT:3128"
> > at java.lang.NumberFormatException.forInputString(Unknown Source)
> > at java.lang.Integer.parseInt(Unknown Source)
> > at java.lang.Integer.parseInt(Unknown Source)
> > at 
> > com.gallery.GalleryRemote.GalleryComm.getCommInstance(GalleryComm.java:188) 
> > 
> > at com.gallery.GalleryRemote.model.Gallery.getComm(Gallery.java:805)
> > 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)
> > 
> > 31309|TRACE|GalComm   |Setting proxy to 
> > ,HTTPS=PROXY.XXXXXXXXXXXXX.AT:80
> > 31309|TRACE|GalComm   |Trying protocol 2 for http://gallery.fl.priv.at/
> > 31309|TRACE|GalComm   |Sending cookie:
> > PHPSESSID=c4ff1936a6b5240b220666b3c7a9d02c; path=/; 
> > domain=gallery.fl.priv.at
> > 42774|TRACE|GalComm   |Trying protocol 2.5 for 
> > http://gallery.fl.priv.at/
> > 42774|TRACE|GalComm   |Sending cookie:
> > PHPSESSID=c4ff1936a6b5240b220666b3c7a9d02c; path=/; 
> > domain=gallery.fl.priv.at
> > 43362|TRACE|GalComm   |Trying protocol 1 for http://gallery.fl.priv.at/
> > 43362|TRACE|GalComm   |Sending cookie:
> > PHPSESSID=c4ff1936a6b5240b220666b3c7a9d02c; path=/; 
> > domain=gallery.fl.priv.at
> > 43805|ERROR|Gallery   |No protocol implementation found
> > java.lang.NullPointerException
> > 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)
> > 
> > Whatever this applet does it does it quite wrong as it blindly tries ALL
> > proxies, even if they are not the one for HTTPS!
> > 
> > So now my last guess let's try it with all proxy fields set to empty, 
> > set Mozilla to not use proxies and restart the it - HEUREKA it works.
> > 
> > The solution, the applet must respect the browser settings and if a 
> > proxy is set do only use the one that is specified for the protocol 
> > used (http, ...).
> 
> 
> 
> Can you please file a bug for us at 
> http://sourceforge.net/tracker/?func=add&group_id=7130&atid=107130 so 
> that we can track this issue and you get follow ups to it?

Here you go:
http://sourceforge.net/tracker/index.php?func=detail&aid=1015100&group_id=7130&atid=107130


-- 
MfG / Regards
Friedrich Lobenstock


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic