-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Environment
- ESX 6.5.0 Update1 (Build 5969303)
- 1 CPU, 2048 Mem, 32 Gig hdd
- Ubuntu-18.04.2-desktop
- Netbox v2.7.7
- Python 3.7.6
Steps to Reproduce
- Build netbox as per attached steps (netbox_build)
- Go to root API page http://192.168.10.201/api/ or any other sections API page http://192.168.10.201/api/dcim/
I have done the build several times as per the attached steps and am able to replicate the problem each time. Once installed everything works fine and you can use pynetbox to call the APIs to create objects. It is just when trying to access the API by URL in a browser you have this issue.
error_requirements.txt is the requirements after the fresh build whilst the issue is happening. If I downgrade it to djangorestframework==3.9.4 and restart netbox.service (sudo systemctl restart netbox.service) the problem goes away. See work_requirements.txt for what is changed after downgrading djangorestframework, it is only djangorestframework version. I can flip back and forward between the 2 versions of djangorestframework, it always works with 3.9.4 and does not work with 3.10.3.
Expected Behavior
See API page
Observed Behavior
netbox_build.txt
error_requirements.txt
work_requirements.txt