简体   繁体   English

由于连接超时,无法运行 mlDeploy 以删除 Azure 上的 ML 服务器

[英]Fail to run mlDeploy to Remove ML server on Azure due to connect time out

I am trying to deploy ML changes via gradle from a central management cloud pc.我正在尝试从中央管理云电脑通过 gradle 部署 ML 更改。

I could successful do a fresh deploy on a new ML installation on that cloud pc.我可以成功地对该云电脑上的新 ML 安装进行全新部署。 However I could not deploy to an ML server on Azure due to connection timeout.但是,由于连接超时,我无法部署到 Azure 上的 ML 服务器。 (I have try to run the same gradlw -i mlDeploy more than 10 times. They all result the same error.) (我尝试运行相同的gradlw -i mlDeploy超过 10 次。它们都导致相同的错误。)

在此处输入图像描述

I notice most of the other things like content db, module db, schema db, app servers, users, roles are all successfully deployed.我注意到大多数其他内容,如内容数据库、模块数据库、模式数据库、应用程序服务器、用户、角色都已成功部署。 I suspect it might to to the mlLoadModules .我怀疑它可能会到mlLoadModules

If I run gradlew -i mlLoadModules to that remote Azure ML server.如果我运行gradlew -i mlLoadModules到那个远程 Azure ML 服务器。 I will get the same time out error.我会得到同样的超时错误。 在此处输入图像描述

How to resolve the problem?如何解决问题? Can I change the timeout setting in mlgradle?我可以更改 mlgradle 中的超时设置吗? (I really do not want to run the Gradle from that Azure ML server. I prefer that central deployment node concept.) (我真的不想从 Azure ML 服务器运行 Gradle。我更喜欢中央部署节点的概念。)

The issue has been resolved.问题已解决。 It is not a mlgradle problem.这不是 mlgradle 问题。

The issue was caused by the firewall on the Azure ML host.该问题是由 Azure ML 主机上的防火墙引起的。 It seems mlLoadModules needs to communicate with the application REST port to upload the Xquery programs.看来mlLoadModules需要与应用程序 REST 端口通信才能上传 Xquery 程序。 That application REST port is not yet configured to be open in the default Azure ML ARM template from the marklogic official image.该应用程序 REST 端口尚未配置为在来自 marklogic 官方图像的默认 Azure ML ARM 模板中打开。

After openning the application REST point, for my case, it is PORT 8030, I could run gradlew -i mlDeploy successfully.打开应用程序 REST 点后,对于我的情况,它是 PORT 8030,我可以成功运行gradlew -i mlDeploy

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Pyodbc 登录超时错误 (Azure) SQL 服务器 - Pyodbc login time out error with (Azure) SQL Server Azure ML 作业开始失败,出现 DataAccessError:无效的秘密令牌 header - Azure ML job started to fail with DataAccessError : Invalid secret token header 重置 Microsoft 密码后无法连接到 Azure ML - Cannot Connect to Azure ML after resetting Microsoft password 无法从SQL Server获取Azure ML中的数据 - Unable to get the data in Azure ML from SQL Server Azure 对于 MySQL(单服务器):偶尔连接超时(2003,无法连接到 mysql 服务器...(超时)) - Azure for MySQL (Single Server): occasional connection timeouts (2003, Can't connect to mysql server on ... (timed out)) Azure ML 管道因 ImportError 失败:无法导入名称“time_ns”错误 - Azure ML pipeline fails with ImportError: cannot import name 'time_ns' error 保存手电筒 model Azure ML - Saving a torch model in Azure ML Web 服务部署 Azure ML - Web Service deployment Azure ML 为什么这个 Azure 时间触发 function 不会失败? - Why won't this Azure time triggered function fail? 无法连接到 Azure Postgres 服务器 11 - Unable to connect to Azure Postgres Server 11
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM