java.net.ProtocolException: Server redirected too many times(20)
If the above doesn't apply, you may try to use the following code (hack) to skip the re-direction, get the Location header and re-connect: try { URL url = new URL("http://www.ama.org/events "); HttpUR…