Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » ActiveSync Error 400 Bad Request
  •  
larsengstrom

Messages: 23
Karma: 0
Send a private message to this user
Good day.

I'm trying to sync a customers phone to their Kerio Mailserver, but I get an error along the lines with "HTTP Error 400 - Bad Request".
This customer got nearly 10 people syncing their phones to this server without problem, but after this person updated the firmware in her phone, we get this error.
I'll bring you up to date with all the versions involved tomorrow, but I thought I'd give it a go with this forumpost tonight anyway to see if anyone know the answer to this problem straight away.

Thanks in advance

Best Regards
Lars
  •  
larsengstrom

Messages: 23
Karma: 0
Send a private message to this user
This is the firmware on two identical phones, one working with ActiveSync and the other doesn't.

Working phone: W960i CXC 162037 R9J005

Nonworking phone: W960i CXC 162037 R9K009

As seen, they're different, anyone have a clue?

Best regards
Lars
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
I would say enabling ActiveSync debugging in KMS debug log may shed a light on this.
  •  
larsengstrom

Messages: 23
Karma: 0
Send a private message to this user
Quote:

[25/Feb/2009 10:08:06][387641856] {activesync} ActiveSyncRequest::Initialize: Client: 359502010081653 (2.5) from 217.213.81.66:52927: User: username<_a.t_>domain.se, Cmd: FolderSync, request: 03,01,6A,00,00,07,56,52,03,30,00,01,01 [..j...VR.0...]


That's the message I get in the debuglog.
  •  
larsengstrom

Messages: 23
Karma: 0
Send a private message to this user
Quote:


ClearMessageEntriesL() error: 0x0
mtminstaller eror: 0x0
Starting syncronization
initiated by user.
-------------

DActiveSyncEngine::CanPerformSync() - Priority : 0x1
DActiveSyncEngine::CanPerformSync() - Finished : 0x1
Preparing synchronization
CanConnectToInternet() - Checking Connection.
IAP : Ad-Hoc Bluetooth PAN, Type : LANService, ID : 4
IAP : Telia MMS, Type : OutgoingGPRS, ID : 6
IAP : Telia Online, Type : OutgoingGPRS, ID : 7
SNAP : Internet, ID : 1
DSymbianV2InternetConnectEngine::SetupConnectionPrefs() - SNAP ID : 1
DSymbianV2InternetConnectEngine::RunL()
mCurrStage = 0x1
statusCode = 0x0
DSymbianV2InternetConnectEngine::RunL() - Network Status :0x1
Starting synchronization...
2.016 (345)
2008-01-28 19:07:01
Heap Usage: 274312
Heap Available: 22832
Preparing synchronization
DActiveSyncDataManager::PrepareForCalendarSync()
DActiveSyncDataManager::PrepareForContactsSync()
DActiveSyncDataManager::PrepareForEMailSync()
DSymbianMessageManager::HandleSessionEventL() - EMsvServerReady
DActiveSyncEngine::RunTask() - Ready for StartSync
EstablishInternetTimeoutInternalL() - Time Out Sec : 2100
IAP used : 0x7
Bearer ID : 3
MODEM Bearer
LastSocketActivityTimeout : -1
LastSocketClosedTimeout : 2100
DSymbianV2InternetConnectEngine::Connect()
DSymbianV2InternetConnectEngine::SetupConnectionPrefs() - SNAP ID : 1
Connecting to the internet...
IConn - KStartingSelection: 0x0
DSymbianV2InternetConnectEngine::RunL()
mCurrStage = 0x2
statusCode = 0x0
connection state = 0x2
DSymbianV2InternetConnectEngine::RunL() : KErrNone - Connection created succesfully.
DSymbianHTTPSession::InternetConnect_RecievedResponse() - Connected To Internet
DSymbianHTTPSession::MakeReady() - Removing UA Filter
DSymbianHTTPSession::MakeReady() - Removing Validation Filter
SetupProxyIfRequiredL() - Preparyng PROXY info.
SetupProxyIfRequiredL() - Turning Proxy OFF
Linking to Exchange-server...
DActiveSyncEngine::PrepareOptionsCommand() : 0x2
DActiveSyncEngine::PrepareActiveSyncCommand() : 0x2
Initiating Submission of the HTTP Transaction (Symbian)
URL (Built) : http://Mail.domain.tld./Microsoft-Server-ActiveSync?User=foo .bar&DeviceId=359502010081802&DeviceType=W960i

