Menu

#272 All network interfaces down or host unreachable

v1.0 (example)
closed
nobody
None
3
2018-08-30
2016-04-29
No

I've been using DavMail for several years now and it's always worked very well. However, yesterday it stopped working. I was down rev so I updated but the problem persists.

Problem Description: Unable to connect to exchange server (hosted Office365 for business). DavMail launches and the icon appears in taskbar. As soon as Thunderbird tries to communicate with the server, the red symbol appears over DavMail icon. Thunderbird asks me for a new password. (I did confirm that my password has not expired). As soon as I hit cancel, the red symbol dissappears.

If I exit out of DavMail and try to restart, the icon no longer appears but the applet does appear in the running processes.

Here is what shows up in the davmail.log: (I think I got all the pertinent stuff.)

2016-04-29 12:13:10,805 ERROR [ImapConnection-40974] davmail  - All network interfaces down or host unreachable !
2016-04-29 12:13:10,807 DEBUG [ImapConnection-40974] davmail  - > 1 NO LOGIN failed
2016-04-29 12:13:10,808 DEBUG [ImapConnection-40974] davmail  - < LOGIN ********
2016-04-29 12:13:12,323 WARN  [ImapConnection-40974] davmail.exchange.ExchangeSession  - All network interfaces down or host unreachable !
2016-04-29 12:13:12,323 DEBUG [ImapConnection-40974] davmail.exchange.ExchangeSession  - java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1967)
    at davmail.http.DavMailCookieSpec.validate(DavMailCookieSpec.java:46)
    at org.apache.commons.httpclient.HttpMethodBase.processCookieHeaders(HttpMethodBase.java:1643)
    at org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders(HttpMethodBase.java:1586)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1738)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at davmail.http.DavGatewayHttpClientFacade.getHttpStatus(DavGatewayHttpClientFacade.java:296)
    at davmail.exchange.ExchangeSession.isBasicAuthentication(ExchangeSession.java:358)
    at davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:197)
    at davmail.exchange.dav.DavExchangeSession.<init>(DavExchangeSession.java:500)
    at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:147)
    at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:94)
    at davmail.imap.ImapConnection.run(ImapConnection.java:112)
2016-04-29 12:13:12,335 ERROR [ImapConnection-40974] davmail  - All network interfaces down or host unreachable !
2016-04-29 12:13:12,336 DEBUG [ImapConnection-40974] davmail  - > 3 NO LOGIN failed
2016-04-29 12:16:39,940 DEBUG [main] davmail  - OS Name: Linux Java version: 1.8.0_77 64 System tray not supported Current Desktop: KDE
2016-04-29 12:16:40,674 DEBUG [CheckRelease] davmail.DavGateway  - DavMail released version: 4.7.2-2427

Ordinary I would assume this is a configuration error on my part. However, I have made no configuration changes to DavMail or Thunderbird. This happens on two different systems (that worked yesterday morning), one is OpenSUSE Leap 42.1 based (the log above) and the other is Deepin which is an Ubuntu derivative. The only changes I have made is normal system updates through zypper and apt-get, respectively.

All other network functions on both systems work just fine, I've disabled the firewall for troubleshooting. Perhaps there has been a Java change? I'm using OpenJDK on both systems.

One other note, my android phone can still connect to the Office365 server and get mail with no problems (I also thought maybe M$ might have started blocking requests from non-Outlook clients.)

Related

Support Requests: #272

