Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Harrison Reiser
RE: too much redirect [ reply ]  
2012-02-24 16:45
HtmlUnit will raise that after 20 complete redirect loops, i.e. visiting exactly the same URL 20 times. If the URL shown in the exception points to your servers, I would strongly suspect that the problem is in the server application.

In any case, you can handle the exception however you like with 'rescue'.

By: D Romeyn
too much redirect [ reply ]  
2012-01-07 17:58
I'm trying to test some new front end servers and seeing this.

Celerity::Exception::NavigationException: com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: Too much redirect for https://.....

I've been searching for information on what to do about this and haven't had any luck yet.

Adding a browser.wait_until with a 15 second time out didn't help.
It just hung until it timed out.

Any suggestions?