-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Response status code does not indicate success: 500 (Internal Server Error) #312
Comments
Does the very specific path |
Hi, I am seing this same issue. Code
Exception:
Webserver logs: Both the folder exists, and the file "BGP-FULL.oidlib" exists. |
Yes, the path exist on PRTG Core Server. |
Can you run Process Monitor while attempting to create the sensor using PrtgAPI and filter for all entries where the path contains Based on this, we may see some specific error messages - e.g. items with status |
With running Process Monitor on PRTG Core Server, one new line is shown, when process following command:
Where should I see a |
I opened a Paessler case. Answer from Paessler Support: Paessler tested my scenario and was able to reprocude the issue in browser (not in PRTG GUI, but API Calls). If API query is changed and As a result Paessler Support suspect an error / missing update in the API and recommend to report this to @lordmilko If I compare the Paessler API call with mine from debug output |
Please be advised I have managed to reproduce this issue and can confirm this is a bug in PrtgAPI If you specify |
Aha, is this fixable without breaking too much? |
Hi all, Please be advised a fix for this has now been pushed Can you please follow the Manual installation instructions and advise whether PrtgAPI 0.9.18-preview.8 resolves your issue? |
I, atleast, can confirm that this worked for me with the latest .net lib and additionally setting the DynamicType to true.
Thank you for excellent following up (again), I have been stuck with this issue for quite some time :) |
The fix with 'PrtgAPI 0.9.18-preview.8' is working well in my case. thank a lot @lordmilko for your high-speed fix. |
What's going on?
Have you ever had the Error Message from PRTGServer: 500 (Internal Server Error)?
I try to add a snmplibrary Sensor with PRTGApi Module and can not add any sensor for a specific snmplibrary.
(In PRTG GUI, the same snmplibrary is working well).
Steps to reproduce
In PRTG Serverlog, i found following logEntries:
Core.log
2022-10-28 04:45:52.485849 ERRR TId 16024 Core> SendMetaRequest error(Cannot open file "C:\Program Files (x86)\PRTG Network Monitor\snmplibs\". The system cannot find the path specified)
CoreWeb Server.log
2022-10-28 04:40:48.207350 ERRR TId 9288 CoreWebServer> Webserver: Error (/controls): Internal Error: Cannot open file "C:\Program Files (x86)\PRTG Network Monitor\snmplibs\". The system cannot find the path specified, URL: /controls/addsensor3.htm?id=61884&tmpid=1061&
2022-10-28 04:45:52.485849 ERRR TId 16024 CoreWebServer> Webserver: Error (/controls): Internal Error: Cannot open file "C:\Program Files (x86)\PRTG Network Monitor\snmplibs\". The system cannot find the path specified, URL: /controls/addsensor3.htm?id=61973&tmpid=1063&
What is the output of 'Get-PrtgClient -Diagnostic'?
Tried with official 0.9.17 and 0.9.18-preview6
The text was updated successfully, but these errors were encountered: