Java – unable to connect to host 127.0 on port 7055 after 45000 Ms 0.1. Use FF version 26.0 and selenium independent tank 2.39

I am trying to connect to my AWS UNIX machine. Selenium 2.30 with FF version 26.0 is installed, but when I start the client accessing selenium, I encounter the following error

In addition, when I try to separate jar 2.38 from selenium 0 at the same time, it works normally, but it suddenly happens after a period of one or two days, and it starts to give 2.38 Errors below 0 I don't know why? Any ideas??

The project is that I have a multithreaded application, in which the client continues to execute some threads, Ping some URLs and all, and it continues to happen unless some of the following problems occur

Caused by: org.openqa.selenium.remote.ErrorHandler$UnkNownServerException: Unable to connect to host 127.0.0.1     on port 7055 after 45000 ms. Firefox console output:
Error: no display specified
Error: no display specified

Build info: version: 'unkNown',revision: 'unkNown',time: 'unkNown'
System info: os.name: 'Linux',os.arch: 'amd64',os.version: '3.4.76-65.111.amzn1.x86_64',java.version:  '1.7.0_51'
 Driver info: driver.version: FirefoxDriver
    at      org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:250)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:197)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:108)

Solution

Update your selenium jar

Download both selenium server (formerly selenium RC server) selenium client & webdriver language bindings

Replace them with the old cans you are using Also update your Mozilla to get updated results

Source: – http://docs.seleniumhq.org/download/

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>