Question
4464 views

IMAP throws Error 9 - Server error when fetching mail

PavelValach asked on
Hello,
first thanks for finally creating an IMAP interface for Outlook.com, it will come in handy.
I have a grave issue with one of my accounts: I have very large amount of e-mail messages in my Inbox (7000+), and when I try to open or download the folder using IMAP, I get the following error (I'm using Thunderbird):

The current operation on 'Inbox' did not succeed. The mail server for account *** Email address is removed for privacy *** responded: Error 9: Server error. Please try again later.

This error appears after a minute of waiting for a response. I have several other folders in my mailbox and I can open most of them just fine; I have one more folder with 10000+ messages that also refuses to open through IMAP. And that Inbox is somehow cursed too.

I don't seem to be capable to solve this from my chair. Could you please look into this?

Thanks!
Pavel
22 people had this question

Abuse history


The answered status icon Answer
Benjamin Poon replied on

Thanks to everyone reporting issues with error 9. I'm very sorry for the difficulties this has caused!

While we've solved a handful of the issues causing the error, we're still working to deploy one more fix that we believe will address the bulk of the remaining errors. We are targeting deployment completion very soon.

Thanks,
Ben
1 person found this helpful

Abuse history


Leah_V. replied on

Hi Pavel,

Welcome to the Microsoft Community. 

I understand you have been getting an error message using IMAP settings on Thunderbird.  Let me help you. 

To make sure that the correct IMAP settings have been used, please reconfigure your account based on the settings on the article below:


If you still get the same error after re-configuration, please try using another email client like Windows Live Mail to be able to isolate the root cause of this issue.

To download Windows Live Mail, please click here.  To add an email account on Windows Live Mail, please check out this article but use the IMAP settings on the article above.  You can also check out the article below for configuration.

Set up an email app with Outlook.com
 
Let us know how things turn out. 

Thanks, 

Leah V. 

Be the first person to mark this helpful

Abuse history


PavelValach replied on

Hi Leah_V,

I've tried to reconfigure Thunderbird several times and I still get the same Error 9: Server error. Accidentally I was able to download several hundred e-mail headers from the inbox folder, but that happened only once - after that I'm still getting Error 9.

Windows Live Mail - configured to use IMAP - gives a similar error message: (poor translation from Czech):

Cannot fetch mail from the Inbox folder. Please try to refresh folder list and try again.
Configuration:
   Account: Hotmail (you.know.who)
   Server: imap-mail.outlook.com
   Username: *** Email address is removed for privacy ***
   Protocol: IMAP
   Port: 993
   Security (SSL): 1
   Code: 800cccd2

The folder list is successfully downloaded, but opening Inbox folder always fails. And it always takes its time before it fails (about two minutes).

I've got some confirmation from the Outlook blog that they're already working on this issue, but if there is anything I can help with, I'd be glad to.

Thanks
Pavel
Be the first person to mark this helpful

Abuse history


GuilhermeZ replied on

Hi 
I Have problem with Zimbra Client.
I follow the same steps Thunderbird configuration.

Tks.

com.zimbra.common.soap.SoapFaultException: Unrecognized SSL message, plaintext connection? ExceptionId:com.zimbra.common.service.RemoteServiceException: Unrecognized SSL message, plaintext connection? ExceptionId:btpool0-51:1379078797150:e0161c6292604980 Code:remote.SSL_FAILURE at com.zimbra.common.service.RemoteServiceException.SSL_FAILURE(RemoteServiceException.java:100) at com.zimbra.common.service.RemoteServiceException.doSSLFailures(RemoteServiceException.java:174) at com.zimbra.cs.account.offline.OfflineProvisioning.testDataSource(OfflineProvisioning.java:789) at com.zimbra.cs.account.offline.OfflineProvisioning.createDataSourceAccount(OfflineProvisioning.java:835) at com.zimbra.cs.account.offline.OfflineProvisioning.createAccount(OfflineProvisioning.java:641) 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: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:652) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:484) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199) at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:548) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:352) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1938) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642) at javax.mail.Service.connect(Service.java:317) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at com.zimbra.cs.account.offline.OfflineProvisioning.test(OfflineProvisioning.java:797) at com.zimbra.cs.account.offline.OfflineProvisioning.testDataSource(OfflineProvisioning.java:777) ... 30 more Code:remote.SSL_FAILURE 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:262) at com.zimbra.cs.offline.jsp.FormBean.doRequest(FormBean.java:156) at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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)                                                        
Be the first person to mark this helpful

Abuse history


Jessa_R replied on

Hi Pavel and GuilhermeZ,

 

Let me help you with your concern about your issue on not being able to configure your accounts using those clients you are using.

 

@Pavel ,

 

I will be asking for a sample screenshot of the page where you are getting that error message when trying to configure your account using Thunderbird. I initiated a private message where you can upload that screenshot. Please sign in to this website to see the private message tab or click on "You have a private reply to this message"  link just above your post to view the message.

 

You can refer to this article below for your reference about your issue when configuring your account on Live Mail.


How can I resolve machine configuration issues in Windows Live Mail?

 

@ GuilhermeZ,

 

I suggest you to contact Zimbra Client for them to provide you the configuration settings on your account.

 

Let me know if we can help with anything else.

 

Thank you.

 

Be the first person to mark this helpful

Abuse history


PavelValach replied on

Hi Jessa_R,

you have the screenshot in the private area.

Best regards,
Pavel
Be the first person to mark this helpful

Abuse history


JR_N. replied on

Hi PavelValach,

 

I've replied to your message in the Private message area. Please click on "You have a private reply to this message" link just above your post to view the message. Note that you need to be signed in to the Microsoft Community to view the link.

 

Thank you!

Be the first person to mark this helpful

Abuse history


PavelValach replied on

Hi JR_N,
no offense, but when your server (the server of Microsoft) says "Error 9: Server error", then it is clear that Thunderbird support cannot help me with this issue. Moreover, it's just Inbox folder that's having issues - because it has over 7000 emails stored inside. Other folders are working just fine.

Best regards,
Pavel




1 person found this helpful

Abuse history


TonyQuan replied on

Pavel I agree the problem has nothing to do with the client. I can reproduce it using the OpenSSL command line on Linux.  You can clearly see that authentication succeeds, but when trying to do the IMAP SELECT on large folders, you get the error 9 after a very long pause. Most folders are fine, larger ones are more likely to fail.  I had sent the log to Steve Kafka who posted the original imap blog post, he mentioned that they enabled debug on my account to get more data.
Be the first person to mark this helpful

Abuse history


PavelValach replied on

Tony,
what a refreshment to see you after all those robots! I've now looked at the original blogpost about IMAP and there are lot more comments about this error in particular. Any chance I could send Steve my log as well? I know they're investigating this, so if additional debug helps, I'm all up for it.

Btw, my mail is **removed email address for privacy**. 

Thanks,
Pavel Valach
Be the first person to mark this helpful

Abuse history


Johan_D. replied on

Hi Pavel,

 

We apologize for any inconvenience.

 

I sent you a  private message. Please login to this website to see the private message tab.

 

Thank you.

Johan

Be the first person to mark this helpful

Abuse history