简体   繁体   English

调用Azure Logic App中的存储过程期间的GatewayTimeout

[英]GatewayTimeout during call the stored procedure in Azure Logic App

I have stored procedure that should return some data. 我已存储的过程应该返回一些数据。 When I call this procedure using MS SQL Management studio, the call takes 1-3 seconds. 当我使用MS SQL Management Studio调用此过程时,调用需要1-3秒。
When I call this procedure using 'Execute stored procedure' or 'Execure SQL Query' actions in Azure logic app, I get GatewayTimeout responce after two minutes of waiting. 当我在Azure逻辑应用程序中使用“执行存储过程”或“执行SQL查询”操作调用此过程时,经过两分钟的等待后,我得到了GatewayTimeout响应。

网关超时

The problem was in parameters. 问题出在参数上。 If I set parameter as string variable from logic app and in my sql SP use this parameter as cast(@param as varchar(10)) , all is ok. 如果我将参数设置为逻辑应用程序中的字符串变量,并且在我的sql SP中将此参数用作cast(@param as varchar(10)) ,则一切正常。

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

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