Menu

#483 Authentication errors

v4.1.0
closed-invalid
nobody
None
5
2018-06-16
2012-11-14
Julius
No

I\'m getting authentication errors from DavMail from time to time. I have the impression that DavMail mixes up my accounts (even though both have an identical password). The username is similar for both of them, the second account has the same username as the first but with a 1 added.

When I restart DavMail, the problems are always fixed for the first account that I then try to access. The second account (often) fails then. I have attached a log file. After a while, both accounts tend to fail. A restart of DavMail (not Thunderbird) immediately fixes this.

Using Windows 7, Java 1.6u35 (64-bit) and Thunderbird version 16.0.2.

Discussion

  • Julius

    Julius - 2012-11-14

    Log file containing multiple authentication failures

     
  • Mickael Guessant

    I don't think this is a mixed account information issue. It's probably some kind of session timeout that is not detected correctly by DavMail
    => session reopen fails

     
  • Julius

    Julius - 2012-11-19

    That's quite possible actually. I also have the impression that over time (matter of days) the problems seem to mostly disappear.
    Is there anything else I could provide to help solve this problem?

     
  • Mickael Guessant

    You could try to set WIRE logging category to DEBUG to get more details. Warning; this will slow down DavMail a little bit.

     
  • Julius

    Julius - 2012-11-20

    I've enabled the WIRE logging now. I'll upload a new log when the problem occurs again.

    Another realization I just had though, the hostname I've set up in DavMail is load-balanced through DNS (it returns two IP addresses in random order). Maybe DavMail thinks it can reuse sessions to one host with another while this is not the case?

     
  • Julius

    Julius - 2012-11-21

    Log file containing WIRE DEBUG log

     
  • Julius

    Julius - 2012-11-21

    I just uploaded a second file with WIRE logging set to debug at a moment there was a login issue.

    I also changed my DavMail settings to use one of the two mailservers directly (this is not in the log file), this seems to work without problems so far, so I guess the problem is indeed related to the load balancing.

     
  • Mickael Guessant

    There may be a difference between the two Exchange servers: one answers redirect at /exchange, the other one directly 401.

    You should probably try to force DavMail in EWS mode and use the following url:
    https://webmail.nl.hr.group/owa/

     
  • Julius

    Julius - 2012-11-23

    Log file containing WIRE DEBUG log with suggestion to use /owa + force EWS

     
  • Julius

    Julius - 2012-11-23

    It seems that's not just it. I've attached another log with your suggested settings.

     
  • Julius

    Julius - 2012-11-23

    I just tested the URLs in a webbrowser. Seems the setup here is just completely broken. One server has /exchange and /exchweb and the other has /owa. When the other is in a different mood, it seems to have /owa as well, but this is not reliable.

    I'll just hardcode one of the servers in my settings, I don't think this is something that DavMail can solve. Otherwise I'll try to provide more information.

    Thanks a lot for your help!

     
  • Mickael Guessant

    • status: open --> pending
     
  • Mickael Guessant

    • status: pending --> closed-invalid
    • Group: --> v4.1.0
     
  • Mickael Guessant

    Server side issue

     

Log in to post a comment.

MongoDB Logo MongoDB