You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Christophe Kualasoft <ch...@kualasoft.com> on 2005/05/21 03:35:12 UTC

Problems with a URL, can't connect (IE works for this URL)

Hi,

http client fails to connect to a URL, which IE has no problems with. Can
you find any reason for this? Here is the wire below.

The URL is:
http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/inourtime/rss.xml

Thanks / Christophe

2005/05/21 08:49:23:424 SGT [INFO] HttpMethodDirector - Retrying request

2005/05/21 08:49:23:424 SGT [DEBUG] HttpConnection - Open connection to
downloads.bbc.co.uk:80

2005/05/21 08:49:23:764 SGT [DEBUG] header - >> "HEAD
/rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"

2005/05/21 08:49:23:774 SGT [DEBUG] HttpMethodBase - Adding Host request
header

2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "cache-control:
no-cache[\r][\n]"

2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "User-Agent: jPodderv
0.9a[\r][\n]"

2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "Host:
downloads.bbc.co.uk[\r][\n]"

2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "[\r][\n]"

2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - Closing the
connection.

2005/05/21 08:49:24:125 SGT [INFO] HttpMethodDirector - I/O exception caught
when processing request: The server downloads.bbc.co.uk failed to respond

2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - The server
downloads.bbc.co.uk failed to respond
<org.apache.commons.httpclient.NoHttpResponseException: The server
downloads.bbc.co.uk failed to
respond>org.apache.commons.httpclient.NoHttpResponseException: The server
downloads.bbc.co.uk failed to respond

at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
ava:1828)

at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
a:1588)

at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999
)

at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
Director.java:382)

at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
ector.java:168)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:39
3)

at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

at
com.jpodder.ui.net.NetActionCommons.getHeadInfo(NetActionCommons.java:429)

at com.jpodder.ui.tasks.Tasks.collectFeedInfo(Tasks.java:216)

at
com.jpodder.ui.tasks.TasksControl$CollectFeedInfo.run(TasksControl.java:204)

at java.lang.Thread.run(Unknown Source)

2005/05/21 08:49:24:135 SGT [INFO] HttpMethodDirector - Retrying request

2005/05/21 08:49:24:135 SGT [DEBUG] HttpConnection - Open connection to
downloads.bbc.co.uk:80

2005/05/21 08:49:24:475 SGT [DEBUG] header - >> "HEAD
/rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"

2005/05/21 08:49:24:485 SGT [DEBUG] HttpMethodBase - Adding Host request
header

2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "cache-control:
no-cache[\r][\n]"

2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "User-Agent: jPodderv
0.9a[\r][\n]"

2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "Host:
downloads.bbc.co.uk[\r][\n]"

2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "[\r][\n]"

2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Closing the
connection.

2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Method retry
handler returned false. Automatic recovery will not be attempted

2005/05/21 08:49:24:836 SGT [DEBUG] HttpConnection - Releasing connection
back to connection manager.



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Problems with a URL, can't connect (IE works for this URL)

Posted by Oleg Kalnichevski <ol...@apache.org>.
Christophe,

I suspect that RealServer, whatever it is, simply does not implement
HTTP HEAD correctly, but there is no way of telling for sure

Oleg

