-
Notifications
You must be signed in to change notification settings - Fork 584
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
DeprecationWarning: Buffer() is deprecated due to security and usability issues. #668
Comments
@msi-matthew I think this issue is coming from your mssql package. IISNode usually does not throw errors like these. [email protected] was released in 2016 and I would recommend updating the package. I have seen IISNode crashing on newer packages if the node.js version on the server is too old. Check your server's Node js version by using |
@msi-matthew The issue can also be because of IISNode's internal code (Interceptor.js). Check this issue: Azure#60. |
@nainkunal933 We're running node version Updating the Also, I get |
I've the same error.
The error occur when switch from http to https
|
@nainkunal933 i also update the Interceptor file still i am geting error |
@savanipoojan78 Which versions of |
"dependencies": { |
@savanipoojan78 Please provide some code. |
This comment by ottomeister on this StackOverflow question should help:
This issue can be closed. Issue #672 can be closed, too. |
Thanks for pointing that out. Adding |
@DjovDev yes but do you think silencing this issue is safe enough? any security side effects? |
@ayyash honestly I don't think using IISnode in general is secure, it seems to be a project that has been abandoned and deprecated in some manner. The last commit on this branch was 4 years ago. I am somewhat forced to use it as the company I work for only uses Windows based machines to host their applications on, and a few years ago it seemed like a good pick for our company. I (and maybe you too) should probably look into using Docker as a service on windows machines as it is actively supported by a large company at the moment. |
@DjovDev Microsoft has other good alternatives like HttpPlatformHandler and ARR since many years ago. |
I agree there are better alternatives by now. We have had great success in using PM2 in combination with IIS' reverse proxy to serve multiple applications on a windows machine thus far. |
When trying to chain pool connections using IISNode, [email protected], and [email protected] I get the following error
This is happens when trying to use promises to chain requests together as follows:
I can't tell which package is throwing this error, although I think it's caused by
IISNode
, or themssql
package.Does anyone have any guidance as to how to restructure these promises or which package needs to be modified to prevent this error?
I am using [email protected] since version 4.x+ crashes using IISNode.
The text was updated successfully, but these errors were encountered: