Werk #19509 · Mar 24, 26
Fix Windows agent download command
The Windows agent download command shown in the agent registration slideout was missing the -G flag for curl.exe. Without it, curl sent a POST request instead of a GET, causing the server to respond with a 405 Method Not Allowed error. Because the -f flag was also absent, curl did not fail on this HTTP error and instead silently wrote the error response body to the output file, resulting in a useless ~1KB .msi file.
The command now includes -fG: -G forces a GET request and appends --data-urlencode parameters as URL query parameters, and -f makes curl exit with an error on HTTP failure instead of saving the error response.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b3All Editions