On Sat, 2005-05-21 at 18:19 +0800, Christophe Kualasoft wrote: 
> Hi, Ah yes I was assuming that if a HEAD would fail, a GET would as well.
> In this case, this server is refusing a HEAD . Any reason for them do so? (I
> am aware
> you would just be guessing, but from you're experience it would be a good
> one I am sure:).
> 
> Thanks / Christophe
> 
> ----- Original Message ----- 
> From: "Oleg Kalnichevski" <ol...@apache.org>
> To: "HttpClient User Discussion" <ht...@jakarta.apache.org>
> Sent: Saturday, May 21, 2005 6:12 PM
> Subject: Re: Problems with a URL, can't connect (IE works for this URL)
> 
> 
> > Christophe,
> >
> > You are aware that you are executing HTTP HEAD whereas IE or any other
> > browser usually uses HTTP GET to access a URL?
> >
> > GetMethod of HttpClient produces perfectly reasonable result:
> >
> > [DEBUG] header - ->> "GET /rmhttp/downloadtrial/radio4/inourtime/rss.xml
> > HTTP/1.1[\r][\n]"
> > [DEBUG] header - ->> "User-Agent: Jakarta Commons-HttpClient/3.0-rc2
> > [\r][\n]"
> > [DEBUG] header - ->> "Host: downloads.bbc.co.uk[\r][\n]"
> > [DEBUG] header - ->> "[\r][\n]"
> > [DEBUG] header - -<< "HTTP/1.0 200 OK[\r][\n]"
> > [DEBUG] header - -<< "Date: Sat, 21 May 2005 11:09:12 GMT[\r][\n]"
> > [DEBUG] header - -<< "Server: RealServer[\r][\n]"
> > [DEBUG] header - -<< "Content-Type: text/xml[\r][\n]"
> > [DEBUG] header - -<< "Last-Modified: Thu, 19 May 2005 11:54:40 GMT
> > [\r][\n]"
> > [DEBUG] header - -<< "Content-Length: 1249[\r][\n]"
> > <?xml version="1.0"?>
> > <rss version="2.0">
> > <channel>
> > <title>In Our Time</title>
> >
> > <link>http://www.bbc.co.uk/radio4/history/inourtime/inourtime.shtml</link>
> > <description>In Our Time, BBC Radio 4. The big ideas which form the
> > intellectual agenda of our age are illuminated by some of the best
> > minds. Melvyn Bragg and three guests investigate the history of ideas
> > and debate their application in modern life.</description>
> > <language>en-gb</language>
> > <copyright>(C) BBC 2005</copyright>
> > <pubDate>Thu, 19 May 2005 11:54:31 +0100</pubDate>
> > <item>
> > <title>Beauty</title>
> > <description>Does beauty really have a moral quality? And is it
> > inherent in things, or in the mind of the observer? How much influence
> > have Plato's ideas had on the history of aesthetics and what has been
> > said to counter or develop them?</description>
> > <pubDate>Thu, 19 May 2005 09:00:00 +0100</pubDate>
> > <guid
> >
> isPermaLink="false">http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/i
> nourtime/inourtime_20050519-0900_40.mp3</guid>
> > <enclosure
> >
> url="http://www.bbc.co.uk/go/rss/-/http://downloads.bbc.co.uk/rmhttp/downloa
> dtrial/radio4/inourtime/inourtime_20050519-0900_40.mp3" length="12607552"
> type="audio/mpeg"/>
> > </item>
> > </channel>
> > </rss>
> >
> > Hope this helps
> >
> > Oleg
> >
> >
> > On Sat, 2005-05-21 at 09:35 +0800, Christophe Kualasoft wrote:
> > > Hi,
> > >
> > > http client fails to connect to a URL, which IE has no problems with.
> Can
> > > you find any reason for this? Here is the wire below.
> > >
> > > The URL is:
> > > http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/inourtime/rss.xml
> > >
> > > Thanks / Christophe
> > >
> > > 2005/05/21 08:49:23:424 SGT [INFO] HttpMethodDirector - Retrying request
> > >
> > > 2005/05/21 08:49:23:424 SGT [DEBUG] HttpConnection - Open connection to
> > > downloads.bbc.co.uk:80
> > >
> > > 2005/05/21 08:49:23:764 SGT [DEBUG] header - >> "HEAD
> > > /rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"
> > >
> > > 2005/05/21 08:49:23:774 SGT [DEBUG] HttpMethodBase - Adding Host request
> > > header
> > >
> > > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "cache-control:
> > > no-cache[\r][\n]"
> > >
> > > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "User-Agent: jPodderv
> > > 0.9a[\r][\n]"
> > >
> > > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "Host:
> > > downloads.bbc.co.uk[\r][\n]"
> > >
> > > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "[\r][\n]"
> > >
> > > 2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - Closing the
> > > connection.
> > >
> > > 2005/05/21 08:49:24:125 SGT [INFO] HttpMethodDirector - I/O exception
> caught
> > > when processing request: The server downloads.bbc.co.uk failed to
> respond
> > >
> > > 2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - The server
> > > downloads.bbc.co.uk failed to respond
> > > <org.apache.commons.httpclient.NoHttpResponseException: The server
> > > downloads.bbc.co.uk failed to
> > > respond>org.apache.commons.httpclient.NoHttpResponseException: The
> server
> > > downloads.bbc.co.uk failed to respond
> > >
> > > at
> > >
> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
> > > ava:1828)
> > >
> > > at
> > >
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
> > > a:1588)
> > >
> > > at
> > >
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999
> > > )
> > >
> > > at
> > >
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
> > > Director.java:382)
> > >
> > > at
> > >
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
> > > ector.java:168)
> > >
> > > at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:39
> > > 3)
> > >
> > > at
> > >
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
> > >
> > > at
> > >
> com.jpodder.ui.net.NetActionCommons.getHeadInfo(NetActionCommons.java:429)
> > >
> > > at com.jpodder.ui.tasks.Tasks.collectFeedInfo(Tasks.java:216)
> > >
> > > at
> > >
> com.jpodder.ui.tasks.TasksControl$CollectFeedInfo.run(TasksControl.java:204)
> > >
> > > at java.lang.Thread.run(Unknown Source)
> > >
> > > 2005/05/21 08:49:24:135 SGT [INFO] HttpMethodDirector - Retrying request
> > >
> > > 2005/05/21 08:49:24:135 SGT [DEBUG] HttpConnection - Open connection to
> > > downloads.bbc.co.uk:80
> > >
> > > 2005/05/21 08:49:24:475 SGT [DEBUG] header - >> "HEAD
> > > /rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"
> > >
> > > 2005/05/21 08:49:24:485 SGT [DEBUG] HttpMethodBase - Adding Host request
> > > header
> > >
> > > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "cache-control:
> > > no-cache[\r][\n]"
> > >
> > > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "User-Agent: jPodderv
> > > 0.9a[\r][\n]"
> > >
> > > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "Host:
> > > downloads.bbc.co.uk[\r][\n]"
> > >
> > > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "[\r][\n]"
> > >
> > > 2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Closing the
> > > connection.
> > >
> > > 2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Method retry
> > > handler returned false. Automatic recovery will not be attempted
> > >
> > > 2005/05/21 08:49:24:836 SGT [DEBUG] HttpConnection - Releasing
> connection
> > > back to connection manager.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Problems with a URL, can't connect (IE works for this URL)

