我怎样才能修复"无法建立隧道插座"我的所有流星命令都出错了

时间:2014-11-04 11:49:01

标签: meteor meteorite

直到几天,我可以在流星中做任何事情,但现在长时间的错误突然出现并让我感到紧张。我无法理解发生了什么。

我查看了我的终端历史记录,发现以下命令存在疑问,因为错误中提到了Cordova:

meteor configure-android

meteor install-sdk android

以下是我运行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 could not be established, cause=140547247318912:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:787:
        at 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)
        at _.extend._createSocket (packages/ddp/stream_client_nodejs.js:265)
        at _.extend._launchConnection (packages/ddp/stream_client_nodejs.js:142)
        at new LivedataTest.ClientStream (packages/ddp/stream_client_nodejs.js:28)
        at new Connection (packages/ddp/livedata_connection.js:52)
        at Object.DDP.connect (packages/ddp/livedata_connection.js:1581)
        at 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)
        at 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)
        at 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)
        at _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)
        at /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
        at /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
        at _.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)
        at /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
        at _.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)
        at 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)
        at 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)
        at /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
        at /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
        at _.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)
        at /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
        at _.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)
        at 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)
        at _.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)
        at _.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)
        at 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)
        at 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)
        at /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
        at /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
        at _.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)
        at /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
        at _.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)
        at 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)
        at /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
        - - - - -

        at 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)
        at ClientRequest.g (events.js:180:16)
        at ClientRequest.emit (events.js:95:17)
        at CleartextStream.socketErrorListener (http.js:1547:9)
        at CleartextStream.emit (events.js:95:17)
        at SecurePair.<anonymous> (tls.js:1395:15)
        at SecurePair.emit (events.js:95:17)
        at SecurePair.error (tls.js:1015:27)
        at CleartextStream.read [as _read] (tls.js:460:17)
        at CleartextStream.Readable.read (_stream_readable.js:323:10)
        at EncryptedStream.write [as _write] (tls.js:366:25)
        at doWrite (_stream_writable.js:226:10)
        at writeOrBuffer (_stream_writable.js:216:5)
        at EncryptedStream.Writable.write (_stream_writable.js:183:11)
        at write (_stream_readable.js:585:24)
        at flow (_stream_readable.js:594:7)
        at Socket.pipeOnReadable (_stream_readable.js:626:5)
        at Socket.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:410:10)
        at emitReadable (_stream_readable.js:406:5)
        at readableAddChunk (_stream_readable.js:168:9)
        at Socket.Readable.push (_stream_readable.js:130:10)
        at TCP.onread (net.js:528:21)

以下是我输入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 could not be established, cause=140547247318912:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:787:
    at 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)
    at _.extend._createSocket (packages/ddp/stream_client_nodejs.js:265)
    at _.extend._launchConnection (packages/ddp/stream_client_nodejs.js:142)
    at new LivedataTest.ClientStream (packages/ddp/stream_client_nodejs.js:28)
    at new Connection (packages/ddp/livedata_connection.js:52)
    at Object.DDP.connect (packages/ddp/livedata_connection.js:1581)
    at 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)
    at 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)
    at 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)
    at _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)
    at /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
    at /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
    at _.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)
    at /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
    at _.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)
    at 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)
    at 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)
    at /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
    at /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
    at _.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)
    at /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
    at _.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)
    at 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)
    at _.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)
    at _.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)
    at 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)
    at 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)
    at /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
    at /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
    at _.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)
    at /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
    at _.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)
    at 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)
    at /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
    - - - - -

    at 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)
    at ClientRequest.g (events.js:180:16)
    at ClientRequest.emit (events.js:95:17)
    at CleartextStream.socketErrorListener (http.js:1547:9)
    at CleartextStream.emit (events.js:95:17)
    at SecurePair.<anonymous> (tls.js:1395:15)
    at SecurePair.emit (events.js:95:17)
    at SecurePair.error (tls.js:1015:27)
    at CleartextStream.read [as _read] (tls.js:460:17)
    at CleartextStream.Readable.read (_stream_readable.js:323:10)
    at EncryptedStream.write [as _write] (tls.js:366:25)
    at doWrite (_stream_writable.js:226:10)
    at writeOrBuffer (_stream_writable.js:216:5)
    at EncryptedStream.Writable.write (_stream_writable.js:183:11)
    at write (_stream_readable.js:585:24)
    at flow (_stream_readable.js:594:7)
    at Socket.pipeOnReadable (_stream_readable.js:626:5)
    at Socket.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:410:10)
    at emitReadable (_stream_readable.js:406:5)
    at readableAddChunk (_stream_readable.js:168:9)
    at Socket.Readable.push (_stream_readable.js:130:10)
    at TCP.onread (net.js:528:21)

1 个答案:

答案 0 :(得分:0)

看起来你和流星服务器之间有一些代理或者某种东西。

尝试删除它或使用其他互联网连接。问题是SSL握手失败(ps。还要检查您的系统时钟是否正确)。正确的时间可确保所涉及的SSL证书有效。

错误在上面的日志SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol中。通常,此错误将是错误配置的代码的结果。

如果你正在使用未经修改的Meteor版本,那么主要嫌疑人将是你和代理SSL但配置不当的Meteor服务器之间的代理。

我想到的一件事是,SSL 3存在POODLE漏洞,您的ISP /公司代理可能已强制禁用它。

如果您自己构建了Meteor,请尝试更新您的OpenSSL版本,然后重建它。

另外的信息:http://blog.techstacks.com/2010/03/3-common-causes-of-unknown-ssl-protocol-errors-with-curl.html