DSymbianHTTPTransaction::SubmitSymbianTransaction() - SubmitL() successfull.
Gprs connection successful: 0x7
A connection has been established.
IConn - KFinishedSelection: 0x0
IConn - KLinkLayerOpen: 0x0
MHFRunL() - STATUS: 0x4
2008-01-28 19:07:03
DSymbianHTTPSession::MHFRunL() - EGotResponseHeaders: 200 OK
Content-Length: 0x0
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x6
2008-01-28 19:07:03
DSymbianHTTPSession::MHFRunL() - EResponseComplete
DSymbianHTTPSession::MHFRunL() - ESucceeded
Recieved HTTP Transaction Response (Symbian)
DActiveSyncEngine::ProcessCurrentCommandResponse() : EActiveSyncStep_Options
DSymbianHTTPTransaction::CloseSymbianTransaction() - Closing.
Connecting to Exchange...
DActiveSyncEngine::PrepareFolderSyncCommand() : 0x3
DActiveSyncEngine::PrepareActiveSyncCommand() : 0x3
DActiveSyncDataManager::CollectCommandData() - ActiveSync command : 0x3
Initiating Submission of the HTTP Transaction (Symbian)
URL (Built) : http://Mail.domain.tld./Microsoft-Server-ActiveSync?User=foo .bar&DeviceId=359502010081802&DeviceType=W960i&C md=FolderSync

DSymbianHTTPTransaction::SubmitSymbianTransaction() - SubmitL() successfull.
MHFRunL() - DONE: 0x0
DSymbianHTTPTransaction::OverallDataSize() - Data Size: 0xD
DSymbianHTTPTransaction::OverallDataSize() - Data Size: 0xD
Send LAST chunk: 0xD
MHFRunL() - STATUS: 0x4
2008-01-28 19:07:05
DSymbianHTTPSession::MHFRunL() - EGotResponseHeaders: 400 Bad request
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x5
2008-01-28 19:07:05
DSymbianHTTPSession::MHFRunL() - EGotResponseBodyData Size:0xF6
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x5
2008-01-28 19:07:05
DSymbianHTTPSession::MHFRunL() - EGotResponseBodyData Size:0x0
MHFRunL() - DONE: 0x0
MHFRunL() - STATUS: 0x6
2008-01-28 19:07:05
DSymbianHTTPSession::MHFRunL() - EResponseComplete
DSymbianHTTPSession::MHFRunL() - EFailed
DActiveSyncEngine::HTTP_RecievedResponse() - HTTP Transaction Failed
Servererror: 400
DActiveSyncEngine::ProcessCurrentCommandResponse() : EActiveSyncStep_FirstFolderSyncCmd

<HTML><HEAD><TITLE>Error 400 Bad Request</TITLE></HEAD><BODY><H1>400 Bad Request</H1>BadRequest. (URI /Microsoft-Server-ActiveSync?User=foo.bar&amp;DeviceId=3 59502010081802&amp;DeviceType=W960i&amp;Cmd=FolderSy nc) <BR>

<BR>
</BODY></HTML>

***Try synchronize again.
If the error persists restart the phone
and try to synchronize again.

0x7370D02 (activeSyncErrTransactionFailed)
***Synchronization
failed.
2008-01-28 19:07:05
Heap Usage: 323464
Heap Available: 13180
Last sync: *ERROR* See log.
DStargateAppUi::ActiveSync_ReportError():0x7370D02
DActiveSyncEngine::HTTP_RecievedResponse()
MHFRunL() - DONE: 0x0
DActiveSyncEngine::CancelSyncInternal() - STARTED.
DSymbianHTTPTransaction::CloseSymbianTransaction() - Closing.
DSymbianHTTPSession::DisconnectFromInternet()
DSymbianHTTPSession::DisconnectFromInternet() - Closing HTTP Session
DSymbianV2InternetConnectEngine::CloseConnection()
DActiveSyncEngine::CancelSyncInternal() - AdjustPrefs.
CancelSyncInternal() - FINISHED.
DSymbianV2InternetConnectEngine::RunL()
mCurrStage = 0x2
statusCode = 0x0
connection state = 0x3
DSymbianV2InternetConnectEngine::RunL() : KErrNone - closing connection.
DSymbianV2InternetConnectEngine::CloseConnectionInternal() : Disconnecting from the internet.
Disconnect Finished!



(Bump) This is the Active Sync log , translated some by myself.
Another phone just got updated to the latest firmware wich gave it the same error, so now I've got two phones wich ActiveSync doesn't work for.

Best Regards
Lars
Previous Topic: Migrate User to New Domain
Next Topic: Customizing messages
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Mon Nov 20 12:36:09 CET 2017

Total time taken to generate the page: 0.00429 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.