Posted by Christophe Kualasoft <ch...@kualasoft.com>.
Hi, Ah yes I was assuming that if a HEAD would fail, a GET would as well.
In this case, this server is refusing a HEAD . Any reason for them do so? (I
am aware
you would just be guessing, but from you're experience it would be a good
one I am sure:).

Thanks / Christophe

----- Original Message ----- 
From: "Oleg Kalnichevski" <ol...@apache.org>
To: "HttpClient User Discussion" <ht...@jakarta.apache.org>
Sent: Saturday, May 21, 2005 6:12 PM
Subject: Re: Problems with a URL, can't connect (IE works for this URL)


> Christophe,
>
> You are aware that you are executing HTTP HEAD whereas IE or any other
> browser usually uses HTTP GET to access a URL?
>
> GetMethod of HttpClient produces perfectly reasonable result:
>
> [DEBUG] header - ->> "GET /rmhttp/downloadtrial/radio4/inourtime/rss.xml
> HTTP/1.1[\r][\n]"
> [DEBUG] header - ->> "User-Agent: Jakarta Commons-HttpClient/3.0-rc2
> [\r][\n]"
> [DEBUG] header - ->> "Host: downloads.bbc.co.uk[\r][\n]"
> [DEBUG] header - ->> "[\r][\n]"
> [DEBUG] header - -<< "HTTP/1.0 200 OK[\r][\n]"
> [DEBUG] header - -<< "Date: Sat, 21 May 2005 11:09:12 GMT[\r][\n]"
> [DEBUG] header - -<< "Server: RealServer[\r][\n]"
> [DEBUG] header - -<< "Content-Type: text/xml[\r][\n]"
> [DEBUG] header - -<< "Last-Modified: Thu, 19 May 2005 11:54:40 GMT
> [\r][\n]"
> [DEBUG] header - -<< "Content-Length: 1249[\r][\n]"
> <?xml version="1.0"?>
> <rss version="2.0">
> <channel>
> <title>In Our Time</title>
>
> <link>http://www.bbc.co.uk/radio4/history/inourtime/inourtime.shtml</link>
> <description>In Our Time, BBC Radio 4. The big ideas which form the
> intellectual agenda of our age are illuminated by some of the best
> minds. Melvyn Bragg and three guests investigate the history of ideas
> and debate their application in modern life.</description>
> <language>en-gb</language>
> <copyright>(C) BBC 2005</copyright>
> <pubDate>Thu, 19 May 2005 11:54:31 +0100</pubDate>
> <item>
> <title>Beauty</title>
> <description>Does beauty really have a moral quality? And is it
> inherent in things, or in the mind of the observer? How much influence
> have Plato's ideas had on the history of aesthetics and what has been
> said to counter or develop them?</description>
> <pubDate>Thu, 19 May 2005 09:00:00 +0100</pubDate>
> <guid
>
isPermaLink="false">http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/i
nourtime/inourtime_20050519-0900_40.mp3</guid>
> <enclosure
>
url="http://www.bbc.co.uk/go/rss/-/http://downloads.bbc.co.uk/rmhttp/downloa
dtrial/radio4/inourtime/inourtime_20050519-0900_40.mp3" length="12607552"
type="audio/mpeg"/>
> </item>
> </channel>
> </rss>
>
> Hope this helps
>
> Oleg
>
>
> On Sat, 2005-05-21 at 09:35 +0800, Christophe Kualasoft wrote:
> > Hi,
> >
> > http client fails to connect to a URL, which IE has no problems with.
Can
> > you find any reason for this? Here is the wire below.
> >
> > The URL is:
> > http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/inourtime/rss.xml
> >
> > Thanks / Christophe
> >
> > 2005/05/21 08:49:23:424 SGT [INFO] HttpMethodDirector - Retrying request
> >
> > 2005/05/21 08:49:23:424 SGT [DEBUG] HttpConnection - Open connection to
> > downloads.bbc.co.uk:80
> >
> > 2005/05/21 08:49:23:764 SGT [DEBUG] header - >> "HEAD
> > /rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"
> >
> > 2005/05/21 08:49:23:774 SGT [DEBUG] HttpMethodBase - Adding Host request
> > header
> >
> > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "cache-control:
> > no-cache[\r][\n]"
> >
> > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "User-Agent: jPodderv
> > 0.9a[\r][\n]"
> >
> > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "Host:
> > downloads.bbc.co.uk[\r][\n]"
> >
> > 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "[\r][\n]"
> >
> > 2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - Closing the
> > connection.
> >
> > 2005/05/21 08:49:24:125 SGT [INFO] HttpMethodDirector - I/O exception
caught
> > when processing request: The server downloads.bbc.co.uk failed to
respond
> >
> > 2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - The server
> > downloads.bbc.co.uk failed to respond
> > <org.apache.commons.httpclient.NoHttpResponseException: The server
> > downloads.bbc.co.uk failed to
> > respond>org.apache.commons.httpclient.NoHttpResponseException: The
server
> > downloads.bbc.co.uk failed to respond
> >
> > at
> >
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
> > ava:1828)
> >
> > at
> >
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
> > a:1588)
> >
> > at
> >
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999
> > )
> >
> > at
> >
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
> > Director.java:382)
> >
> > at
> >
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
> > ector.java:168)
> >
> > at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:39
> > 3)
> >
> > at
> >
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
> >
> > at
> >
com.jpodder.ui.net.NetActionCommons.getHeadInfo(NetActionCommons.java:429)
> >
> > at com.jpodder.ui.tasks.Tasks.collectFeedInfo(Tasks.java:216)
> >
> > at
> >
com.jpodder.ui.tasks.TasksControl$CollectFeedInfo.run(TasksControl.java:204)
> >
> > at java.lang.Thread.run(Unknown Source)
> >
> > 2005/05/21 08:49:24:135 SGT [INFO] HttpMethodDirector - Retrying request
> >
> > 2005/05/21 08:49:24:135 SGT [DEBUG] HttpConnection - Open connection to
> > downloads.bbc.co.uk:80
> >
> > 2005/05/21 08:49:24:475 SGT [DEBUG] header - >> "HEAD
> > /rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"
> >
> > 2005/05/21 08:49:24:485 SGT [DEBUG] HttpMethodBase - Adding Host request
> > header
> >
> > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "cache-control:
> > no-cache[\r][\n]"
> >
> > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "User-Agent: jPodderv
> > 0.9a[\r][\n]"
> >
> > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "Host:
> > downloads.bbc.co.uk[\r][\n]"
> >
> > 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "[\r][\n]"
> >
> > 2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Closing the
> > connection.
> >
> > 2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Method retry
> > handler returned false. Automatic recovery will not be attempted
> >
> > 2005/05/21 08:49:24:836 SGT [DEBUG] HttpConnection - Releasing
connection
> > back to connection manager.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: Problems with a URL, can't connect (IE works for this URL)

