简体   繁体   English

502 异常 - Azure 虚拟机

[英]502 Exception - Azure Virtual Machine

I have azure virtual machine, hosted angular application which is having NodeJs as a backend.我有 azure 虚拟机,托管有 NodeJs 作为后端的 angular 应用程序。

Sometimes it is throwing 502 exception.有时它会抛出 502 异常。

502 异常

If we refresh the page and try to hit the api then we get response.如果我们刷新页面并尝试点击 api,我们就会得到响应。 But, sometimes it throws 502 and tells nothing other than this.但是,有时它会抛出 502 并且除此之外什么也不说。 We tried capturing IIS logs, there also no info about this exception.我们尝试捕获 IIS 日志,也没有关于此异常的信息。 Please help me to resolve this issue.请帮我解决这个问题。

It is Server Side Problem.这是服务器端问题。 Kindly check the proxy or ip you're hitting.请检查您正在点击的代理或 IP。 502 Bad Gateway Error, which indicates that a server somewhere within the server stack — specifically, one which is acting as a gateway or proxy itself — received an invalid response from a different server. 502 Bad Gateway Error,这表明服务器堆栈中某处的服务器——特别是充当网关或代理本身的服务器——收到来自不同服务器的无效响应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM