Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Troubleshooting

Troubleshooting

Problem: Executing actions through the REST API browser fails

Solution:

  • Start by verifying that the curl example found in the API browser works. Note that you might have to run it using the --insecure flag, namely if you are using the default snakeoil SSL certificates; see the section on SSL certificate configuration in the Installation Guide, chapter Service Configuration.
  • If the curl example works fine, the reason that the actions fail is that you are not surfing to the web page configured as SITE_URL in /etc/netrounds/netrounds.conf. That exact same host name must be used; otherwise your browser will consider your action as a cross-site scripting attempt. Example:
    • Suppose that SITE_URL=https://mynetrounds.local and that this resolves to the IP 192.168.1.123.
    • Correct URL to navigate to: https://mynetrounds.local/rest/
    • Wrong URL: https://192.168.1.123/rest/
    • Wrong URL: https://other.host.resolving.to.same.ip/rest/