This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Server returned http response code:999 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Server returned http response code:999" Watch "Server returned http response code:999" New topic
Author

Server returned http response code:999

Sarah Gaikwad
Ranch Hand

Joined: Feb 26, 2004
Posts: 35
Hi,
I have multiple threads that use a set of httpurlconnections. I read the contents line by line. From each line , I pick a particular value based on a criteria and put this into a file. FOr example I open 5 httpurlconnections as threads and pick values from each urlconnection based on a criteria. These values are then written into a file on my system. The urlconnections I need to open are more than 1000. When my progaram executes at a point I get Server returned http response code:999.
I tried hard for what the error means. Is there someone who can guide me please,
Thanks a ton
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24081
    
  15

The highest-numbered response code defined in HTTP 1.1 is 505, so 999 is not a legal response code. What server is this? Maybe it's the "something's horribly broken" response unique to that server.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Server returned http response code:999
 
Similar Threads
HttpUrlConnection called by multiple threads
how to read content of a site?
criteriaFind() doubt
Tomcat threads pool
Searching