-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Stop "In Progress" and Pending Scans #561
Comments
👋 Hi @quantumburnz, |
I was able to delete these two Pending scans. Therefore, perhaps if a scan is in this state, the UI could say they can't be stopped but they can be deleted instead of the generic "Oops!" message currently displayed. Later edit with additional info: It seems more nuanced than this. I had targets in a Pending state as part of an Organization scan, and I was able to stop these. Either way, hopefully the true state can be differentiated and feedback provided to the user appropriately. |
@quantumburnz Can you explain how you managed to stop the scan, e.g. did you kill the process inside the container or did it happen from when you hit stop on the UI? |
Hi @nednones - I did not kill any processes. I've observed a few different scan states and the actions I could take depended upon the scenario. This leads me to believe we probably need a feature request for better state tracking. I think I was only able to successfully stop a scan in scenario 2 below.
If I really had to stop a scan, and I couldn't do it via the UI, I'd confirm the scan was running by look at 'sudo make logs' and then probably 'sudo make stop' or 'sudo make down' to stop and/or delete the containers and start fresh (taking a DB back-up first before down'ing if I wanted one). Hopefully this is a little helpful. |
There was an issue on api to stop scans, which has now been fixed in 1.2.0 |
Hi,
I saw a previously closed issue, #298 , but I'm still experiencing this. The first scan stuck "In Progress" was because my host shut-down mid-scan. The two Pending scans are due to an issue I haven't figured out yet.
The text was updated successfully, but these errors were encountered: