I was able to connect to office365 server till 3 days back. Today I have started getting the following error thrown in the davmail log file. Has something changed on the Office365 side? Probably a change is needed in davmail to fix this issue?
2016-08-16 11:34:07,177 DEBUG [CheckRelease] davmail.DavGateway - DavMail released version: 4.7.2-2427
2016-08-16 11:34:30,097 DEBUG [davmail.pop.PopServer] davmail - Connection from /127.0.0.1 on port 1110
2016-08-16 11:34:30,176 DEBUG [PopConnection-35494] davmail.exchange.ExchangeSession - Test configuration status: 301
2016-08-16 11:34:30,176 DEBUG [PopConnection-35494] davmail - > +OK DavMail 4.7.2-2427 POP ready at Tue Aug 16 11:34:30 IST 2016
2016-08-16 11:34:30,227 DEBUG [PopConnection-35494] davmail - < CAPA
2016-08-16 11:34:30,228 DEBUG [PopConnection-35494] davmail - > +OK Capability list follows
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > TOP
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > USER
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > UIDL
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > .
2016-08-16 11:34:30,267 DEBUG [PopConnection-35494] davmail - < USER amit_tendulkar@persistent.co.in
2016-08-16 11:34:30,267 DEBUG [PopConnection-35494] davmail - > +OK USER : amit@company.com
2016-08-16 11:34:30,268 DEBUG [PopConnection-35494] davmail - < PASS **
2016-08-16 11:34:30,743 DEBUG [PopConnection-35494] davmail - executeFollowRedirects(https://outlook.office.com/owa)
2016-08-16 11:34:30,757 DEBUG [PopConnection-35494] davmail - executeFollowRedirects: https://outlook.office.com/owa/ redirectCount:1
2016-08-16 11:34:30,996 DEBUG [PopConnection-35494] davmail - executeFollowRedirects: https://login.microsoftonline.com/login.srf?wa=wsignin1.0&rpsnv=4&ct=1471327469&rver=6.6.6556.0&wp=MBI_SSL&wreply=https%3a%2f%2foutlook.office.com%2fowa%2f&id=260563&CBCXT=out&msafed=0 redirectCount:2
2016-08-16 11:34:31,975 DEBUG [PopConnection-35494] davmail.exchange.ExchangeSession - Ews endpoint not available at /ews/exchange.asmx status 500
2016-08-16 11:34:32,189 ERROR [PopConnection-35494] davmail.exchange.ExchangeSession - Invalid URL: null
2016-08-16 11:34:32,189 ERROR [PopConnection-35494] davmail.exchange.ExchangeSession - Ews endpoint not available at /ews/exchange.asmx status 500
2016-08-16 11:34:32,190 ERROR [PopConnection-35494] davmail.exchange.ExchangeSession - Exchange login exception: EWS end point not available
2016-08-16 11:34:32,190 ERROR [PopConnection-35494] davmail - Exchange login exception: EWS end point not available
davmail.exception.DavMailException: Exchange login exception: EWS end point not available
at davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:271)
at davmail.exchange.ews.EwsExchangeSession.<init>(EwsExchangeSession.java:138)
at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:144)
at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:94)
at davmail.pop.PopConnection.run(PopConnection.java:140)
2016-08-16 11:34:32,190 DEBUG [PopConnection-35494] davmail - > -ERR Exchange login exception: EWS end point not available
2016-08-16 11:39:32,291 ERROR [PopConnection-35494] davmail - Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.net.SocketInputStream.read(SocketInputStream.java:223)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at java.io.PushbackInputStream.read(PushbackInputStream.java:139)
at davmail.AbstractConnection$LineReaderInputStream.readLine(AbstractConnection.java:56)
at davmail.AbstractConnection.readClient(AbstractConnection.java:219)
at davmail.pop.PopConnection.run(PopConnection.java:101)
2016-08-16 11:39:32,291 DEBUG [PopConnection-35494] davmail - > -ERR Read timed out
I have installed davmail on Ubuntu 16.04 (64-bit). I am behind a proxy and have configured it through davmail.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was able to connect to office365 server till 3 days back. Today I have started getting the following error thrown in the davmail log file. Has something changed on the Office365 side? Probably a change is needed in davmail to fix this issue?
2016-08-16 11:34:07,177 DEBUG [CheckRelease] davmail.DavGateway - DavMail released version: 4.7.2-2427
2016-08-16 11:34:30,097 DEBUG [davmail.pop.PopServer] davmail - Connection from /127.0.0.1 on port 1110
2016-08-16 11:34:30,176 DEBUG [PopConnection-35494] davmail.exchange.ExchangeSession - Test configuration status: 301
2016-08-16 11:34:30,176 DEBUG [PopConnection-35494] davmail - > +OK DavMail 4.7.2-2427 POP ready at Tue Aug 16 11:34:30 IST 2016
2016-08-16 11:34:30,227 DEBUG [PopConnection-35494] davmail - < CAPA
2016-08-16 11:34:30,228 DEBUG [PopConnection-35494] davmail - > +OK Capability list follows
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > TOP
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > USER
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > UIDL
2016-08-16 11:34:30,229 DEBUG [PopConnection-35494] davmail - > .
2016-08-16 11:34:30,267 DEBUG [PopConnection-35494] davmail - < USER amit_tendulkar@persistent.co.in
2016-08-16 11:34:30,267 DEBUG [PopConnection-35494] davmail - > +OK USER : amit@company.com
2016-08-16 11:34:30,268 DEBUG [PopConnection-35494] davmail - < PASS **
2016-08-16 11:34:30,743 DEBUG [PopConnection-35494] davmail - executeFollowRedirects(https://outlook.office.com/owa)
2016-08-16 11:34:30,757 DEBUG [PopConnection-35494] davmail - executeFollowRedirects: https://outlook.office.com/owa/ redirectCount:1
2016-08-16 11:34:30,996 DEBUG [PopConnection-35494] davmail - executeFollowRedirects: https://login.microsoftonline.com/login.srf?wa=wsignin1.0&rpsnv=4&ct=1471327469&rver=6.6.6556.0&wp=MBI_SSL&wreply=https%3a%2f%2foutlook.office.com%2fowa%2f&id=260563&CBCXT=out&msafed=0 redirectCount:2
2016-08-16 11:34:31,975 DEBUG [PopConnection-35494] davmail.exchange.ExchangeSession - Ews endpoint not available at /ews/exchange.asmx status 500
2016-08-16 11:34:32,189 ERROR [PopConnection-35494] davmail.exchange.ExchangeSession - Invalid URL: null
2016-08-16 11:34:32,189 ERROR [PopConnection-35494] davmail.exchange.ExchangeSession - Ews endpoint not available at /ews/exchange.asmx status 500
2016-08-16 11:34:32,190 ERROR [PopConnection-35494] davmail.exchange.ExchangeSession - Exchange login exception: EWS end point not available
2016-08-16 11:34:32,190 ERROR [PopConnection-35494] davmail - Exchange login exception: EWS end point not available
davmail.exception.DavMailException: Exchange login exception: EWS end point not available
at davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:271)
at davmail.exchange.ews.EwsExchangeSession.<init>(EwsExchangeSession.java:138)
at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:144)
at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:94)
at davmail.pop.PopConnection.run(PopConnection.java:140)
2016-08-16 11:34:32,190 DEBUG [PopConnection-35494] davmail - > -ERR Exchange login exception: EWS end point not available
2016-08-16 11:39:32,291 ERROR [PopConnection-35494] davmail - Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.net.SocketInputStream.read(SocketInputStream.java:223)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at java.io.PushbackInputStream.read(PushbackInputStream.java:139)
at davmail.AbstractConnection$LineReaderInputStream.readLine(AbstractConnection.java:56)
at davmail.AbstractConnection.readClient(AbstractConnection.java:219)
at davmail.pop.PopConnection.run(PopConnection.java:101)
2016-08-16 11:39:32,291 DEBUG [PopConnection-35494] davmail - > -ERR Read timed out
I have installed davmail on Ubuntu 16.04 (64-bit). I am behind a proxy and have configured it through davmail.