#2 Proxy support not working.

closed-duplicate
nobody
None
5
2004-04-10
2003-04-25
David Ondzes
No

I started rssviewer like this....
H:\dev\java\rssview-bin>java -
Dhttp.authPass=mypassword -
Dhttp.authName=myusername
-Dhttp.proxyHost=myproxy -
Dhttp.proxyPort=1080 -jar rssview.jar

and got errors. I am sitting behind a corp. firewall.

Error while fetching channel: Tech Bargains
java.net.UnknownHostException:
www.techbargains.com
at java.net.PlainSocketImpl.connect
(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at sun.net.NetworkClient.doConnect
(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer
(HttpClient.java:386)
at sun.net.www.http.HttpClient.openServer
(HttpClient.java:602)
at sun.net.www.http.HttpClient.<init>
(HttpClient.java:303)
at sun.net.www.http.HttpClient.<init>
(HttpClient.java:264)
at sun.net.www.http.HttpClient.New
(HttpClient.java:336)
at sun.net.www.http.HttpClient.New
(HttpClient.java:317)
at sun.net.www.http.HttpClient.New
(HttpClient.java:312)
at
sun.net.www.protocol.http.HttpURLConnection.plai
nConnect(HttpURLConne
ction.java:481)
at
sun.net.www.protocol.http.HttpURLConnection.con
nect(HttpURLConnection
.java:472)
at
sun.net.www.protocol.http.HttpURLConnection.getI
nputStream(HttpURLCon
nection.java:574)
at java.net.URL.openStream(URL.java:960)
at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:209)
at
org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)

at de.cinek.rssview.RssParser.parse(Unknown
Source)
at de.cinek.rssview.RssChannel.fetchNews
(Unknown Source)
at de.cinek.rssview.RssFetchThread.run
(Unknown Source)

Discussion

  • Metterschling
    Metterschling
    2003-04-30

    Logged In: YES
    user_id=768534

    As far as I can see, rssview currently will always overwrite
    your command-line supplied parameter with the values
    specified in the settings file. This is set by using the
    "Proxy Setup" dialog. So if your proxy needs authentication,
    it will currently not work. BTW: I use a firewall that does
    not require authentication - that works.

    BTW: Are you sure that the http.authPass and http.authName
    Java system properties really exist? At least they are not
    documented - see
    http://java.sun.com/j2se/1.4.1/docs/guide/net/properties.html

     
  • Keith Page
    Keith Page
    2003-08-14

    Logged In: YES
    user_id=833282

    I entered my proxy in the settings as well and it does not
    appear to work.

     
  • Cinek
    Cinek
    2004-04-10

    • status: open --> closed
     
  • Cinek
    Cinek
    2004-04-10

    Logged In: YES
    user_id=107752

    This is an RFE and a dupe. Moved to an appropriate forum.

     
  • Cinek
    Cinek
    2004-04-10

    • labels: 409942 -->
    • milestone: 191318 -->
    • status: closed --> closed-duplicate