christruncer / eyewitness-ruby Goto Github PK
View Code? Open in Web Editor NEWThis repo is for the Ruby version of EyeWitness
License: GNU General Public License v3.0
This repo is for the Ruby version of EyeWitness
License: GNU General Public License v3.0
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
I demand that you delete this repository
Why ruby when you can perl
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.