Display results as :

Rechercher Advanced Search


Connection refused while using Grid 2

View previous topic View next topic Go down

Connection refused while using Grid 2

Post by gurkensalat89 on Wed Aug 10, 2011 5:58 pm

Hi everyone,

I set up Grid 2 following this article: Sry, as a new member I can't post external links. I don't know why. This is why I had to replace all the links and IPs in the code too. Is this really necessary?

I have two iMacs. I set up a hub on one iMac and on the other a WebDriver node.

On the hub machine I started a Selenium test in Eclipse:
public static void main(String args[]){
        DesiredCapabilities capability = DesiredCapabilities.firefox();
        try {
            WebDriver driver = new RemoteWebDriver(new URL("[i]IP-to-Hub[/i]"), capability);
            WebElement element = driver.findElement("q"));

            System.out.println("Page title is: " + driver.getTitle());
            (new WebDriverWait(driver, 10)).until(new ExpectedCondition() {
                public Boolean apply(WebDriver d) {
                    return d.getTitle().startsWith("cheese");
        } catch (MalformedURLException e) {

The problem is that after one or two minutes the console of the hub outputs this:
10.08.2011 12:31:00 org.openqa.grid.web.servlet.handler.WebDriverRequestHandler forwardNewSessionRequest
WARNING: Error forwarding the request Connection to IP-to-WebDriver-Node refused
I replaced the IP of the webdriver node with "IP-to-WebDriver-Node".

Has anyone an idea? Firewall settings? Any other security settings? I don't know what to do. Google didn't find anything. Thanks a lot guys.


Posts : 1
Join date : 2011-08-10

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum