Open dsecik opened 1 year ago
Works for me, but I have BASE_PATH
set correctly in NetBox (= no rewrite
on the first Nginx). If I set BASE_PATH = ""
and use rewrite
, then I get the same error.
Pynetbox uses internally the URLs that NetBox returns in the objects (the url
attribute), so if NetBox doesn't know what is the client-accessible path, it cannot return correct URLs.
pynetbox version
v7.1.0
NetBox version
v3.6.3
Python version
3.9
Steps to Reproduce
Expected Behavior
It should return rendered context for device id 680.
Observed Behavior
Works fine when pointed directly to the netbox URL. How ever when used with nginx reverse proxy it fails with:
We only saw this with render_config, other api calls work fine with proxy.