diff --git a/changes/27548-installer-download-fail b/changes/27548-installer-download-fail index 2e50e737a4..c9edc0151f 100644 --- a/changes/27548-installer-download-fail +++ b/changes/27548-installer-download-fail @@ -1 +1 @@ -- Fixed software installer download errors by extending the timeout for the download endpoints. \ No newline at end of file +- Fixed software installer download and Fleet Maintained App add errors by extending the timeout for the download and FMA add endpoints. \ No newline at end of file diff --git a/cmd/fleet/serve.go b/cmd/fleet/serve.go index bcb43c5d03..f49b728053 100644 --- a/cmd/fleet/serve.go +++ b/cmd/fleet/serve.go @@ -1224,6 +1224,7 @@ the way that the Fleet server works. (req.Method == http.MethodPatch && strings.HasSuffix(req.URL.Path, "/package") && strings.Contains(req.URL.Path, "/fleet/software/titles/")) || (req.Method == http.MethodPost && strings.HasSuffix(req.URL.Path, "/bootstrap")) || + (req.Method == http.MethodPost && strings.HasSuffix(req.URL.Path, "/fleet_maintained_apps")) || (req.Method == http.MethodGet && strings.Contains(req.URL.Path, "/package/token")) || (req.Method == http.MethodPost && strings.Contains(req.URL.Path, "orbit/software_install/package")) { var zeroTime time.Time