netbox-community / netbox-topology-views

A netbox plugin that draws topology views
Apache License 2.0
744 stars 63 forks source link

Setting Plugin Configurations causes 502 Error #514

Closed sachenbachtherma closed 3 months ago

sachenbachtherma commented 3 months ago

NetBox version

v4.0.3

Topology Views version

v4.0.0

Steps to Reproduce

Copy/Paste plugin configuration in configuration.py from README, confirmed it was exact syntax required. Restart netbox and netbox-rq services.

Expected Behavior

Netbox to function properly

Observed Behavior

Receive a 502 error after refreshing netbox.

Commenting out the configuration lines and restarting the services corrects the issue.

mattieserver commented 3 months ago

Please provide more information, it works and was tested with all options set.

sachenbachtherma commented 3 months ago

Ugh, please disregard. I'm glad you asked for additional info, as I was digging through the service logs it said there was an indentation error in the plugin config, turns out there was a space that didn't belong. Thank you for your hard work getting this up to 4.0!

sachenbachtherma commented 3 months ago

Space in front of "PLUGINS_CONFIG" caused the error, not due to the plugin.