Stephan Lauffer | 21 Feb 2012 17:37
Picon

how to debug activesync "connection" problems

Hello!

I try to eval and test the ActiveSync part in horde. Therefore I have a 
4.0.13 horde environment (groupware... imp) on a apache2-2.2.12 with 
php5-5.2.14.

IMHO all needed prerequirements are fulfilled - test.php looks good so far.

The client ActiveSync part I would like to try with a android 2.3.6 atm.

My problem right now seems to be very early in ActiveSync connection:

If I try to connect with the droid it ends up in a apache ssl log...

  ...TLSv1 RC4-MD5 "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" - "-" 
"Moto-MB526/4.5.1"

(big eyes on OPTIONS)

and for this the access log just gives me a 200:

  ..."OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 200 -

But nothing else happened. So I put in rpc.php as first cmd

   system("touch /tmp/I-was-there");

...and I got the information: I never was there(!)

So I played around with all redirect and alias settings from our wiki 
(Continue reading)

Stephan Lauffer | 21 Feb 2012 19:04
Picon

Re: how to debug activesync "connection" problems

Hi!

Am 21.02.2012 17:37, schrieb Stephan Lauffer:

[...]

> Right know I can't sniff http since the droid only accepts https. Maybe

[...]

Ok, now I have a http and a https capture. If somebody is interested 
(and not there are not valid credentials in this capture) let me know.

For me it looks like I miss a OPTIONS answer from apache here. Some 
minutes ago I found "[MS-ASHTTP]: ActiveSync HTTP Protocol 
Specification"

