503服务不可用收到带有表单数据的api请求的错误 [英] 503 Service Unavailable Error received for api request that have a form data

查看:152
本文介绍了503服务不可用收到带有表单数据的api请求的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我收到的API错误是因为api请求有一个表单发布数据作为请求的一部分发送。服务器扩展没有问题,服务器能够在通过浏览器访问时完全正常地处理请求。另外,没有表单帖子输入的相同api的一些
方法工作正常。我检查了上下文参数和表单发布参数,它们似乎很好。有没有人遇到网络性能测试这样的问题?

解决方案

你好chetanap,


您在执行Web测试或执行负载测试时遇到此问题?


>>服务器扩展没有问题,服务器能够通过浏览器访问完全正常的服务。


据我所知, 503服务不可用错误是HTTP响应状态代码,表示服务器暂时无法处理请求。当服务器将数据流发送回网站时,就会发生这种情况。
503服务不可用错误表示服务器仍在正常运行,因为它可以处理请求并选择返回503响应代码。


<请确保应用程序池帐户的密码准确无误。


请检查Windows事件日志并进行分析。


I找到了一个可能对你有帮助的博客:


https://blogs.msdn.microsoft.com/tijujohn/2012/01/04/503-service-unavailable-and-load-user-profile/


问候,


Judyzh


Hi,

I am receiving a 503 error for api requests that have a form post data sent as part of the requests. There is no issue with the server scaling and the server is able to service the requests perfectly fine when accessed through the browser. Also the some methods of the same api that do not have a form post input work fine. I checked the context parameters and the form post parameters and they seem to be fine. Has anyone faced such an issue with web performance test?

解决方案

Hi chetanap,

Did you meet this issue when executed the web test or executed the load test?

>> There is no issue with the server scaling and the server is able to service the requests perfectly fine when accessed through the browser.

As far as I know, 503 Service Unavailable Error is an HTTP response status code indicating that a server is temporarily unable to handle the request. It happens when server sends data stream back to the web site. 503 Service Unavailable Error is an indication that the server is still functioning properly, because it could process the request and has opted to return 503 response code.

Please make sure the password for the application pool account is accurate and valid.

Please check the windows event log and analyze it.

I have found a blog about this issue that might help you:

https://blogs.msdn.microsoft.com/tijujohn/2012/01/04/503-service-unavailable-and-load-user-profile/

Regards,

Judyzh


这篇关于503服务不可用收到带有表单数据的api请求的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