Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Status: HTTP/1.1 407 Proxy Authentication Req

Help
2005-06-14
2012-08-29
  • Trying to open this newsfeed:
    http://www.repubblica.it/rss/cronaca/rss2.0.xml

    I get this error message:
    RSSOwl is not able to display that Newsfeed.
    Reason: Unable to locate that file. (407)
    Status: HTTP/1.1 407 Proxy Authentication Required

    I get this error even while validating this newsfeed but if I try to "Open in browser" button I can get that XML file.

    Other feeds work correctly.
    Proxy server is fully configured.

    Any suggestion appreciated.

    Greetings,
    Gianni

     
    • Hm, I am having no problems displaying the feed here.
      Please run RSSOwl with "-Dnet.sourceforge.rssowl.debug" and find a "debug.log" file in RSSOwl's homedirectory. This is "C:/Documents and Settings/your.name/.rssowl/logs" on Windows and "~/.rssowl/logs" on Linux. Just start RSSOwl with that option, load the feed and exit RSSOwl to keep the log small.

      Ben

       
    • Excuse me for the delay in answering.
      I tried the "-D" option but log file size remains of 0 byte.
      I think the problem is the fact I need to set domain,
      username and password to get access to the
      internet through the proxy.

      Thanks in advance,
      Gianni

       
    • Are you running latest RSSOwl? Since some versions its possible to define a "Domain" for proxy access.

      Ben

       
    • Giovanni Galli
      Giovanni Galli
      2005-07-22

    • I also get this. I'm behind a M$ Webmartial firewall. I suspect that this firewall expects you to authenticate using M$ AD style authentication.

      I get the same response with and without a domain name filled in.

       
      • RSSOwl is supporting NTLM authentication. Please check if your firefwall is requiring something else. In total, RSSOwl is supporting BASIC, DIGEST and NTLM authentication.

        Ben

         
    • I just had a chat to the WebMartial admin. He confirms that it uses Active Directory Intergrated (Kerbros) authentication.

      Craig

       
      • Ok. As long as Kerberos is not using one of the supported authentication schemes (Basic, Digest or NTLM), I guess its not possible to use RSSOwl with it.

        Ben

         
      • Here's a TCPViewer trace of the interaction with WebMartial. tftcj1 is my AD id.


        Resolving Remote Host
        Remote Host resolved to 10.29.10.43
        Local Port (8080) opened
        Waiting for connections
        296: Client connected; 127.0.0.1:3681
        296: Connecting to Server
        296: Client to Server (263 bytes)
        GET http://www.ecommercetimes.com/perl/syndication/rssfull.pl HTTP/1.1
        Accept-Encoding: gzip, *
        User-Agent: RSSOwl/1.1.3 2005-07-17 (Windows; U; en)
        Proxy-Authorization: Basic dGZ0Y2oxOjE3JkhvbmRh
        Host: www.ecommercetimes.com
        Proxy-Connection: Keep-Alive

        296: Connected to Server
        296: Server to Client (1262 bytes)
        HTTP/1.1 407 Proxy Access Denied
        Server: WebMarshal Filter
        Proxy-Authenticate: Basic realm="WebMarshal Content Filter"
        Content-Type: text/html

        <html>
        <head bgColor=white>
        <meta http-equiv="Expires" content="0"><title>Unknown WebMarshal user</title>
        </head>
        <body>
        <p><b><font face="Arial,Helvetica" size="3">The requested page cannot be displayed</font></b></p>
        <table border="0" width="600" cellspacing="1" bgcolor="#3077C5" cellpadding="2">
        <tr>
        <td bgcolor="#3077C5"
        style="filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#FF163890, EndColorStr=#FF4C7FFF);">
        <font size="2" color="#FFFFFF" face="Verdana">Unknown WebMarshal user</font></td>
        </tr>
        <tr>
        <td bgcolor="#CADEE8">
        <table border="0" width="100%" cellspacing="0" bgcolor="#E6F2FF" cellpadding="8">
        <tr>
        <td bgcolor="#E6F2FF"><font face="Verdana,Arial,Helvetica" size="2">The user account 'tftcj1' was not found in the WebMarshal database.</p><p>Please contact you network administrator for more information</font></td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        <p></p>
        <p><font face="Verdana,Arial,Helvetica" size="1">WebMarshal Content Filter: JHBEDGISAP01 (Version: 3.5.3.30)</font></p>
        </body>
        </html>
        296: Server disconnected
        296: Disconnected from Client
        324: Client connected; 127.0.0.1:3683
        324: Connecting to Server
        324: Client to Server (263 bytes)
        GET http://www.ecommercetimes.com/perl/syndication/rssfull.pl HTTP/1.1
        Accept-Encoding: gzip, *
        User-Agent: RSSOwl/1.1.3 2005-07-17 (Windows; U; en)
        Proxy-Authorization: Basic dGZ0Y2oxOjE3JkhvbmRh
        Host: www.ecommercetimes.com
        Proxy-Connection: Keep-Alive

        324: Connected to Server
        324: Server to Client (1262 bytes)
        HTTP/1.1 407 Proxy Access Denied
        Server: WebMarshal Filter
        Proxy-Authenticate: Basic realm="WebMarshal Content Filter"
        Content-Type: text/html

        <html>
        <head bgColor=white>
        <meta http-equiv="Expires" content="0"><title>Unknown WebMarshal user</title>
        </head>
        <body>
        <p><b><font face="Arial,Helvetica" size="3">The requested page cannot be displayed</font></b></p>
        <table border="0" width="600" cellspacing="1" bgcolor="#3077C5" cellpadding="2">
        <tr>
        <td bgcolor="#3077C5"
        style="filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#FF163890, EndColorStr=#FF4C7FFF);">
        <font size="2" color="#FFFFFF" face="Verdana">Unknown WebMarshal user</font></td>
        </tr>
        <tr>
        <td bgcolor="#CADEE8">
        <table border="0" width="100%" cellspacing="0" bgcolor="#E6F2FF" cellpadding="8">
        <tr>
        <td bgcolor="#E6F2FF"><font face="Verdana,Arial,Helvetica" size="2">The user account 'tftcj1' was not found in the WebMarshal database.</p><p>Please contact you network administrator for more information</font></td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        <p></p>
        <p><font face="Verdana,Arial,Helvetica" size="1">WebMarshal Content Filter: JHBEDGISAP01 (Version: 3.5.3.30)</font></p>
        </body>
        </html>
        324: Server disconnected
        324: Disconnected from Client


         
    • Hm, it seems to use BASIC Authentication. By the way, the debug.log file I was mentioned, should never be 0 Byte in size. I think I gave you not the complete information on how to run RSSOwl in debug mode.

      You have to execute RSSOwl via command line, NOT using rssowl.exe, but:

      "java -Dnet.sourceforge.rssowl.debug -jar rssowl.jar"

      Hopefully this gives more, valueable information.

      Ben

       
    • You were right about starting application in debug mode: I believed they were .exe parameters. Now I have a log file but it is a 38KB in size so here is a subset of it hoping it is usefull.
      I am using RRSowl v. 1.1.3 and a 1.5 Java VM.

      Thanks in advance for your time,
      Gianni


      ...
      2005/07/21 10:06:44:533 GMT+01:00 [DEBUG] DefaultHttpParams - Set parameter http.authentication.preemptive = true
      2005/07/21 10:06:44:533 GMT+01:00 [TRACE] HttpState - enter HttpState.setProxyCredentials(AuthScope, Credentials)
      2005/07/21 10:06:44:533 GMT+01:00 [TRACE] HttpClient - enter HttpClient.executeMethod(HttpMethod)
      2005/07/21 10:06:44:533 GMT+01:00 [TRACE] HttpClient - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
      2005/07/21 10:06:44:543 GMT+01:00 [DEBUG] DefaultHttpParams - Set parameter http.socket.timeout = 30000
      2005/07/21 10:06:44:543 GMT+01:00 [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout = 30000
      2005/07/21 10:06:44:543 GMT+01:00 [TRACE] GetMethod - enter GetMethod(String)
      2005/07/21 10:06:44:543 GMT+01:00 [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = ignoreCookies
      2005/07/21 10:06:44:543 GMT+01:00 [DEBUG] DefaultHttpParams - Set parameter http.authentication.preemptive = true
      2005/07/21 10:06:44:543 GMT+01:00 [TRACE] HttpState - enter HttpState.setProxyCredentials(AuthScope, Credentials)
      2005/07/21 10:06:44:543 GMT+01:00 [TRACE] HttpClient - enter HttpClient.executeMethod(HttpMethod)
      2005/07/21 10:06:44:543 GMT+01:00 [TRACE] HttpClient - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
      2005/07/21 10:06:44:543 GMT+01:00 [DEBUG] HttpMethodDirector - Preemptively sending default basic credentials
      2005/07/21 10:06:44:553 GMT+01:00 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any realm>@xxx.yyy.it:8080
      2005/07/21 10:06:44:553 GMT+01:00 [TRACE] HttpState - enter HttpState.getProxyCredentials(AuthScope)
      2005/07/21 10:06:44:553 GMT+01:00 [TRACE] BasicScheme - enter BasicScheme.authenticate(Credentials, HttpMethod)
      2005/07/21 10:06:44:553 GMT+01:00 [DEBUG] HttpMethodParams - Credential charset not configured, using HTTP element charset
      2005/07/21 10:06:44:553 GMT+01:00 [TRACE] BasicScheme - enter BasicScheme.authenticate(UsernamePasswordCredentials, String)
      2005/07/21 10:06:44:553 GMT+01:00 [TRACE] HttpMethodBase - HttpMethodBase.addRequestHeader(Header)
      2005/07/21 10:06:44:553 GMT+01:00 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any realm>@www.repubblica.it:80
      2005/07/21 10:06:44:553 GMT+01:00 [TRACE] HttpState - enter HttpState.getCredentials(AuthScope)
      2005/07/21 10:06:44:553 GMT+01:00 [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@www.repubblica.it:80
      2005/07/21 10:06:44:553 GMT+01:00 [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
      2005/07/21 10:06:44:553 GMT+01:00 [TRACE] HttpMethodDirector - Attempt number 1 to process request
      2005/07/21 10:06:44:553 GMT+01:00 [TRACE] HttpConnection - enter HttpConnection.open()
      2005/07/21 10:06:44:553 GMT+01:00 [DEBUG] HttpConnection - Open connection to xxx.yyy.it:8080
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodDirector - Preemptively sending default basic credentials
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any realm>@xxx.yyy.it:8080
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpState - enter HttpState.getProxyCredentials(AuthScope)
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] BasicScheme - enter BasicScheme.authenticate(Credentials, HttpMethod)
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodParams - Credential charset not configured, using HTTP element charset
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] BasicScheme - enter BasicScheme.authenticate(UsernamePasswordCredentials, String)
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpMethodBase - HttpMethodBase.addRequestHeader(Header)
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any realm>@www.repubblica.it:80
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpState - enter HttpState.getCredentials(AuthScope)
      2005/07/21 10:06:44:563 GMT+01:00 [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@www.repubblica.it:80
      2005/07/21 10:06:44:563 GMT+01:00 [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpMethodDirector - Attempt number 1 to process request
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpConnection - enter HttpConnection.open()
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpConnection - Open connection to xxx.yyy.it:8080
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodDirector - Preemptively sending default basic credentials
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any realm>@xxx.yyy.it:8080
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpState - enter HttpState.getProxyCredentials(AuthScope)
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] BasicScheme - enter BasicScheme.authenticate(Credentials, HttpMethod)
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodParams - Credential charset not configured, using HTTP element charset
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] BasicScheme - enter BasicScheme.authenticate(UsernamePasswordCredentials, String)
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpMethodBase - HttpMethodBase.addRequestHeader(Header)
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpMethodDirector - Authenticating with BASIC <any realm>@www.rssowl.org:80
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpState - enter HttpState.getCredentials(AuthScope)
      2005/07/21 10:06:44:563 GMT+01:00 [WARN] HttpMethodDirector - Required credentials not available for BASIC <any realm>@www.rssowl.org:80
      2005/07/21 10:06:44:563 GMT+01:00 [WARN] HttpMethodDirector - Preemptive authentication requested but no default credentials available
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpMethodDirector - Attempt number 1 to process request
      2005/07/21 10:06:44:563 GMT+01:00 [TRACE] HttpConnection - enter HttpConnection.open()
      2005/07/21 10:06:44:563 GMT+01:00 [DEBUG] HttpConnection - Open connection to xxx.yyy.it:8080
      2005/07/21 10:06:44:593 GMT+01:00 [TRACE] HttpConnection - enter HttpConnection.closeSockedAndStreams()
      2005/07/21 10:06:44:593 GMT+01:00 [DEBUG] HttpMethodDirector - Closing the connection.
      2005/07/21 10:06:44:593 GMT+01:00 [TRACE] HttpConnection - enter HttpConnection.close()
      2005/07/21 10:06:44:593 GMT+01:00 [TRACE] HttpConnection - enter HttpConnection.closeSockedAndStreams()
      2005/07/21 10:06:44:593 GMT+01:00 [INFO] HttpMethodDirector - I/O exception caught when processing request: Connection refused: connect
      2005/07/21 10:06:44:593 GMT+01:00 [DEBUG] HttpMethodDirector - Connection refused: connect <java.net.ConnectException: Connection refused: connect>java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      ...

       
      • Hm, I can not tell what things are going wrong looking at the logfile.

        Please open a bug report on this issue providing a compressed overview on your situation including the logfile.

        I will later ping Apache HttpClient, the connection library RSSOwl is using, if they got more info on that.

        Thanks,
        ben