Timeout when connecting to "imap-mail.outlook.com:995

General discussion about Zimbra Desktop.
Praky
Posts: 3
Joined: Sun Jul 22, 2018 10:43 am

Timeout when connecting to "imap-mail.outlook.com:995

Postby Praky » Mon Jul 23, 2018 5:26 am

Hi,

I'm trying to configure Zimbra Desktop for Outlook.com and it is giving me the below error message. It's a Windows 10 machine.

Error:
Timeout when connecting to "imap-mail.outlook.com:995". Please check host/port and network connectivity.

Configuration I'm using:

IMAP server name imap-mail.outlook.com

IMAP port 993

IMAP encryption method TLS

SMTP server name smtp-mail.outlook.com

SMTP port 587

Details of error message:
com.zimbra.common.soap.SoapFaultException: imap-mail.outlook.com:995 ExceptionId:com.zimbra.common.service.RemoteServiceException: imap-mail.outlook.com:995 ExceptionId:btpool0-9:1532255879033:39a59c1ba7ac8d39 Code:remote.TIMEOUT at com.zimbra.common.service.RemoteServiceException.TIMEOUT(RemoteServiceException.java:64) at com.zimbra.common.service.RemoteServiceException.doConnectionFailures(RemoteServiceException.java:153) at com.zimbra.cs.account.offline.OfflineProvisioning.testDataSource(OfflineProvisioning.java:846) at com.zimbra.cs.account.offline.OfflineProvisioning.createDataSourceAccount(OfflineProvisioning.java:918) at com.zimbra.cs.account.offline.OfflineProvisioning.createAccount(OfflineProvisioning.java:719) at com.zimbra.cs.service.admin.CreateAccount.handle(CreateAccount.java:64) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:412) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:287) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:158) at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:303) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:217) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:206) at javax.servlet.http.HttpServlet.service(HttpServlet.java:814) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:988) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at com.zimbra.cs.mailclient.MailInputStream.peek(MailInputStream.java:132) at com.zimbra.cs.mailclient.MailInputStream.isEOF(MailInputStream.java:172) at com.zimbra.cs.mailclient.imap.ImapInputStream.readText(ImapInputStream.java:277) at com.zimbra.cs.mailclient.imap.ImapInputStream.readText(ImapInputStream.java:271) at com.zimbra.cs.mailclient.imap.ImapResponse.readResponse(ImapResponse.java:46) at com.zimbra.cs.mailclient.imap.ImapResponse.read(ImapResponse.java:38) at com.zimbra.cs.mailclient.imap.ImapConnection.readResponse(ImapConnection.java:654) at com.zimbra.cs.mailclient.imap.ImapConnection.processGreeting(ImapConnection.java:85) at com.zimbra.cs.mailclient.MailConnection.connect(MailConnection.java:77) at com.zimbra.cs.datasource.imap.ConnectionManager.newConnection(ConnectionManager.java:146) at com.zimbra.cs.datasource.imap.ConnectionManager.openConnection(ConnectionManager.java:85) at com.zimbra.cs.datasource.imap.ImapSync.connect(ImapSync.java:113) at com.zimbra.cs.datasource.imap.ImapSync.test(ImapSync.java:75) at com.zimbra.cs.offline.OfflineImport.test(OfflineImport.java:96) at com.zimbra.cs.datasource.DataSourceManager.test(DataSourceManager.java:209) at com.zimbra.cs.account.offline.OfflineProvisioning.testDataSource(OfflineProvisioning.java:833) ... 30 more Code:remote.TIMEOUT at com.zimbra.common.soap.Soap12Protocol.soapFault(Soap12Protocol.java:88) at com.zimbra.common.soap.SoapTransport.extractBodyElement(SoapTransport.java:354) at com.zimbra.common.soap.SoapTransport.parseSoapResponse(SoapTransport.java:313) at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:260) at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:164) at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:407) at com.zimbra.common.soap.SoapTransport.invokeWithoutSession(SoapTransport.java:393) at com.zimbra.cs.account.soap.SoapProvisioning.invokeRequest(SoapProvisioning.java:342) at com.zimbra.cs.account.soap.SoapProvisioning.invoke(SoapProvisioning.java:350) at com.zimbra.cs.account.soap.SoapProvisioning.createAccount(SoapProvisioning.java:493) at com.zimbra.cs.offline.jsp.JspProvStub.createOfflineDataSource(JspProvStub.java:126) at com.zimbra.cs.offline.jsp.XmailBean.doRequest(XmailBean.java:268) at com.zimbra.cs.offline.jsp.FormBean.doRequest(FormBean.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.el.parser.AstFunction.getValue(AstFunction.java:127) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001) at org.apache.jsp.desktop.accsetup_jsp._jspx_meth_c_when_1(Unknown Source) at org.apache.jsp.desktop.accsetup_jsp._jspx_meth_c_choose_0(Unknown Source) at org.apache.jsp.desktop.accsetup_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:814) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380) at javax.servlet.http.HttpServlet.service(HttpServlet.java:814) at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:64) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79) at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:239) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:988) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

Thanks,
Praky


phoenix
Ambassador
Ambassador
Posts: 25608
Joined: Fri Sep 12, 2014 9:56 pm

Re: Timeout when connecting to "imap-mail.outlook.com:995

Postby phoenix » Mon Jul 23, 2018 10:50 am

Praky wrote:Hi,

I'm trying to configure Zimbra Desktop for Outlook.com and it is giving me the below error message. It's a Windows 10 machine.

Error:
Timeout when connecting to "imap-mail.outlook.com:995". Please check host/port and network connectivity.

Configuration I'm using:

IMAP server name imap-mail.outlook.com

IMAP port 993

IMAP encryption method TLS

SMTP server name smtp-mail.outlook.com

SMTP port 587

Details of error message:
com.zimbra.common.soap.SoapFaultException: imap-mail.outlook.com:995 ExceptionId:com.zimbra.common.service.RemoteServiceException: imap-mail.outlook.com:995
A timeout error means it can't connect to the server/port combination and from the info you've posted you have made a configuration error .
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Praky
Posts: 3
Joined: Sun Jul 22, 2018 10:43 am

Re: Timeout when connecting to "imap-mail.outlook.com:995

Postby Praky » Thu Aug 02, 2018 5:10 am

Hi Phoenix,

Any idea what configuration change needs to be done?

Thanks,
Praky
Praky
Posts: 3
Joined: Sun Jul 22, 2018 10:43 am

Re: Timeout when connecting to "imap-mail.outlook.com:995

Postby Praky » Thu Aug 02, 2018 5:51 am

Hi Phoenix,

Changing the IMAP encryption method to SSL solved the issue.

Thanks for your help!
Praky

Return to “General Questions”

Who is online

Users browsing this forum: No registered users and 5 guests