Closed RichardOzols closed 10 years ago
I have no idea. It's going to take me a while to try to reproduce this. Do you have any more details?
Are you using the auto-refresh in the latest version or calling refreshToken()
yourself?
Also, the error message you posted is from the callback from SFDC.insert()
, right?
If you are still having issues and you can answers my questions, feel free to re-open.
I just updated one of my apps to version 0.7.0 and noticed some strange error.
When I call the token refresh method, it works fine when I send it oauth data from the session, but returns an error when I send oauth data from my mongoDB.
This is working
This is returning and error
[Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read']
I have debugged both session and db user oauth details and they are the same. This only happens when the refresh token method is called everything else works fine like insert, quert etc... and refresh token works fine with versions 0.6.x., 0.7.0 is where this starts.
Hope you can help me figuring this one out.
Cheers