We have 2 Exchange 2013 Servers. On both servers I am getting some health warnings.
Exchange1 State HealthSet AlertValue ----- --------- ---------- Online FrontendTransport Unhealthy Online HubTransport Unhealthy NotApplicable Network Unhealthy Online IMAP.Proxy Unhealthy NotApplicable IMAP Unhealthy Exchange2 State HealthSet AlertValue ----- --------- ---------- NotApplicable ActiveSync Unhealthy Online FrontendTransport Unhealthy Online HubTransport Unhealthy NotApplicable Network Unhealthy Online IMAP.Proxy Unhealthy NotApplicable IMAP Unhealthy
We started looking into this while trouble shooting a possibly related issue with IMAP relating to integration with a third party software. After looking onto the logs I am seeing quite a few instances similar to `No connection could be made because the target machine actively refused it 127.0.0.1:25`
This happens for HubTransport at port 25, IMAP at 993, IMAP.Proxy at 993, ForntendTransport at 25. For server 2 only I am seeing a POP error as well relating to no mailboxes found to use in CTP Probe.
Full text of an IMAP Error
- System - Provider [ Name] Microsoft-Exchange-ActiveMonitoring [ Guid] {ECD64F52-A3BC-47B8-B681-A11B7A1C8770} EventID 2 Version 0 Level 2 Task 2 Opcode 0 Keywords 0x800000000000000 - TimeCreated [ SystemTime] 2018-08-10T15:35:24.830564600Z EventRecordID 324513157 Correlation - Execution [ ProcessID] 6820 [ ThreadID] 26536 Channel Microsoft-Exchange-ActiveMonitoring/ProbeResult Computer EXCHANGE1.contoso.com - Security [ UserID] S-1-5-18 - UserData - EventXML ResultId 573508146 ServiceName IMAP IsNotified 0 ResultName ImapCTPProbe/MSExchangeImap4 WorkItemId 346 DeploymentId 0 MachineName EXCHANGE1 Error Unable to initialise TCP Network connection Exception System.InvalidOperationException: Unable to initialise TCP Network connection ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:993 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at Microsoft.Exchange.Monitoring.ActiveMonitoring.Common.TcpConnection..ctor(EndPoint targetEndpoint) at Microsoft.Exchange.Monitoring.ActiveMonitoring.PopImap.Probes.PopImapProbeUtil.CreateImapSSLStateObject(IPEndPoint targetAddress, ProbeResult result) --- End of inner exception stack trace --- at Microsoft.Exchange.Monitoring.ActiveMonitoring.PopImap.Probes.ImapCustomerTouchPointProbe.HandleSocketError(Exception e) at Microsoft.Exchange.Monitoring.ActiveMonitoring.PopImap.Probes.PopImapProbeBase.HandleConnectionExceptions(PopImapProbeStateObject probeTrackingObject) at Microsoft.Exchange.Monitoring.ActiveMonitoring.PopImap.Probes.ImapCustomerTouchPointProbe.DoWork(CancellationToken cancellationToken) at Microsoft.Office.Datacenter.WorkerTaskFramework.WorkItem.Execute(CancellationToken joinedToken) at Microsoft.Office.Datacenter.WorkerTaskFramework.WorkItem.<>c__DisplayClass2.<StartExecuting>b__0() at System.Threading.Tasks.Task.Execute() RetryCount 0 StateAttribute1 IMAP4 StateAttribute2 Infrastructure Failure StateAttribute3 [null] StateAttribute4 [null] StateAttribute5 [null] StateAttribute6 0 StateAttribute7 0 StateAttribute8 0 StateAttribute9 0 StateAttribute10 0 StateAttribute11 [null] StateAttribute12 [null] StateAttribute13 :FAIL StateAttribute14 [null] StateAttribute15 [null] StateAttribute16 0 StateAttribute17 0 StateAttribute18 0 StateAttribute19 0 StateAttribute20 0 StateAttribute21 PDWS;PDWE:1004;PHSS;PHSE:0; StateAttribute22 [null] StateAttribute23 [null] StateAttribute24 [null] StateAttribute25 [null] ResultType 4 ExecutionId 17991828 ExecutionStartTime 2018-08-10T15:35:23.8245606Z ExecutionEndTime 2018-08-10T15:35:24.8305646Z PoisonedCount 0 ExtensionXml [null] SampleValue 0 ExecutionContext [null] FailureContext [null] FailureCategory 9 ScopeName [null] ScopeType [null] HealthSetName [null] Data [null] Version 65536