Closed delapecci closed 9 years ago
ECONNRESET
means that the server is disconnecting you. You should look at the logs of your server (if you have access to them off course)
However, I don't think your username should be like domain\myusername
but rather myusername
;-)
If you need to enter your domain, do it like this:
httpntlm.get({
url: 'https://email.mydomain.com/ews/exchange.asmx',
domain: 'domain',
username: 'myusername',
password: 'mypassword',
workstation: 'yourcomputername'
});
Hi, Sam I try to fetch data from exchange server with your great library with the following options: { 'url' : 'https://email.mydomain.com/ews/exchange.asmx', 'username': 'domain\myusername', 'password': 'mypassword' } but always get such error: { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
Would you please help me how should I set the connection options here?