Posted by Oleg Kalnichevski <ol...@apache.org>.
Christophe,

You are aware that you are executing HTTP HEAD whereas IE or any other
browser usually uses HTTP GET to access a URL? 

GetMethod of HttpClient produces perfectly reasonable result:

[DEBUG] header - ->> "GET /rmhttp/downloadtrial/radio4/inourtime/rss.xml
HTTP/1.1[\r][\n]"
[DEBUG] header - ->> "User-Agent: Jakarta Commons-HttpClient/3.0-rc2
[\r][\n]"
[DEBUG] header - ->> "Host: downloads.bbc.co.uk[\r][\n]"
[DEBUG] header - ->> "[\r][\n]"
[DEBUG] header - -<< "HTTP/1.0 200 OK[\r][\n]"
[DEBUG] header - -<< "Date: Sat, 21 May 2005 11:09:12 GMT[\r][\n]"
[DEBUG] header - -<< "Server: RealServer[\r][\n]"
[DEBUG] header - -<< "Content-Type: text/xml[\r][\n]"
[DEBUG] header - -<< "Last-Modified: Thu, 19 May 2005 11:54:40 GMT
[\r][\n]"
[DEBUG] header - -<< "Content-Length: 1249[\r][\n]"
<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>In Our Time</title>

<link>http://www.bbc.co.uk/radio4/history/inourtime/inourtime.shtml</link>
		<description>In Our Time, BBC Radio 4. The big ideas which form the
