pcaps show the requests are exactly the same between prod and
dev. I am doing this from the same test host to the different
netbox servers to keep it simple. To me this implies I am missing
a setting somewhere on the new server. [Allowed Hosts] is set to
the new DNS name and IPs. I have tried with a "*" but no
difference.
Also using the standard systemd startup script. To me looks like it is using the virtual env:
cat /etc/systemd/system/netbox.service
[Unit]
Description=NetBox WSGI Service
Documentation=https://netbox.readthedocs.io/en/stable/
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=netbox
Group=netbox
PIDFile=/var/tmp/netbox.pid
WorkingDirectory=/opt/netbox
ExecStart=/opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid
--pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py
netbox.wsgi
Restart=on-failure
RestartSec=30
PrivateTmp=true
[Install]
WantedBy=multi-user.target
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/1bdff7fc-8077-41b9-b268-59de8a7ea55an%40googlegroups.com.
Thanks Brian. I have just done that again. No difference other
then ssl cert and host name I can find. I tried setting
ALLOW_HOSTS to '*' (with restarting services) and that didn't make
a difference.
We did do a db dump from prod into dev. Anyone know if there is some form of setting in the DB that would override the config files? Everything else works fine on the dev system.
Thanks
-John
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/22f60e35-59c4-4d5d-8bcc-2c112e96325dn%40googlegroups.com.