(http://download.microsoft.com/download/5/D/D/5DD33FDF-91F5-496D-9884-0A0B0EE698BB/%5BMS-ASHTTP%5D.pdf) 
and in 2.2.4 I can read about the expected HTTP OPTIONS Response. Well 
since I do not send any...

Am I on the right way...?

--

-- 
Freundliche Gruesse,
Stephan Lauffer

[ University of Education Freiburg - Germany ]
[ http://www.ph-freiburg.de/zik/             ]
[ Fon/ Fax: +49 761 682 -559/ -486           ]
(Continue reading)

Michael J Rubinsky | 21 Feb 2012 19:22
Favicon
Gravatar

Re: how to debug activesync "connection" problems


Quoting Stephan Lauffer <lauffer <at> ph-freiburg.de>:

> Hi!
>
> Am 21.02.2012 17:37, schrieb Stephan Lauffer:
>
> [...]
>
>> Right know I can't sniff http since the droid only accepts https. Maybe
>
> [...]
>
> Ok, now I have a http and a https capture. If somebody is interested  
> (and not there are not valid credentials in this capture) let me know.
>
> For me it looks like I miss a OPTIONS answer from apache here. Some  
> minutes ago I found "[MS-ASHTTP]: ActiveSync HTTP Protocol  
> Specification"  
>
(http://download.microsoft.com/download/5/D/D/5DD33FDF-91F5-496D-9884-0A0B0EE698BB/%5BMS-ASHTTP%5D.pdf)
and in 2.2.4 I can read about the expected HTTP OPTIONS Response. Well since I do not send  
> any...

Horde can only send the response after it processes the request. If  
you are never reaching line 1 of rpc.php then there is no way we can  
process it. You need to find out why it is not reaching rpc.php - that  
is outside of Horde's control.

--

-- 
(Continue reading)

Michael J Rubinsky | 21 Feb 2012 19:13
Favicon
Gravatar

Re: how to debug activesync "connection" problems


Quoting Stephan Lauffer <lauffer <at> ph-freiburg.de>:

> Hello!
>
> I try to eval and test the ActiveSync part in horde. Therefore I  
> have a 4.0.13 horde environment (groupware... imp) on a  
> apache2-2.2.12 with php5-5.2.14.
>
> IMHO all needed prerequirements are fulfilled - test.php looks good so far.
>
> The client ActiveSync part I would like to try with a android 2.3.6 atm.
>
> My problem right now seems to be very early in ActiveSync connection:
>
> If I try to connect with the droid it ends up in a apache ssl log...
>
>  ...TLSv1 RC4-MD5 "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" -  
> "-" "Moto-MB526/4.5.1"
>
> (big eyes on OPTIONS)

This is an expected, and required, request.

>
> and for this the access log just gives me a 200:
>
>  ..."OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 200 -
>
> But nothing else happened. So I put in rpc.php as first cmd
(Continue reading)

Stephan Lauffer | 21 Feb 2012 23:16
Picon

Re: how to debug activesync "connection" problems

Hi!

Am 21.02.2012 19:13, schrieb Michael J Rubinsky:
>
> Quoting Stephan Lauffer <lauffer <at> ph-freiburg.de>:
>
>> Hello!
>>
>> I try to eval and test the ActiveSync part in horde. Therefore I have
>> a 4.0.13 horde environment (groupware... imp) on a apache2-2.2.12 with
>> php5-5.2.14.
>>
>> IMHO all needed prerequirements are fulfilled - test.php looks good so
>> far.
>>
>> The client ActiveSync part I would like to try with a android 2.3.6 atm.
>>
>> My problem right now seems to be very early in ActiveSync connection:
>>
>> If I try to connect with the droid it ends up in a apache ssl log...
>>
>> ...TLSv1 RC4-MD5 "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" - "-"
>> "Moto-MB526/4.5.1"
>>
>> (big eyes on OPTIONS)
>
> This is an expected, and required, request.
>
>>
>> and for this the access log just gives me a 200:
(Continue reading)

Stephan Lauffer | 22 Feb 2012 14:05
Picon

solved with workaround (Re: how to debug activesync "connection" problems)

Hi all!

Am 21.02.2012 23:16, schrieb Stephan Lauffer:
> Hi!
>
> Am 21.02.2012 19:13, schrieb Michael J Rubinsky:
>>
>> Quoting Stephan Lauffer <lauffer <at> ph-freiburg.de>:
>>
>>> Hello!
>>>
>>> I try to eval and test the ActiveSync part in horde. Therefore I have
>>> a 4.0.13 horde environment (groupware... imp) on a apache2-2.2.12 with
>>> php5-5.2.14.

[...]

We used the apache from SLES11SP1 and this seems to fail. The lighttpd 
from their distribution is working.

(A more recent version of Apache from openSUSE-12.1 worked, too.)

So I would just leave this note here if somebody else is trying to use 
sles11sp1 with apache... if somebody get it working with their apache 
please let me know.

We will test the upcomming sles11sp2 and leave a note here in this thread.

--

-- 
Freundliche Gruesse,
(Continue reading)

Ralf Lang | 22 Feb 2012 18:49
Picon
Favicon

Re: solved with workaround (Re: how to debug activesync "connection" problems)

Am 22.02.2012 14:05, schrieb Stephan Lauffer:
> Hi all!
>
> Am 21.02.2012 23:16, schrieb Stephan Lauffer:
>> Hi!
>>
>> Am 21.02.2012 19:13, schrieb Michael J Rubinsky:
>>>
>>> Quoting Stephan Lauffer <lauffer <at> ph-freiburg.de>:
>>>
>>>> Hello!
>>>>
>>>> I try to eval and test the ActiveSync part in horde. Therefore I have
>>>> a 4.0.13 horde environment (groupware... imp) on a apache2-2.2.12 with
>>>> php5-5.2.14.
>
> [...]
>
> We used the apache from SLES11SP1 and this seems to fail. The lighttpd
> from their distribution is working.
>
> (A more recent version of Apache from openSUSE-12.1 worked, too.)
>
> So I would just leave this note here if somebody else is trying to use
> sles11sp1 with apache... if somebody get it working with their apache
> please let me know.
>
> We will test the upcomming sles11sp2 and leave a note here in this thread.
>
>
(Continue reading)

Stephan Lauffer | 23 Feb 2012 11:55
Picon

Re: solved with workaround (Re: how to debug activesync "connection" problems)

hi all!

Am 22.02.2012 18:49, schrieb Ralf Lang:
> Am 22.02.2012 14:05, schrieb Stephan Lauffer:
>> Hi all!
>>
>> Am 21.02.2012 23:16, schrieb Stephan Lauffer:
>>> Hi!
>>>
>>> Am 21.02.2012 19:13, schrieb Michael J Rubinsky:
>>>>
>>>> Quoting Stephan Lauffer <lauffer <at> ph-freiburg.de>:
>>>>
>>>>> Hello!
>>>>>
>>>>> I try to eval and test the ActiveSync part in horde. Therefore I have
>>>>> a 4.0.13 horde environment (groupware... imp) on a apache2-2.2.12 with
>>>>> php5-5.2.14.
>>
>> [...]
>>
>> We used the apache from SLES11SP1 and this seems to fail. The lighttpd
>> from their distribution is working.
>>
>> (A more recent version of Apache from openSUSE-12.1 worked, too.)
>>
>> So I would just leave this note here if somebody else is trying to use
>> sles11sp1 with apache... if somebody get it working with their apache
>> please let me know.
>>
(Continue reading)

Stephan Lauffer | 29 Mar 2012 09:09
Picon

Re: solved with workaround (Re: how to debug activesync "connection" problems)

Hi!

Am 22.02.2012 18:49, schrieb Ralf Lang:
> Am 22.02.2012 14:05, schrieb Stephan Lauffer:
>> Hi all!
>>
>> Am 21.02.2012 23:16, schrieb Stephan Lauffer:
>>> Hi!
>>>
>>> Am 21.02.2012 19:13, schrieb Michael J Rubinsky:
>>>>
>>>> Quoting Stephan Lauffer <lauffer <at> ph-freiburg.de>:
>>>>
>>>>> Hello!
>>>>>
>>>>> I try to eval and test the ActiveSync part in horde. Therefore I have
>>>>> a 4.0.13 horde environment (groupware... imp) on a apache2-2.2.12 with
>>>>> php5-5.2.14.
>>
>> [...]
>>
>> We used the apache from SLES11SP1 and this seems to fail. The lighttpd
>> from their distribution is working.
>>
>> (A more recent version of Apache from openSUSE-12.1 worked, too.)
>>
>> So I would just leave this note here if somebody else is trying to use
>> sles11sp1 with apache... if somebody get it working with their apache
>> please let me know.
>>
(Continue reading)


Gmane