Discussion:
[Davmail-users] 500 - internal server error
Christoph Kling
2017-05-13 02:27:16 UTC
Permalink
Hi,



First of all, thanks for providing this awesome software.



I'm trying to use davmail to connect to an Exchange 2003 server. Everything
worked so far, but suddenly, since about a week, I can't receive mails
anymore. If I log in via POP, the davmail forwards an HTTP 500 internal
server error message from the Exchange server.



I've attached a full log file with all log levels set to DEBUG. Can someone
tell me what I should look for to solve this?



In the log file, I replaced "xxx" for the name of the Exchange server, "yyy"
for the user name and "zzz" for the mailbox name.



Please don't stumple over the "Interner Serverfehler" error message string.
It is German and simply means "internal server error".



Thanks in advance.



Best,

Christoph
Geert Stappers
2017-05-13 08:53:33 UTC
Permalink
Post by Christoph Kling
Hi,
First of all, thanks for providing this awesome software.
I'm trying to use davmail to connect to an Exchange 2003 server. Everything
worked so far, but suddenly, since about a week, I can't receive mails
anymore.
And what was changed?
Post by Christoph Kling
If I log in via POP, the davmail forwards an HTTP 500 internal
server error message from the Exchange server.
I've attached a full log file with all log levels set to DEBUG.
Can someone tell me what I should look for to solve this?
Just be aware that the Exchange server might have been updated.

Play with connection mode in davmail.properties
Post by Christoph Kling
In the log file, I replaced "xxx" for the name of the Exchange server, "yyy"
for the user name and "zzz" for the mailbox name.
Please don't stumple over the "Interner Serverfehler" error message string.
It is German and simply means "internal server error".
Part of the logfile, the 500 part, which is after a 404.

2017-05-13 04:13:53,040 DEBUG [PopConnection-40524] httpclient.wire.header - >> "Content-Length: 464[\r][\n]"
2017-05-13 04:13:53,040 DEBUG [PopConnection-40524] httpclient.wire.header - >> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
2017-05-13 04:13:53,040 DEBUG [PopConnection-40524] httpclient.wire.header - >> "[\r][\n]"
2017-05-13 04:13:53,041 DEBUG [PopConnection-40524] httpclient.wire.content - >> "<?xml version="1.0"?>[\n]"
2017-05-13 04:13:53,041 DEBUG [PopConnection-40524] httpclient.wire.content - >> "<d:searchrequest xmlns:d="DAV:">[\n]"
2017-05-13 04:13:53,041 DEBUG [PopConnection-40524] httpclient.wire.content - >> " <d:sql>SELECT "http://schemas.microsoft.com/exchange/permanenturl","DAV:uid","http://schemas.microsoft.com/mapi/proptag/x0e230003","http://schemas.microsoft.com/mapi/proptag/x0e080003" FROM SCOPE('Shallow TRAVERSAL OF "/exchange/zzz/Posteingang"') WHERE ("DAV:isfolder" = false And "DAV:ishidden" = false) ORDER BY "http://schemas.microsoft.com/mapi/proptag/x0e230003" DESC</d:sql>[\n]"
2017-05-13 04:13:53,041 DEBUG [PopConnection-40524] httpclient.wire.content - >> "</d:searchrequest>"
2017-05-13 04:13:53,041 DEBUG [PopConnection-40524] org.apache.commons.httpclient.methods.EntityEnclosingMethod - Request body sent
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "HTTP/1.1 500 Interner Serverfehler[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "HTTP/1.1 500 Interner Serverfehler[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "Connection: close[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "Date: Sat, 13 May 2017 02:13:53 GMT[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "Server: Microsoft-IIS/6.0[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "X-Powered-By: ASP.NET[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "Content-Type: text/html[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "Content-Length: 153[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "MS-WebStorage: 6.5.7638[\r][\n]"
2017-05-13 04:13:53,123 DEBUG [PopConnection-40524] httpclient.wire.header - << "[\r][\n]"
2017-05-13 04:13:53,126 DEBUG [PopConnection-40524] httpclient.wire.content - << "<HTML>[\r]<HEAD>[\r]<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">[\r]</HEAD>[\r]<body><h2>HTTP/1.1 500 Interner Serverfehler</h2></body></HTML>"


Hope this helps



Groeten
Geert Stappers
--
Leven en laten leven
Loading...