Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.4k views
in Technique[技术] by (71.8m points)

gateway - Execution Timeout Expired Azure Logic App

We have an excessively complex stored procedure in SQL Server (which I did not write and cannot change).

I created an Azure logic app, using a "Recurrence" (not a "Sliding Window") trigger, with an "Execute stored procedure (V2)" action, and set the "frequency" to run daily at 22:00 (10pm).

But, I try running it manually just to test it (Run Trigger). It runs for between 9 1/2 and 10 1/2 minutes, then fails with a "Bad Gateway" and "Error 504" and "Timeout Expired" error (see JSON at bottom):

How do I increase the timeout? Is there a simple setting buried in Azure that I'm missing?

I never specified any gateway, and another, much simpler stored procedure with no gateway specification executed fine.

And lastly, I am an Azure neophyte.

Thank you.

{ "error": { "code": 504, "source": "logic-apis-eastus2.azure-apim.net", "clientRequestId": "{I removed the client request Id before posting this}", "message": "BadGateway", "innerError": { "status": 504, "message": "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. clientRequestId: {I removed the client request Id before posting this}", "error": { "message": "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding." }, "source": "sql-eus2.azconn-eus2.p.azurewebsites.net" } }


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...