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
I'm trying to set up timed and periodic scans for a target. However, I receive error 500 and cannot create. Any suggestions on how to get workaround this?
I even enabled debugging, but I can't understand the problem, see screenshots.
Server side logs
web-1 | django.request | Internal Server Error: /scan/bugbounty/schedule/organization/4
web-1 | Traceback (most recent call last):
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 47, in inner
web-1 | response = get_response(request)
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 181, in _get_response
web-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
web-1 | File "/usr/local/lib/python3.10/dist-packages/rolepermissions/decorators.py", line 21, in wrapper
web-1 | return dispatch(request, *args, **kwargs)
web-1 | File "/usr/src/app/startScan/views.py", line 800, in schedule_organization_scan
web-1 | return HttpResponseRedirect(reverse('scheduled_scan_view', kwargs={'slug': slug, 'id': id}))
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/urls/base.py", line 86, in reverse
web-1 | return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 698, in reverse_with_prefix
web-1 | raise NoReverseMatch(msg)
web-1 | django.urls.exceptions.NoReverseMatch: Reverse for 'scheduled_scan_view' with keyword arguments '{'slug': 'bugbounty', 'id': 4}' not found. 1 pattern(s) tried: ['scan/(?P[-a-zA-Z0-9]+)/scheduled/\Z']
web-1 | django.server | "POST /scan/bugbounty/schedule/organization/4 HTTP/1.0" 500 96254
proxy-1 | 172.30.15.206 - - [22/Jul/2024:21:15:05 +0000] "POST /scan/bugbounty/schedule/organization/4 HTTP/1.1" 500 96254 "https://localhost/scan/bugbounty/schedule/organization/4" "Mozilla/5.0
👋 Hi @gabrielss4ntos,
Issues is only for reporting a bug/feature request. Please read documentation before raising an issue https://rengine.wiki
For very limited support, questions, and discussions, please join reNgine Discord channel: https://discord.gg/azv6fzhNCE
Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.
Is there an existing issue for this?
Current Behavior
I'm trying to set up timed and periodic scans for a target. However, I receive error 500 and cannot create. Any suggestions on how to get workaround this?
I even enabled debugging, but I can't understand the problem, see screenshots.
Server side logs
web-1 | django.request | Internal Server Error: /scan/bugbounty/schedule/organization/4
web-1 | Traceback (most recent call last):
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 47, in inner
web-1 | response = get_response(request)
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 181, in _get_response
web-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
web-1 | File "/usr/local/lib/python3.10/dist-packages/rolepermissions/decorators.py", line 21, in wrapper
web-1 | return dispatch(request, *args, **kwargs)
web-1 | File "/usr/src/app/startScan/views.py", line 800, in schedule_organization_scan
web-1 | return HttpResponseRedirect(reverse('scheduled_scan_view', kwargs={'slug': slug, 'id': id}))
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/urls/base.py", line 86, in reverse
web-1 | return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
web-1 | File "/usr/local/lib/python3.10/dist-packages/django/urls/resolvers.py", line 698, in reverse_with_prefix
web-1 | raise NoReverseMatch(msg)
web-1 | django.urls.exceptions.NoReverseMatch: Reverse for 'scheduled_scan_view' with keyword arguments '{'slug': 'bugbounty', 'id': 4}' not found. 1 pattern(s) tried: ['scan/(?P[-a-zA-Z0-9]+)/scheduled/\Z']
web-1 | django.server | "POST /scan/bugbounty/schedule/organization/4 HTTP/1.0" 500 96254
proxy-1 | 172.30.15.206 - - [22/Jul/2024:21:15:05 +0000] "POST /scan/bugbounty/schedule/organization/4 HTTP/1.1" 500 96254 "https://localhost/scan/bugbounty/schedule/organization/4" "Mozilla/5.0
Expected Behavior
Be able to create periodic scans.
Steps To Reproduce
Try creating a "Periodic Scan" or "Cloaked Scan".
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: