Author Topic: EWS, basic authentication  (Read 3413 times)

sigurd

  • Newbie
  • *
  • Posts: 1
EWS, basic authentication
« 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

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: EWS, basic authentication
« Reply #1 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
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/