Microsoft Exchange Web Services Connectivity Tests, Error: failed to create temporary folder for performing tests
Microsoft Exchange Web Services Connectivity Tests, Error: failed to create temporary folder for performing tests
我正在尝试 "Exchange Web Services synchronization, notification, availability, and Automatic Replies" 从 testconnectivity.microsoft.com 进行测试。
但失败并出现以下错误:
创建临时文件夹以执行同步测试。
无法创建用于执行测试的临时文件夹。
完整详细的错误:
Additional Details
Exception details:
Message: The request failed. The underlying connection was closed: An unexpected error occurred on a send.
Type: Microsoft.Exchange.WebServices.Data.ServiceRequestException
Stack trace:
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalBindToFolders(IEnumerable`1 folderIds, PropertySet propertySet, ServiceErrorHandling errorHandling)
at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId folderId, PropertySet propertySet)
at Microsoft.Exchange.Tools.ExRca.Tests.GetOrCreateSyncFolderTest.PerformTestReally()
Exception details:
Message: The underlying connection was closed: An unexpected error occurred on a send.
Type: System.Net.WebException
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
Exception details:
Message: Authentication failed because the remote party has closed the transport stream.
Type: System.IO.IOException
Stack trace:
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
Elapsed Time: 180 ms.
我们的 Exchange 环境是这样配置的。
我们有 4 台 Exchange 服务器,其中 3 台具有 CAS 角色。使用 Kemp 负载平衡器对连接进行负载平衡,我们使用 TMG 来呈现我们的 OWA 并为 Internet 配置自动发现。
请帮忙解决这个错误。
您提到您的 CAS 服务器由 Kemp 负载平衡器作为前端。鉴于您发现 MS Exchange 行为存在问题,我们的建议是访问我们的 support center。您可以在那里查看相关文档或向我们的支持团队提交票证。如果 LoadMaster 正在促成我们的工程师将能够协助的行为。
我们的 TMG 网站 IIS 网站(新创建的)虚拟目录是问题所在。为了测试这一点,我们创建了一个直接防火墙规则,将流量发送到交换服务器上 TMG IIS 网站的 Kemp Loadbalancer IP,我们遇到了同样的问题。然后我们将流量定向到交换服务器上的默认 IIS 网站,测试分析器没有显示错误。
所以问题出在我们交换服务器上用于自动发现和 EWS 服务的 TMG IIS 网站虚拟目录。
我们现在已经创建了一个规则来接受单独外部 IP 上的交换在线流量并将其发送到我们的 Exchange IIS 默认网站。
更新:
还有进一步的变化,我们必须 load-balancer 完全脱离设置,因为它正在修改我们的电子邮件 header 并且由于 Exchange Online 和 Exchange [=25] 之间发送的所有电子邮件=] 被标记为匿名而不是内部。这导致我们的会议室不接受预订邀请的问题。
如果您需要更多信息,请发表评论。
我正在尝试 "Exchange Web Services synchronization, notification, availability, and Automatic Replies" 从 testconnectivity.microsoft.com 进行测试。
但失败并出现以下错误: 创建临时文件夹以执行同步测试。 无法创建用于执行测试的临时文件夹。
完整详细的错误:
Additional Details
Exception details:
Message: The request failed. The underlying connection was closed: An unexpected error occurred on a send.
Type: Microsoft.Exchange.WebServices.Data.ServiceRequestException
Stack trace:
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalBindToFolders(IEnumerable`1 folderIds, PropertySet propertySet, ServiceErrorHandling errorHandling)
at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId folderId, PropertySet propertySet)
at Microsoft.Exchange.Tools.ExRca.Tests.GetOrCreateSyncFolderTest.PerformTestReally()
Exception details:
Message: The underlying connection was closed: An unexpected error occurred on a send.
Type: System.Net.WebException
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
Exception details:
Message: Authentication failed because the remote party has closed the transport stream.
Type: System.IO.IOException
Stack trace:
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
Elapsed Time: 180 ms.
我们的 Exchange 环境是这样配置的。
我们有 4 台 Exchange 服务器,其中 3 台具有 CAS 角色。使用 Kemp 负载平衡器对连接进行负载平衡,我们使用 TMG 来呈现我们的 OWA 并为 Internet 配置自动发现。
请帮忙解决这个错误。
您提到您的 CAS 服务器由 Kemp 负载平衡器作为前端。鉴于您发现 MS Exchange 行为存在问题,我们的建议是访问我们的 support center。您可以在那里查看相关文档或向我们的支持团队提交票证。如果 LoadMaster 正在促成我们的工程师将能够协助的行为。
我们的 TMG 网站 IIS 网站(新创建的)虚拟目录是问题所在。为了测试这一点,我们创建了一个直接防火墙规则,将流量发送到交换服务器上 TMG IIS 网站的 Kemp Loadbalancer IP,我们遇到了同样的问题。然后我们将流量定向到交换服务器上的默认 IIS 网站,测试分析器没有显示错误。
所以问题出在我们交换服务器上用于自动发现和 EWS 服务的 TMG IIS 网站虚拟目录。
我们现在已经创建了一个规则来接受单独外部 IP 上的交换在线流量并将其发送到我们的 Exchange IIS 默认网站。
更新:
还有进一步的变化,我们必须 load-balancer 完全脱离设置,因为它正在修改我们的电子邮件 header 并且由于 Exchange Online 和 Exchange [=25] 之间发送的所有电子邮件=] 被标记为匿名而不是内部。这导致我们的会议室不接受预订邀请的问题。
如果您需要更多信息,请发表评论。