AquaMail Forum

English - Android => Bug reports => Topic started by: sigurd on March 20, 2014, 07:09:20 pm

Title: EWS, basic authentication
Post by: sigurd on March 20, 2014, 07:09:20 pm
Hi

I am unable to get my aquamail to connect to our company exchange server. From the log file I believe this may have to do with the authentication steps. It looks like the server expects basic authentication and that this is unexpected by aquamail.

The log file is attached.

Regards,
Sigurd
Title: Re: EWS, basic authentication
Post by: Kostya Vasilyev on March 24, 2014, 12:02:41 am
Thank you for the log.

In general, Basic authentication is definitely supported, but the server is doing something strange:

Correct:

WWW-Authenticate: Basic, Realm=""

Your server:

WWW-Authenticate: Basic

Note that the "Realm" part is missing -- and then the Apache HTTP library doesn't like this.

However, I am unable to tell where the code is actually failing (it's somewhere inside the library).

I made a new build for you with better logging (during EWS account setup). Would appreciate a new log.

http://www.aqua-mail.com/download/AquaMail-market-1.3.23.2.apk