Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


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