You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrade from 3.6.4 to 3.7.2 (68f6439bad8e) my webhook started failing.
Output from admin/background-tasks:
Type:
FAILED
Created at:
2024-02-09, 11:46:58
Exception:
Traceback (most recent call last):
File "/opt/netbox/venv/lib/python3.11/site-packages/rq/worker.py", line 1428, in perform_job
rv = job.perform()
^^^^^^^^^^^^^
File "/opt/netbox/venv/lib/python3.11/site-packages/rq/job.py", line 1278, in perform
self._result = self._execute()
^^^^^^^^^^^^^^^
File "/opt/netbox/venv/lib/python3.11/site-packages/rq/job.py", line 1315, in _execute
result = self.func(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox/netbox/extras/webhooks.py", line 50, in send_webhook
'Content-Type': webhook.http_content_type,
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'http_content_type'
I have tried deleting and adding again webhook and event rules configuration, but it didn't help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After upgrade from 3.6.4 to 3.7.2 (68f6439bad8e) my webhook started failing.
Output from admin/background-tasks:
Type:
FAILED
Created at:
2024-02-09, 11:46:58
Exception:
Traceback (most recent call last):
File "/opt/netbox/venv/lib/python3.11/site-packages/rq/worker.py", line 1428, in perform_job
rv = job.perform()
^^^^^^^^^^^^^
File "/opt/netbox/venv/lib/python3.11/site-packages/rq/job.py", line 1278, in perform
self._result = self._execute()
^^^^^^^^^^^^^^^
File "/opt/netbox/venv/lib/python3.11/site-packages/rq/job.py", line 1315, in _execute
result = self.func(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox/netbox/extras/webhooks.py", line 50, in send_webhook
'Content-Type': webhook.http_content_type,
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'http_content_type'
I have tried deleting and adding again webhook and event rules configuration, but it didn't help.
Beta Was this translation helpful? Give feedback.
All reactions