meteorite - How can I fix "tunneling socket could not be established" error for all my meteor commands -



meteorite - How can I fix "tunneling socket could not be established" error for all my meteor commands -

up until few days in meteor long errors popping , making me nervous. unable understand whats happening.

i looked terminal history , found next command suspicious since there mentions of cordova in errors:

meteor configure-android meteor install-sdk android

here sample of when run meteor create testapp

meteor create testapp /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:206 throw(ex); ^ error: tunneling socket not established, cause=140547247318912:error:140770fc:ssl routines:ssl23_get_server_hello:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:787: @ object.future.wait (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:326:15) @ _.extend._createsocket (packages/ddp/stream_client_nodejs.js:265) @ _.extend._launchconnection (packages/ddp/stream_client_nodejs.js:142) @ new livedatatest.clientstream (packages/ddp/stream_client_nodejs.js:28) @ new connection (packages/ddp/livedata_connection.js:52) @ object.ddp.connect (packages/ddp/livedata_connection.js:1581) @ new serviceconnection (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/service-connection.js:54:37) @ object.exports.openserviceconnection (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/auth-client.js:24:10) @ openpackageserverconnection (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:24:21) @ _updateserverpackagedata (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:122:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:100:12 @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:313:18 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:312:36 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ object.enterjob (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:303:26) @ object.exports.updateserverpackagedata (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:99:23) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog-remote.js:767:36 @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:313:18 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:312:36 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ object.enterjob (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:303:26) @ _.extend.refresh (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog-remote.js:766:18) @ _.extend.refreshofficialcatalog (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog.js:390:23) @ object.catalog.refreshorwarn (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog.js:60:22) @ catalog.refresh.onceatstart.beforecommand (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog.js:33:16) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/main.js:1349:32 @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:313:18 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:312:36 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ object.enterjob (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:303:26) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/main.js:1348:20 - - - - - @ clientrequest.onerror (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/isopacks/ddp/npm/node_modules/tunnel-agent/index.js:168:17) @ clientrequest.g (events.js:180:16) @ clientrequest.emit (events.js:95:17) @ cleartextstream.socketerrorlistener (http.js:1547:9) @ cleartextstream.emit (events.js:95:17) @ securepair.<anonymous> (tls.js:1395:15) @ securepair.emit (events.js:95:17) @ securepair.error (tls.js:1015:27) @ cleartextstream.read [as _read] (tls.js:460:17) @ cleartextstream.readable.read (_stream_readable.js:323:10) @ encryptedstream.write [as _write] (tls.js:366:25) @ dowrite (_stream_writable.js:226:10) @ writeorbuffer (_stream_writable.js:216:5) @ encryptedstream.writable.write (_stream_writable.js:183:11) @ write (_stream_readable.js:585:24) @ flow (_stream_readable.js:594:7) @ socket.pipeonreadable (_stream_readable.js:626:5) @ socket.emit (events.js:92:17) @ emitreadable_ (_stream_readable.js:410:10) @ emitreadable (_stream_readable.js:406:5) @ readableaddchunk (_stream_readable.js:168:9) @ socket.readable.push (_stream_readable.js:130:10) @ tcp.onread (net.js:528:21)

here happens when type meteor update

meteor create testapp /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:206 throw(ex); ^ error: tunneling socket not established, cause=140547247318912:error:140770fc:ssl routines:ssl23_get_server_hello:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:787: @ object.future.wait (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:326:15) @ _.extend._createsocket (packages/ddp/stream_client_nodejs.js:265) @ _.extend._launchconnection (packages/ddp/stream_client_nodejs.js:142) @ new livedatatest.clientstream (packages/ddp/stream_client_nodejs.js:28) @ new connection (packages/ddp/livedata_connection.js:52) @ object.ddp.connect (packages/ddp/livedata_connection.js:1581) @ new serviceconnection (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/service-connection.js:54:37) @ object.exports.openserviceconnection (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/auth-client.js:24:10) @ openpackageserverconnection (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:24:21) @ _updateserverpackagedata (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:122:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:100:12 @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:313:18 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:312:36 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ object.enterjob (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:303:26) @ object.exports.updateserverpackagedata (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-client.js:99:23) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog-remote.js:767:36 @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:313:18 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:312:36 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ object.enterjob (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:303:26) @ _.extend.refresh (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog-remote.js:766:18) @ _.extend.refreshofficialcatalog (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog.js:390:23) @ object.catalog.refreshorwarn (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog.js:60:22) @ catalog.refresh.onceatstart.beforecommand (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/catalog.js:33:16) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/main.js:1349:32 @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:313:18 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:312:36 @ _.extend.withvalue (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14) @ object.enterjob (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:303:26) @ /home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/main.js:1348:20 - - - - - @ clientrequest.onerror (/home/rohan/.meteor/packages/meteor-tool/.1.0.35.klvi4f++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/isopacks/ddp/npm/node_modules/tunnel-agent/index.js:168:17) @ clientrequest.g (events.js:180:16) @ clientrequest.emit (events.js:95:17) @ cleartextstream.socketerrorlistener (http.js:1547:9) @ cleartextstream.emit (events.js:95:17) @ securepair.<anonymous> (tls.js:1395:15) @ securepair.emit (events.js:95:17) @ securepair.error (tls.js:1015:27) @ cleartextstream.read [as _read] (tls.js:460:17) @ cleartextstream.readable.read (_stream_readable.js:323:10) @ encryptedstream.write [as _write] (tls.js:366:25) @ dowrite (_stream_writable.js:226:10) @ writeorbuffer (_stream_writable.js:216:5) @ encryptedstream.writable.write (_stream_writable.js:183:11) @ write (_stream_readable.js:585:24) @ flow (_stream_readable.js:594:7) @ socket.pipeonreadable (_stream_readable.js:626:5) @ socket.emit (events.js:92:17) @ emitreadable_ (_stream_readable.js:410:10) @ emitreadable (_stream_readable.js:406:5) @ readableaddchunk (_stream_readable.js:168:9) @ socket.readable.push (_stream_readable.js:130:10) @ tcp.onread (net.js:528:21)

it looks proxy or in between , meteor server.

try removing or using different net connection. issue ssl handshake failing (ps. check scheme clock right time). right time ensures ssl certificates involved valid.

the error in log above ssl routines:ssl23_get_server_hello:unknown protocol. typically error result of incorrectly configured code.

if you're using unmodified version of meteor prime suspect proxy between , meteor server proxies ssl badly configured.

one thing comes mind ssl 3 has poodle vulnerability , isp/corporate proxy may have forcefully disabled it.

if built meteor seek updating version of openssl rebuild it.

also additional info: http://blog.techstacks.com/2010/03/3-common-causes-of-unknown-ssl-protocol-errors-with-curl.html

meteor meteorite

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -