Current time: 11-12-2019, 10:20 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node.js Agent issue
03-28-2013, 06:54 PM (This post was last modified: 03-28-2013 06:55 PM by andreapernici.)
Post: #1
Node.js Agent issue
Hi. I'm trying to install the node.js agent but I get an issue.

--

Code:
[root@stageGT1 js]# ./wptdriver.sh -s http://MYIP:8888
NODE_PATH=/home/domains/wpt/trunk/agent/js:/home/domains/wpt/trunk/agent/js/src:/home/domains/wpt/trunk/lib/webdriver/javascript/node-r17891
node src/agent_main --wpt_server http://MYIP:8888 --location Test --chromedriver /home/domains/wpt/trunk/lib/webdriver/chromedriver/Linux x86_64/chromedriver-26.0.1383.0 --selenium_jar /home/domains/wpt/trunk/lib/webdriver/java/selenium-standalone-r17891.jar
I 0327Z11:30:08.623 wpt_client.js:259 Client.requestNextJob_: Get work: http://MYIP:8888/work/getwork.php?location=Test&f=json
C 0327Z11:30:08.640 wpt_client.js:225 Client.onUncaughtException_: Unhandled exception in the client: Error: connect ECONNREFUSED
Error: connect ECONNREFUSED
    at errnoException (net.js:863:11)
    at Object.afterConnect [as oncomplete] (net.js:854:19)
D 0327Z11:30:08.642 wpt_client.js:226 Client.onUncaughtException_: Error: connect ECONNREFUSED
    at errnoException (net.js:863:11)
    at Object.afterConnect [as oncomplete] (net.js:854:19)
C 0327Z11:30:08.643 wpt_client.js:243 Client.onUncaughtException_: Unhandled exception outside of job processing
C 0327Z11:30:08.645 wpt_client.js:225 Client.onUncaughtException_: Unhandled exception in the client: Error: socket hang up
Error: socket hang up
    at createHangUpError (http.js:1417:15)
    at Socket.socketCloseListener (http.js:1467:23)
    at Socket.EventEmitter.emit (events.js:117:20)
    at TCP.close (net.js:436:12)
D 0327Z11:30:08.645 wpt_client.js:226 Client.onUncaughtException_: Error: socket hang up
    at createHangUpError (http.js:1417:15)
    at Socket.socketCloseListener (http.js:1467:23)
    at Socket.EventEmitter.emit (events.js:117:20)
    at TCP.close (net.js:436:12)
C 0327Z11:30:08.646 wpt_client.js:243 Client.onUncaughtException_: Unhandled exception outside of job processing

[root@stageGT1 js]# ./wptdriver.sh -s http://MYIP:8888
NODE_PATH=/home/domains/wpt/trunk/agent/js:/home/domains/wpt/trunk/agent/js/src:/home/domains/wpt/trunk/lib/webdriver/javascript/node-r17891
node src/agent_main --wpt_server http://MYIP:8888 --location Test --chromedriver /home/domains/wpt/trunk/lib/webdriver/chromedriver/Linux x86_64/chromedriver-26.0.1383.0 --selenium_jar /home/domains/wpt/trunk/lib/webdriver/java/selenium-standalone-r17891.jar
I 0327Z11:30:08.623 wpt_client.js:259 Client.requestNextJob_: Get work: http://MYIP:8888/work/getwork.php?location=Test&f=json
C 0327Z11:30:08.640 wpt_client.js:225 Client.onUncaughtException_: Unhandled exception in the client: Error: connect ECONNREFUSED
Error: connect ECONNREFUSED
    at errnoException (net.js:863:11)
    at Object.afterConnect [as oncomplete] (net.js:854:19)
D 0327Z11:30:08.642 wpt_client.js:226 Client.onUncaughtException_: Error: connect ECONNREFUSED
    at errnoException (net.js:863:11)
    at Object.afterConnect [as oncomplete] (net.js:854:19)
C 0327Z11:30:08.643 wpt_client.js:243 Client.onUncaughtException_: Unhandled exception outside of job processing
C 0327Z11:30:08.645 wpt_client.js:225 Client.onUncaughtException_: Unhandled exception in the client: Error: socket hang up
Error: socket hang up
    at createHangUpError (http.js:1417:15)
    at Socket.socketCloseListener (http.js:1467:23)
    at Socket.EventEmitter.emit (events.js:117:20)
    at TCP.close (net.js:436:12)
D 0327Z11:30:08.645 wpt_client.js:226 Client.onUncaughtException_: Error: socket hang up
    at createHangUpError (http.js:1417:15)
    at Socket.socketCloseListener (http.js:1467:23)
    at Socket.EventEmitter.emit (events.js:117:20)
    at TCP.close (net.js:436:12)
C 0327Z11:30:08.646 wpt_client.js:243 Client.onUncaughtException_: Unhandled exception outside of job processing
---

Some help?

I try to spread WPO love for Italian guys.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-29-2013, 01:16 AM
Post: #2
RE: Node.js Agent issue
Have you tried connecting to http://MYIP:8888 from the machine that the node agent is running on? It looks like the polling for work failed because the connection to the web server was refused.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)