linkedin / pyexchange

Python wrapper for Microsoft Exchange
Apache License 2.0
153 stars 93 forks source link

NTLM Authentication Error #77

Closed tinyweasel closed 7 years ago

tinyweasel commented 7 years ago

We've been using PyExchange to read appointments in an Outlook calendar in work, and recently after a seemingly unrelated code release have been getting "FailedExchangeException: Unable to parse response from Exchange - check your login information. Error: None". I've narrowed the error down to when the ExchangeNTLMAuthConnection sends "request = urllib2.Request(self.url, data=body, headers=headers)" to our company's Exchange URL, it's getting an empty string from "urllib2.urlopen(request).read(). I've tried reading another URL with this method and it returns data, I can't figure out why it's getting an empty string here. The login details haven't been changed or altered in the db where they're stored. Can anyone help?

tinyweasel commented 7 years ago

This turned out to be a password issue, unsurprisingly.