Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js gnutls_handshake()失败:关闭notify-Docker,并且仅在一个网络上_Node.js_Docker - Fatal编程技术网

Node.js gnutls_handshake()失败:关闭notify-Docker,并且仅在一个网络上

Node.js gnutls_handshake()失败:关闭notify-Docker,并且仅在一个网络上,node.js,docker,Node.js,Docker,只是遇到了一个非常奇怪的问题 我一直在做一些Docker图像和Dockerfile的工作,其中包括一些bower安装命令。一切都很好,直到今天我找到了一家新的宽带提供商(英国的Virgin Media),突然间,我开始在尝试构建诸如 bower ember#1.13.12 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/components/embe

只是遇到了一个非常奇怪的问题

我一直在做一些Docker图像和Dockerfile的工作,其中包括一些bower安装命令。一切都很好,直到今天我找到了一家新的宽带提供商(英国的Virgin Media),突然间,我开始在尝试构建诸如

bower ember#1.13.12                        ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/components/ember.git", exit code of #128 fatal: unable to access 'https://github.com/components/ember.git/': gnutls_handshake() failed: Close notify

Additional error details:
fatal: unable to access 'https://github.com/components/ember.git/': gnutls_handshake() failed: Close notify


然后我试着把手机(4g)拴在一起,效果非常好。因此,bower.json中有许多命令,而且似乎随时都会随机失败

即使是从Dockerfile中克隆repo这样的简单命令,在我连接到新网络但与其他网络一起工作时也会失败

奇怪的是,如果我在Mac上使用git clone命令,甚至在bower安装上使用完全相同的repo,那么一切都可以正常工作(使用新网络和4G),但是,只要我尝试通过Dockerfile运行,就会出现错误


我已经检查了我的路由器,无法确定这是否是一个路由器问题。WIFI信号是200Mbs,所以肯定不会是这样。

由于git使用的协议,会产生错误。只需将“https”替换为“http”,它适用于我的情况。

由于git使用的协议而引发错误。只需将“https”替换为“http”,它就适合我的情况。

我有一个非常类似的问题-家庭宽带提供商是英国的Virgin Media,在git克隆步骤中出现致命错误。通过连接到我的手机并使用其数据而不是wi-fi来克服。在我的例子中,错误是:error:=>error[10/19]RUN git clone:gnutls_handshake()失败:Close notify------executor未能运行[/bin/sh-c git clone github.com///home/]:退出代码:128我有一个非常类似的问题-家庭宽带提供商在英国是维珍媒体,在git clone步骤中遇到致命错误。通过连接到我的手机并使用其数据而不是wi-fi来克服。在我的例子中,错误是:error:=>error[10/19]RUN git clone::gnutls_handshake()失败:Close notify------executor未能运行[/bin/sh-c git clone github.com///home/]:退出代码:128你能用你答案中的代码添加一个片段吗?你能用你答案中的代码添加一个片段吗?