我无法在我的机器上注册
Self Hosted Integration Runtime
。
这是我遇到的错误:
集成运行时(自托管)节点在注册期间遇到错误。无法确定集成运行时(自承载)节点状态。确认集成运行时(自托管)主机服务正在运行,并且已指定有效的 SSL 证书。
在日志中我得到以下信息:
Failed to get service token from ADF service with key IR@a68e529a-ae7a-724fff69aad6@xxxDataFactory@ServiceEndpoint=xxxdatafactory.eastus.datafactory.azure.net@****************** and time cost is: 3.8236143 seconds, the error code is: UnexpectedFault, activityId is: 40797b25-a932-4e79-86dd-ccbcd4d7cf7f and detailed error message is An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
请让我知道如何解决此错误。
欢迎评论和解答。
编辑:添加错误屏幕截图以供参考:
"ClassName": "System.Net.Http.HttpRequestException",
"Message": "An error occurred while sending the request.",
"Data": null,
"InnerException": {
"ClassName": "System.Net.WebException",
"Message": "The underlying connection was closed: An unexpected error occurred on a send.",
"Data": null,
"InnerException": {
"ClassName": "System.IO.IOException",
"Message": "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.",
"Data": null,
"InnerException": {
"NativeErrorCode": 10054,
"ClassName": "System.Net.Sockets.SocketException",
"Message": "An existing connection was forcibly closed by the remote host",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)\r\n at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"Source": "System",
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": " at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)\r\n at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"Source": "System",
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": " at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nEndGetResponse\nSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken
"HResult": -2146233079,
"Source": "System",
"WatsonBuckets": null
},
"HelpURL": null,
Failed to get service token from ADF service with key IR****@xxxDataFactory@ServiceEndpoint=<datafactoryNmae>.<region>.datafactory.azure.net@****************** and time cost is: 3.8236143 seconds, the error code is: UnexpectedFault, activityId is: 40797b25-a932-4e79-86dd-ccbcd4d7cf7f and detailed error message is An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
要解决上述错误,请在 ADF 中启用公共访问,如下所示:
如果已创建自托管集成运行时,请重新生成密钥。使用该密钥注册 SHIR,它将成功注册并连接到 ADF,如下所示:
如果您想在出厂启用专用端点后连接到该端点,请记下 DNS 配置的 IP 地址。
在 Azure VM 中,转到
C:\Windows\System32\drivers\etc
,然后在记事本中打开主机文件。在文件末尾添加将专用 IP 映射到 FQDN 的行,然后保存更改。
xxx.xxx.xxx.xxx <df-name>.<region>.datafactory.azure.net
欲了解更多信息,您可以参考MS问题。