Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script dying on FindItem(); #16

Closed
Zxurian opened this issue Jan 25, 2012 · 4 comments
Closed

script dying on FindItem(); #16

Zxurian opened this issue Jan 25, 2012 · 4 comments

Comments

@Zxurian
Copy link

Zxurian commented Jan 25, 2012

so I have implemented the library using examples provided (code here: http://pastebin.com/vbKSiNi0 )

it was working fine previously, but now is dying without any errors being generated.

When trying to execute the script, it dies drectly after the line $response = $ews->FindItem($request); without any output at all. No errors are generated server side.

I have confirmed the username / passowrd I am using are correct, as I can successfully log into the host at https://#host#/owa (Username is in the #domain# \ #username# format)

Looking at a similar issue posted here, running the following command
curl https://webmail.clintonct.org/EWS/Exchange.asmx -w %{http_code} --ntlm -u "*****":"*****" -k
results in a 401. Does this mean that I need to have the Exchange Server opened so that that file is publicly accessible?

@Zxurian
Copy link
Author

Zxurian commented Jan 26, 2012

perform a remote exchange test via http://www.testexchangeconnectivity.com for Synchronization, Notification, Availability, and Automatic Replies (OOF) with the credentials that I'm using comes back with successful tests.

@jamesiarmes
Copy link
Owner

If the curl command is returning a 401 then that points to one of two problems:

  1. The username and password combination are not correct. Try changing your username to just "V-Enterprise", but it should accept the format that you have it.
  2. There is an issue with your version of cURL. See Request always returns null  #11 (comment) for how I had to compile cURL from source on Ubuntu.

@Zxurian
Copy link
Author

Zxurian commented Feb 10, 2012

Yes, after further investigation, it was found to be a problem with the curl library. The host has been notified and they'll let me know when they patch the system.

@jamesiarmes
Copy link
Owner

Excellent, marking this a duplicate of #11 then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants