This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes getting http 408/409 and 503 in REST API call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "getting http 408/409 and 503 in REST API call" Watch "getting http 408/409 and 503 in REST API call" New topic
Author

getting http 408/409 and 503 in REST API call

hemamalini nithyanandam
Ranch Hand

Joined: Oct 24, 2011
Posts: 50

I am trying to make REST API call to external server from an internal application. I am using HTTP Url connection . I have used system.setproperty( http.proxyhost) to connect . When i run in my local pc i am able to read the response from the external server. But when i tested the application in test environments i am getting HTTP 503 proxy error and http 408/409 server busy. but when i refresh the browser i am able to see that responses are loaded . what might be the issue? how to use proxy in rest api call


have a nice day - hema
 
GeeCON Prague 2014
 
subject: getting http 408/409 and 503 in REST API call