patchman
patchman copied to clipboard
Patchman server returns 400 Bad Request
Hello,
I installed Patchman server and client as described in INSTALL.md, and I successfully added the monitoring of local server packages by running patchman-client -s http://127.0.0.1/patchman
command on server.
The public IPv4 address of the client is added in Require IP
directive inside the apache Location
block, and on client machine, the client address is added to the ALLOWED_HOSTS
list, inside /etc/patchman/local_settings.py
file.
After running patchman-client -v -s http://example.com/patchman
(i have registered domain, just have replaced it with example.com after pasting it), near the end of the output from CURL, the response from server is the following:
HTTP/1.1 400 Bad Request
Date: Wed, 22 May 2024 12:15:35 GMT
Server: Apache/2.4.52 (Ubuntu)
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
<!doctype html>
<html lang="en">
<head>
<title>Bad Request (400)</title>
</head>
<body>
<h1>Bad Request (400)</h1><p></p>
</body>
</html>
@furlongm do you have any idea what might be causing the issue?