intellectual agenda of our age are illuminated by some of the best
minds. Melvyn Bragg and three guests investigate the history of ideas
and debate their application in modern life.</description>
		<language>en-gb</language>
		<copyright>(C) BBC 2005</copyright>
		<pubDate>Thu, 19 May 2005 11:54:31 +0100</pubDate>
		<item>
			<title>Beauty</title>
			<description>Does beauty really have a moral quality? And is it
inherent in things, or in the mind of the observer? How much influence
have Plato's ideas had on the history of aesthetics and what has been
said to counter or develop them?</description>
			<pubDate>Thu, 19 May 2005 09:00:00 +0100</pubDate>
			<guid
isPermaLink="false">http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/inourtime/inourtime_20050519-0900_40.mp3</guid>
			<enclosure
url="http://www.bbc.co.uk/go/rss/-/http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/inourtime/inourtime_20050519-0900_40.mp3" length="12607552" type="audio/mpeg"/>
		</item>
	</channel>
</rss>

Hope this helps

Oleg


On Sat, 2005-05-21 at 09:35 +0800, Christophe Kualasoft wrote:
> Hi,
> 
> http client fails to connect to a URL, which IE has no problems with. Can
> you find any reason for this? Here is the wire below.
> 
> The URL is:
> http://downloads.bbc.co.uk/rmhttp/downloadtrial/radio4/inourtime/rss.xml
> 
> Thanks / Christophe
> 
> 2005/05/21 08:49:23:424 SGT [INFO] HttpMethodDirector - Retrying request
> 
> 2005/05/21 08:49:23:424 SGT [DEBUG] HttpConnection - Open connection to
> downloads.bbc.co.uk:80
> 
> 2005/05/21 08:49:23:764 SGT [DEBUG] header - >> "HEAD
> /rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"
> 
> 2005/05/21 08:49:23:774 SGT [DEBUG] HttpMethodBase - Adding Host request
> header
> 
> 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "cache-control:
> no-cache[\r][\n]"
> 
> 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "User-Agent: jPodderv
> 0.9a[\r][\n]"
> 
> 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "Host:
> downloads.bbc.co.uk[\r][\n]"
> 
> 2005/05/21 08:49:23:774 SGT [DEBUG] header - >> "[\r][\n]"
> 
> 2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - Closing the
> connection.
> 
> 2005/05/21 08:49:24:125 SGT [INFO] HttpMethodDirector - I/O exception caught
> when processing request: The server downloads.bbc.co.uk failed to respond
> 
> 2005/05/21 08:49:24:125 SGT [DEBUG] HttpMethodDirector - The server
> downloads.bbc.co.uk failed to respond
> <org.apache.commons.httpclient.NoHttpResponseException: The server
> downloads.bbc.co.uk failed to
> respond>org.apache.commons.httpclient.NoHttpResponseException: The server
> downloads.bbc.co.uk failed to respond
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.j
> ava:1828)
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
> a:1588)
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:999
> )
> 
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
> Director.java:382)
> 
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
> ector.java:168)
> 
> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:39
> 3)
> 
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
> 
> at
> com.jpodder.ui.net.NetActionCommons.getHeadInfo(NetActionCommons.java:429)
> 
> at com.jpodder.ui.tasks.Tasks.collectFeedInfo(Tasks.java:216)
> 
> at
> com.jpodder.ui.tasks.TasksControl$CollectFeedInfo.run(TasksControl.java:204)
> 
> at java.lang.Thread.run(Unknown Source)
> 
> 2005/05/21 08:49:24:135 SGT [INFO] HttpMethodDirector - Retrying request
> 
> 2005/05/21 08:49:24:135 SGT [DEBUG] HttpConnection - Open connection to
> downloads.bbc.co.uk:80
> 
> 2005/05/21 08:49:24:475 SGT [DEBUG] header - >> "HEAD
> /rmhttp/downloadtrial/radio4/inourtime/rss.xml HTTP/1.1[\r][\n]"
> 
> 2005/05/21 08:49:24:485 SGT [DEBUG] HttpMethodBase - Adding Host request
> header
> 
> 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "cache-control:
> no-cache[\r][\n]"
> 
> 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "User-Agent: jPodderv
> 0.9a[\r][\n]"
> 
> 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "Host:
> downloads.bbc.co.uk[\r][\n]"
> 
> 2005/05/21 08:49:24:485 SGT [DEBUG] header - >> "[\r][\n]"
> 
> 2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Closing the
> connection.
> 
> 2005/05/21 08:49:24:836 SGT [DEBUG] HttpMethodDirector - Method retry
> handler returned false. Automatic recovery will not be attempted
> 
> 2005/05/21 08:49:24:836 SGT [DEBUG] HttpConnection - Releasing connection
> back to connection manager.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org