Discussion

  • Peter D

    Peter D - 2016-04-30

    OK the same thing has happened to me in the past 48 hrs. My POP3 email client (Becky 2) has suddently stopped working with DavMail, showing the same error about the network interfaces being down. Here is the error message displayed by my email client:
    Authentication failed.
    Please confirm your user ID and password are correct.
    -ERR All network interfaces down or host unreachable!
    myemail@mydomain.com @ localhost

    Since I also use Office365, I suspect they have changed something at Microsoft.

    Peter

     
  • Peter D

    Peter D - 2016-04-30

    I added the /EWS/Exchange.asmx to DavMail's OWA URL setting and now my POP3 client can get my email again. I learned about this in the Discussion section:
    https://sourceforge.net/p/davmail/discussion/644056/thread/a7506489/#74a7

    See if this helps you, Lowell.

     
  • Lowell Higley

    Lowell Higley - 2016-05-02

    I did look at that now and it did solve my problem. Thanks, Peter.

     
  • Jerry P

    Jerry P - 2016-05-03

    This does not solve the problem for thunderbird/IMAP, and I don't think the brain dead setup here supports pop3. This is pretty ridiculous, everythime some idiot on the Micro$loth end decides to change something on the server end it breaks davmail. Anyone have other clues ? Getting real frustrating having to fix problems all the time with this setup but I don't know of any other alternatives. thx

     
  • Roland Schmitz

    Roland Schmitz - 2016-05-04

    I have the same problem using IMAP with Thunderbird on windows7, since some days.

     
  • Jerry P

    Jerry P - 2016-05-04

    I wonder if it has to do with java upgrade, issue seems to have started when I did the last update : ii oracle-java8-installer 8u92+8u91arm-2~really8u91~webupd8~0 all Oracle Java(TM) Development Kit (JDK) 8

    or perhaps thunderbird (but that was the day before):
    ii thunderbird 1:38.7.2+build1-0ubuntu0.14.04.1 amd64 Email, RSS and newsgroup client with integrated spam filter

    I can't seem to find a clear "fix" by reading the different threads

     
  • Jerry P

    Jerry P - 2016-05-16

    Does anyone have other clues ? It's stopped working for imap/thunderbird for over 2 weeks now and I don't see a clear fix. thx

     
  • Lowell Higley

    Lowell Higley - 2016-05-16

    Here's my environment...

    • OpenSUSE 42.1
    • OpenJDK 1.8.0.91-12.1
    • DavMail 4.7.2-2427
    • Thunderbird 38.7.0

    I am using IMAP to connect to the hosted Office365 exchange server. IMAP works fine for me ever since I put the full URL into the configuration.

    This morning SMTP stopped working (I updated java) but IMAP still fetches mail. I'll troubleshoot the SMTP issue shortly.

    If you want additional config info I'd be happy to share.

     
  • Jerry P

    Jerry P - 2016-05-16

    Last time I tried that it didn't work bot this time it did. For the record here is the info on my box:

    • Linux Mint 17.3
    • Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
    • davmail 4.7.2-2427-1
    • thunderbird 1:38.7.2+build1-0ubuntu0.14.04.1

    TB/IMAP works including smtp I think:

    davmail:
    Local IMAP port: 1143
    Local smtp port: 1025
    Exchange protocol: EWS

     
  • ebo

    ebo - 2016-06-21

    Same problem here !
    Login failed, Network interfaces are down etc..

     
  • Ahmed ZRIBI

    Ahmed ZRIBI - 2016-06-27

    I have tried this (put this in configuration file, we should probably respect case sensitive) and it works like a charm:
    davmail.url=https\://outlook.office365.com/EWS/Exchange.asmx

     
    • Roland Schmitz

      Roland Schmitz - 2016-06-28

      This URL works for me too
      @Ahmed ZRIBI: thank you very much!

       
      • ebo

        ebo - 2016-06-28

        Works for me also thanks

        Op di 28 jun. 2016 11:47 schreef Roland Schmitz r-sch@users.sf.net:

        This URL works for me too
        @Ahmed ZRIBI: thank you very much!


        Status: open
        Group: v1.0 (example)
        Created: Fri Apr 29, 2016 05:50 PM UTC by Lowell Higley

        Last Updated: Mon Jun 27, 2016 01:27 PM UTC
        Owner: nobody

        I've been using DavMail for several years now and it's always worked very
        well. However, yesterday it stopped working. I was down rev so I updated
        but the problem persists.

        Problem Description: Unable to connect to exchange server (hosted
        Office365 for business). DavMail launches and the icon appears in taskbar.
        As soon as Thunderbird tries to communicate with the server, the red symbol
        appears over DavMail icon. Thunderbird asks me for a new password. (I did
        confirm that my password has not expired). As soon as I hit cancel, the red
        symbol dissappears.

        If I exit out of DavMail and try to restart, the icon no longer appears
        but the applet does appear in the running processes.

        Here is what shows up in the davmail.log: (I think I got all the pertinent
        stuff.)

        2016-04-29 12:13:10,805 ERROR [ImapConnection-40974] davmail - All network interfaces down or host unreachable !
        2016-04-29 12:13:10,807 DEBUG [ImapConnection-40974] davmail - > 1 NO LOGIN failed
        2016-04-29 12:13:10,808 DEBUG [ImapConnection-40974] davmail - < LOGIN **
        2016-04-29 12:13:12,323 WARN [ImapConnection-40974] davmail.exchange.ExchangeSession - All network interfaces down or host unreachable !
        2016-04-29 12:13:12,323 DEBUG [ImapConnection-40974] davmail.exchange.ExchangeSession - java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1967)
        at davmail.http.DavMailCookieSpec.validate(DavMailCookieSpec.java:46)
        at org.apache.commons.httpclient.HttpMethodBase.processCookieHeaders(HttpMethodBase.java:1643)
        at org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders(HttpMethodBase.java:1586)
        at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1738)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at davmail.http.DavGatewayHttpClientFacade.getHttpStatus(DavGatewayHttpClientFacade.java:296)
        at davmail.exchange.ExchangeSession.isBasicAuthentication(ExchangeSession.java:358)
        at davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:197)
        at davmail.exchange.dav.DavExchangeSession.<init>(DavExchangeSession.java:500)
        at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:147)
        at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:94)
        at davmail.imap.ImapConnection.run(ImapConnection.java:112)
        2016-04-29 12:13:12,335 ERROR [ImapConnection-40974] davmail - All network interfaces down or host unreachable !
        2016-04-29 12:13:12,336 DEBUG [ImapConnection-40974] davmail - > 3 NO LOGIN failed
        2016-04-29 12:16:39,940 DEBUG [main] davmail - OS Name: Linux Java version: 1.8.0_77 64 System tray not supported Current Desktop: KDE
        2016-04-29 12:16:40,674 DEBUG [CheckRelease] davmail.DavGateway - DavMail released version: 4.7.2-2427

        Ordinary I would assume this is a configuration error on my part. However,
        I have made no configuration changes to DavMail or Thunderbird. This
        happens on two different systems (that worked yesterday morning), one is
        OpenSUSE Leap 42.1 based (the log above) and the other is Deepin which is
        an Ubuntu derivative. The only changes I have made is normal system updates
        through zypper and apt-get, respectively.

        All other network functions on both systems work just fine, I've disabled
        the firewall for troubleshooting. Perhaps there has been a Java change? I'm
        using OpenJDK on both systems.

        One other note, my android phone can still connect to the Office365 server
        and get mail with no problems (I also thought maybe M$ might have started
        blocking requests from non-Outlook clients.)


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/davmail/support-requests/272/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Support Requests: #272

  • Mickael Guessant

    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.