HTTP错误502.3 -BAD GATEWAWAY-操作计时
我正在使用node.js和turf.js来处理多边形的大数据,而ast.net MVC为UI进行处理,但是我会遇到一个错误http错误502.3-糟糕的网关
当超时到达2时分钟,node.js仍在处理。
我使用IIS访问我的node.js 这是web.config
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:5000/{R:1}" />
</rule>
<rule name="ReverseProxyInboundRule2" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:5000/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
<system.web>
<compilation debug="false" />
<httpRuntime executionTimeout="1000" />
</system.web>
</configuration>
I'm using node.js and turf.js for processing big data of polygons while AST.NET MVC for the UI but I'm getting an error HTTP Error 502.3 - Bad Gateway
when the timeout reaches 2 minutes while the node.js is still processing.
I use IIS to access my node.js
this is the web.config
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:5000/{R:1}" />
</rule>
<rule name="ReverseProxyInboundRule2" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:5000/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
<system.web>
<compilation debug="false" />
<httpRuntime executionTimeout="1000" />
</system.web>
</configuration>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论