HTTP transport error: java.net.UnknownHostException:

R

Roedy Green

Even since I switched over to Java 1.8.0 I have been getting a lot of
HTTP transport error: java.net.UnknownHostException:
The odd thing is I can probe the site fine for other pages, then
after this error it is able to probe again without error.

It literally sounds like the site disappears for a short time.
Any hints on the problem?
--
Roedy Green Canadian Mind Products http://mindprod.com
"A great lathe operator commands several times the wage of an average lathe
operator, but a great writer of software code is worth 10,000 times the
price of an average software writer."
~ Bill Gates
 
J

Jeff Higgins

Even since I switched over to Java 1.8.0 I have been getting a lot of
HTTP transport error: java.net.UnknownHostException:
The odd thing is I can probe the site fine for other pages, then
after this error it is able to probe again without error.

It literally sounds like the site disappears for a short time.
Any hints on the problem?
Be prepared with a more specific description.
<http://www.mail-archive.com/[email protected]/info.html>

?-Djava.net.preferIPv4Stack=true?
 
R

Roedy Green

Be prepared with a more specific description.
<http://www.mail-archive.com/[email protected]/info.html>

Various programs that were working fine under 1.7 are now getting
large numbers of sporadic UnknownHostExceptions under 1.8.

All I am doing is a GET to a series of pages from some online store to
check availability.
--
Roedy Green Canadian Mind Products http://mindprod.com
"A great lathe operator commands several times the wage of an average lathe
operator, but a great writer of software code is worth 10,000 times the
price of an average software writer."
~ Bill Gates
 
R

Roedy Green

?-Djava.net.preferIPv4Stack=true?

I tried that. It is half way through and no exceptions. Thanks.
--
Roedy Green Canadian Mind Products http://mindprod.com
"A great lathe operator commands several times the wage of an average lathe
operator, but a great writer of software code is worth 10,000 times the
price of an average software writer."
~ Bill Gates
 
J

Jeff Higgins

I tried that. It is half way through and no exceptions. Thanks.
Always good when magic incantations work.
Avoids a lot of worrisome having to understand.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top