HTTP错误502.3 -BAD GATEWAWAY-操作计时

发布于 2025-02-13 11:00:42 字数 964 浏览 0 评论 0原文

我正在使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文