theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 309 forks source link

Error: failed to connect to tunnel VM. #248

Closed vasikarla-zz closed 10 years ago

vasikarla-zz commented 10 years ago

MTVL12914a1e1:TrinityJS rvasikarla$ grunt intern:sauce Running "intern:sauce" (intern) task Listening on 0.0.0.0:9000 Starting tunnel... Using no proxy for connecting to Sauce Labs REST API.


A newer version of Sauce Connect (build 1284) is available! Download it here: https://saucelabs.com/downloads/sc-4.3-osx.zip


Started scproxy on port 51811. Starting secure remote tunnel VM... Secure remote tunnel VM provisioned. Tunnel ID: aa1bd166a47847eb834ddf368f3a4417 Secure remote tunnel VM is now: booting Secure remote tunnel VM is now: running Remote tunnel host is: maki77132.miso.saucelabs.com Using no proxy for connecting to tunnel VM. Establishing secure TLS connection to tunnel... Cleaning up. Finished! Deleting tunnel. Error: failed to connect to tunnel VM. Error: failed to connect to tunnel VM. at reject <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:353:17> at readStartupMessage <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:381:12> at <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:434:12> at Array.some at Socket. <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:428:21> at Socket.emit events.js:117:20 at Socket. <_stream_readable.js:748:14> at Socket.emit events.js:92:17 at emitReadable_ <_stream_readable.js:410:10> at emitReadable <_stream_readable.js:406:5> Warning: Error: failed to connect to tunnel VM. at reject <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:353:17> at readStartupMessage <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:381:12> at <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:434:12> at Array.some at Socket. <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:428:21> at Socket.emit events.js:117:20 at Socket. <_stream_readable.js:748:14> at Socket.emit events.js:92:17 at emitReadable_ <_stream_readable.js:410:10> at emitReadable <_stream_readable.js:406:5> Use --force to continue.

vladikoff commented 10 years ago

This can be caused by hanging sc (SauceLabs) processes.

vasikarla-zz commented 10 years ago

@vladikoff : any clue on how to fix this?

vladikoff commented 10 years ago

@vladikoff : any clue on how to fix this? First actually make sure that is the problem. Try running sudo killall -v sc and running tests.

vasikarla-zz commented 10 years ago

@vladikoff sudo killall -v sc Password: No matching processes were found

vladikoff commented 10 years ago

@vasikarla ok then it is probably caused by something else.

vasikarla-zz commented 10 years ago

@vladikoff thanks for your help. Also, i see the below error when i run it from jenkins -> sauce

any clue?

vladikoff commented 10 years ago

Starting secure remote tunnel VM... Error: Not authorized Error: Not authorized at reject at

Missing sauce labs credentials.

csnover commented 10 years ago

In order to keep the bug tracker focused only on the development of Intern itself, we ask that people please follow the contribution guidelines and not submit questions to the bug tracker. Please read the Getting Support wiki for information on where to submit questions. Thank you!