Java proxy connection random failure -


im building 1 application requests 1 http connection, have 2 different situations, 1 while im programming @ home , while im @ work. in work have 1 proxy server , @ home not. @ home request ok, in job receive random failures.

in console, stack trace points:

 http error fetching url. status=503, url=http://www.google.com/sorry/?continue=http://google.com/search%3fq%3dmake%2bsearch 

which means:

503 service unavailable. server unavailable (because overloaded or down maintenance). generally, temporary state. 

so, stack traces points error google server, not available, since dont receive error @ home im sure error proxy server. copying link of error browser see google blocking request since sort of automatic request. anyway, im using:

system.setproperty("http.proxyhost", ""); system.setproperty("http.proxyport", ""); 

to handle proxy connection, though not working correct, connection works, not returning error there. there possibly solve situation such refresh ip?


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -