You may see the above error message when trying to grab a diagnostics report (stardog-admin diagnostics report
or stardog-admin cluster diagnostics-report
). It occurs because the machine where you're running the CLI command (the client) is not the same machine where Stardog is running (the server).
In order to successfully run a diagnostics report, you need to do the following:
- In your
stardog.properties
file, setdiagnostics.allowIP=[the client's IP]
.- If you don't know your client's IP, the easiest way to find it is to enable audit logging and see what IP it logs when you do something. You can enable audit logging by setting
logging.audit.enabled=true
instardog.properties
. (See our docs page on audit logging for more info.)
- If you don't know your client's IP, the easiest way to find it is to enable audit logging and see what IP it logs when you do something. You can enable audit logging by setting
- Restart Stardog.
- Rerun the
diagnostics-report
command, this time with the following additional arguments:stardog-admin --server http://[ip address of your server]:[port] diagnostics report --remote -o /path/to/stardog-diagnostics.zip
You can see this docs page for more info on this process.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article