
PhilB. asked a question.
We have the service now connectors running to update CIs from our SLM gateway. This has worked for a while but recently its quite sporadic for completing the updates. I think the last successful attempt was after a reboot. I have this in the SVC logs which indicates an error :
2025-01-13 07:00:11,619 [4] INFO RetryRequestHandler - Request failed. Retrying in 00:02:00.
2025-01-13 07:00:11,619 [4] DEBUG RetryRequestHandler - [API Request]
HTTP Method: GET
URI: http://localhost:81/api/customers/1/sim/computers/?$format=json&$orderby=LastScanDate desc&$filter=LastScanDate gt DateTime'2025-01-04T08:00:41.2196883+00:00' and (IsServer eq true or IsServer eq false and IsPortable eq false or IsPortable eq true)&$inlinecount=allpages&$top=1
Authentication: Basic ** Hidden **
[Headers]
[Content]
[API Response]
HttpError Status code 400 Bad Request does not indicate success.
[Response]
Status code: 400 Bad Request
Authorization: Basic ** Hidden **
Does any one know what i should check for a code 400 error ?
Many thanks
Phil
Hi philB
Is your server http://localhost:81 reachable?
A 400 Bad Request error happens when a server cannot understand a request that's been made of it. It's called a 400 error because that's the HTTP status code that the web server uses to describe that kind of error.
A 400 Bad Request can happen for many reasons. Perhaps you've mistyped a URL and the server can't return a 404 error. Or maybe your web browser is trying to use an expired or invalid cookie.
Some servers that are not configured properly can also throw 400 errors instead of more helpful errors in some situations. For example, when you try to upload a file that's too big to some sites, you might get a 400 error instead of an error letting you know about the maximum file size.
Hi Detlev
Yes .. output shows the extender is running