Api Managment无法加载操作列表。 SMAPI响应中的意外状态代码:502 [英] Api Managment Could not load list of operations. Unexpected status code in SMAPI response: 502

查看:152
本文介绍了Api Managment无法加载操作列表。 SMAPI响应中的意外状态代码:502的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

加载我的某个API的操作时会出现此错误。将信息添加到未加载此信息的操作的请求主体时发生错误。显然是因为它很多。所以我认为页面很重,所以
尝试加载它时响应时间已经用尽了。我怎样才能增加这段时间?

This error appears when loading the operations of one of my APIs. The error occurred when adding information to the request body of the operations where this information was not loaded. Apparently because it is a lot. So I think the page was very heavy so the response time is exhausted when trying to load it. How can I increase this time?

推荐答案

嗨Cinthya, 

Hi Cinthya, 

您可以设置超时时间转发请求政策。 

You can set the timeout in the forward-request policy. 

https://msdn.microsoft.com/en-us/library/azure/dn894085。 aspx#ForwardRequest

此外,timeout属性是Web服务中的一个属性。

1。
timeout =" integer"
  - >调用后端服务之前的超时间隔(以秒为单位)。    默认值:
无超时

1. timeout="integer" --> The timeout interval in seconds before the call to the backend service fails.  Default: No timeout

2.   follow-redirects =" true
|假QUOT; <跨度>&NBSP; - >指定后端服务的重定向是由网关跟踪还是返回给调用者。     默认值:
false

2. follows-redirects="true | false" --> Specify whether redirects from the backend service are followed by the gateway or returned to the caller.   Default: false

您可以通过不同方式设置超时属性:



1.   通过
代码提及属性如下所示:


这篇关于Api Managment无法加载操作列表。 SMAPI响应中的意外状态代码:502的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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