Giter Club home page Giter Club logo

eyewitness-ruby's People

Contributors

christruncer avatar digininja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eyewitness-ruby's Issues

Stalling creating driver again

The problem of the script hanging up on this line is happening again:

driver = Selenium::WebDriver.for :firefox, :profile => profile

Last time we thought it was the version of the selenium gem so you put the restriction in the Gemlock file to force it to be at lest 2.43.0, that is what I'm running:

$ grep sele Gemfile
gem "selenium-webdriver", '>=2.43.0'
$ gem list|grep sel
selenium-webdriver (2.43.0)

I also tried with 2.44.0 and that failed as well. Running with strace it seems to be getting stuck trying to make the network connection. curl works fine and the site I'm testing so it is up and returning good data.

Interestingly the site I initially had the failure on is on localhost so assumed the 127.0.0.1 address was normal but I just tested against google and got the stall in the same place with it also trying to do something on 127.0.0.1. I don't know enough about Selenium to know how it works or why it is trying to connect to localhost. The connection seems to be to port 7055, I've checked and have nothing open on that port.

Can you try with strace on your machine and see what you get, I assume you'll get through this step, see what you get after.

futex(0x998634, FUTEX_WAIT_BITSET_PRIVATE, 81, {363846, 694259225}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x9986b0, FUTEX_WAKE_PRIVATE, 1) = 0
socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_IP) = 10
fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fstat(10, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fstat(10, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fstat(10, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fstat(10, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl(10, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(10, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(10, {sa_family=AF_INET, sin_port=htons(7055), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
select(11, NULL, [10], NULL, {5, 0}) = 1 (out [10], left {4, 999998})
fcntl(10, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
connect(10, {sa_family=AF_INET, sin_port=htons(7055), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)
close(10) = 0
futex(0x998634, FUTEX_WAIT_BITSET_PRIVATE, 83, {363846, 945992685}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x9986b0, FUTEX_WAKE_PRIVATE, 1) = 0
socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_IP) = 10

No

I demand that you delete this repository

Why ruby when you can perl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.