theintern / intern-tutorial

Learn how to use Intern by following this tutorial!
http://theintern.io
144 stars 44 forks source link

Running through tutorial and getting error for "Failed to start Selenium Listener" #12

Closed d48 closed 9 years ago

d48 commented 9 years ago

Just following through steps and once get to Step 5., getting error below:

Listening on 0.0.0.0:9000
Starting tunnel...
Using no proxy for connecting to Sauce Labs REST API.
Started scproxy on port 54247.
Starting secure remote tunnel VM...
Secure remote tunnel VM provisioned.
Tunnel ID: c4c5db7fb9734a76a9a5b22760e154a7
Secure remote tunnel VM is now: booting
Secure remote tunnel VM is now: running
Remote tunnel host is: maki76153.miso.saucelabs.com
Using no proxy for connecting to tunnel VM.
Starting Selenium listener...
Establishing secure TLS connection to tunnel...
Error: Failed to start Selenium listener (exit code 2).
Error: Failed to start Selenium listener (exit code 2).
  at reject  <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:354:17>
  at readStartupMessage  <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:382:12>
  at <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:435:12>
  at Array.some  <native>
  at Socket.<anonymous>  <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:429:21>
  at Socket.EventEmitter.emit  <events.js:117:20>
  at Socket.<anonymous>  <_stream_readable.js:736:14>
  at Socket.EventEmitter.emit  <events.js:92:17>
  at emitReadable_  <_stream_readable.js:408:10>
  at emitReadable  <_stream_readable.js:404:5>

Any ideas?

d48 commented 9 years ago

Made sure I killed any process listening on port 4444, reran intern-runner and got this error. Anyone receive the same message?

Listening on 0.0.0.0:9000
Starting tunnel...
Using no proxy for connecting to Sauce Labs REST API.
Started scproxy on port 57603.
Starting secure remote tunnel VM...
Secure remote tunnel VM provisioned.
Tunnel ID: 4f6deb05a2614d75acd7fdac6b2d9814
Secure remote tunnel VM is now: booting
Secure remote tunnel VM is now: running
Remote tunnel host is: maki76037.miso.saucelabs.com
Using no proxy for connecting to tunnel VM.
Starting Selenium listener...
Establishing secure TLS connection to tunnel...
Selenium listener started on port 4444.
Connection established.
Ready
SyntaxError: Unexpected token .
  at Function.vm.runInThisContext  <node_modules/intern/node_modules/istanbul/lib/hook.js:163:16>
  at <node_modules/intern/node_modules/dojo/dojo.js:760:8>
  at <fs.js:266:14>
  at Object.oncomplete  <fs.js:107:15>
d48 commented 9 years ago

closing this and opening thread for istanbul error