-
Notifications
You must be signed in to change notification settings - Fork 72
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
error code:0 #62
Comments
You may not have "Basic Authentication" enabled on ews virtual directory, it is not enabled by default. you have to enable this after configuring server. following command help enable basic authentication.
make sure you know what you are doing before running above script, exposing basic auth without SSL may expose your credential to wild. I have not tested untrusted certificate with |
did you test this? |
Hi I have the exact same problem. I belive it is caused by not trusting server cert. I also tried C++ api and I had problem with certificate but there was an option to disable certificate check and it works. I don't know how to disable certification check in this api. |
try this |
Thanks it works now! |
I have one more question. How can I make the script work when I open index.html in browser. I tried browserify but no luck. |
browser has XHR cross site limitation, Exchange does not support HTTP OPTION verb, no point using browser. you can use it in nw.js or in ElectronJS projects as npm module |
Hello everyone,
I'm trying to connect to my exchange server (Azure VM + exchange server 2016 + but without autodiscover) with the following code:
The Ews request is the following :
And i got the following error :
Error in calling service, error code:0
Am I doing something wrong?? Or maybe the server is not configured properly??
Cheers,
The text was updated successfully, but these errors were encountered: