Welcome! Log In Create A New Profile

Advanced

Re: Nginx + Android + ssl = 400

February 28, 2015 01:27PM
В error логах - только такая строчка с debug:
2015/02/28 20:49:35 [info] 20623#0: *178128083 client sent no required SSL certificate while reading client request headers, client: 123.123.123.123, server: exchange.example.com, request: "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1", host: "exchange.example.com"

Ну и соответственно в access
exchange.example.com 123.123.123.123 - user@example.com [28/Feb/2015:20:49:35 +0300] "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 400 246 "-" "Android/5.0.2-EAS-2.0" "-" upstream - status:- time: - NONE


На рабочем хосте -
192.168.1.12 192.168.1.22 - user@example.com [28/Feb/2015:21:19:01 +0300] "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 200 0 "-" "Android/5.0.2-EAS-2.0" "-" upstream 192.168.1.253:443 status:200 time: 0.000 SUCCESS ED45D3CD01EDDB07 /C=RU/ST=Moscow/L=Moscow/O=Company/OU=User/CN=user@example.com/emailAddress=user@example.com

192.168.1.12 192.168.1.22 - user@example.com [28/Feb/2015:21:19:02 +0300] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=user%40example.com&DeviceId=android171621781534095&DeviceType=Android HTTP/1.1" 200 142 "-" "Android/5.0.2-EAS-2.0" "-" upstream 192.168.1.253:443 status:200 time: 0.300 SUCCESS ED45D3CD01EDDB07 /C=RU/ST=Moscow/L=Moscow/O=Company/OU=User/CN=user@example.com/emailAddress=user@example.com


nginx собран без опции --with-debug, с ним вывод был бы подробнее?
Пересобрать и обновить пока не смогу
Собрать такую же инфу по яблокам так же не выйдет - выходной как-никак :)

Andrey Kopeyko Wrote:
-------------------------------------------------------
> 28.02.2015 17:41, ingtar пишет:
> >
> > На момент ошибки в логах вот такой запрос:
> >
> > exchange.example.com 111.111.11.111 - user@example.com
> [28/Feb/2015:17:36:19
> > +0300] "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 400 246 "-"
> > "Android/5.0.2-EAS-2.0" "-" upstream - status:- time: -NONE - -
> > Смущает то, что на iOS все работает
>
> Смотрите, что шлёт яблочный клиент - предположу, что таки другое.
>
> И гляньте в error_log - там будут подробности про ошибку.
>
> > и этот же же конфиг на другом сервере тоже работает.
>
> Включите debug на обоих серверах
> (http://nginx.org/ru/docs/debugging_log.html и
> http://nginx.org/ru/docs/ngx_core_module.html#debug_connection),
> сделайте по 1 запросу, и тщательно изучайте\сравнивайте отладочные
> логи
> - и разница должна вам открыться.
>
>
> --
> Best regards,
> Andrey Kopeyko <andrey@kopeyko.ru>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Nginx + Android + ssl = 400

ingtar February 28, 2015 04:10AM

Re: Nginx + Android + ssl = 400

Andrey Kopeyko February 28, 2015 06:42AM

Re: Nginx + Android + ssl = 400

ingtar February 28, 2015 09:41AM

Re: Nginx + Android + ssl = 400

Andrey Kopeyko February 28, 2015 12:20PM

Re: Nginx + Android + ssl = 400

ingtar February 28, 2015 01:27PM

Re: Nginx + Android + ssl = 400

Andrey Kopeyko February 28, 2015 05:02PM

Re: Nginx + Android + ssl = 400

ingtar February 28, 2015 05:19PM

Re: Nginx + Android + ssl = 400

Anton Gorlov February 28, 2015 05:32PM

Re: Nginx + Android + ssl = 400

ingtar February 28, 2015 05:53PM

Re: Nginx + Android + ssl = 400

Anton Gorlov February 28, 2015 06:10PM

Re: Nginx + Android + ssl = 400

Andrey Kopeyko February 28, 2015 05:42PM

Re: Nginx + Android + ssl = 400

ingtar February 28, 2015 05:52PM

Re: Nginx + Android + ssl = 400

ingtar March 01, 2015 02:43AM

Re: Nginx + Android + ssl = 400

Maxim Dounin March 02, 2015 08:44AM

Re: Nginx + Android + ssl = 400

ingtar March 02, 2015 11:23AM

Re: Nginx + Android + ssl = 400

Илья Шипицин March 02, 2015 03:00PM

Re: Nginx + Android + ssl = 400

ingtar March 03, 2015 12:30PM

Re: Nginx + Android + ssl = 400

Aleksandr Sytar March 03, 2015 01:52PM

Re: Nginx + Android + ssl = 400

ingtar March 03, 2015 01:59PM

Re: Nginx + Android + ssl = 400

Gena Makhomed March 03, 2015 02:56PM

Re: Nginx + Android + ssl = 400

ingtar March 04, 2015 10:38AM

Re: Nginx + Android + ssl = 400

Maxim Dounin March 04, 2015 11:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready