-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 Forbidden on Connect-PRTGServer #319
Comments
|
This is our first time using PrtgAPI
It uses HTTPS
The certificate is considered valid by Firefox, it does not expire until August. |
When you generate the error, are you able to provide the output of $error[0].Exception.StackTrace In addition, what happens if you intentionally type the wrong username and password? The error that you're meant to get upon entering invalid credentials is Connect-PrtgServer : Could not authenticate to PRTG; the specified username and password were invalid. The fact you're getting the error you're getting indicates potentially something else is getting in the way. Is there a proxy in your environment? Does PrtgAPI work from the PRTG Core server itself? My lab has the same PRTG version as you and I can confirm PrtgAPI works without issue |
Here is the strack trace:
The same error. 403 Forbidden.
I'll need to check as I don't look after this PRTG Server, I just connect to it. It works if I just hit the server up with requests in python or curl. Is there something on the backend that connects differently? |
Can I request you close this request? A coworker gave me an internal only address that doesn't get the error, I suspect a WAF or something like that is between me and the PRTG server. |
What's going on?
I'm trying to log onto our PRTG Server with the PowerShell Module. My PRTG server is version 22.4.81.1532 x64.
Our PRTG API Version is 0.9.18
I've tried the following PowerShell script (passwords removed):
However whenever we try to log on we get the following error: "Response status code does not indicate success: 403 (Forbidden)."
We can connect to the PRTG Server API with curl with the same credentials without issue.
I have checked the following past issues but they do not seem to be related:
#308
#314
I have also checked the troubleshooting section here without any success (https://github.com/lordmilko/PrtgAPI/wiki/Troubleshooting)
Due Dilligance
The text was updated successfully, but these errors were encountered: