salt: Add configurable response timeout to rest_cherrypy

Description of Issue/Question

I am trying to make a REST call for salt-run cloud.profile prof=my-ec2 instances=node1 using powershell which times out with the following error, Invoke-Restmethod : 504 Gateway Timeout The gateway server did not receive a timely response Powered by CherryPy 3.2.2

We have passed a timeout variable to Invoke-Restmethod which is 10 mins still we are facing timeout issues.

Please suggest.

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (13 by maintainers)

Most upvoted comments

Sorry, just worked out my issue was related to nginx. We use it to secure the API port, as enabling ssl on a salt master in docker fails to load salt-api.