Skip to content
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

bug: Updating tools hangs and results 500 error #1152

Closed
1 task done
PekkaJalonen opened this issue Dec 29, 2023 · 4 comments · Fixed by #1335
Closed
1 task done

bug: Updating tools hangs and results 500 error #1152

PekkaJalonen opened this issue Dec 29, 2023 · 4 comments · Fixed by #1335
Labels
bug Something isn't working top-priority

Comments

@PekkaJalonen
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When updating some tools in arsenal, example ctfr will caus web to hang with "Downloading laterst version..." and looking at the container logs, it shows:

django.server | "GET /api/github/tool/get_latest_releases/?tool_id=12 HTTP/1.0" 200 38
run_command | INFO | cd /usr/src/github/ctfr && git pull && cd -
run_command | WARNING | None
django.server | "GET /api/tool/update/?tool_id=12 HTTP/1.0" 500 133332

Expected Behavior

Update should respond if the update was successfull or not.

Steps To Reproduce

  1. In tool arsenal, select ctfr and click Check Update
  2. Click Force download
  3. Web page hangs in "Downloading laterst version..."

Environment

- reNgine: 2.0.2 (fresh install)
- OS: Ubuntu 22.04
- Python: 3.10.12
- Docker Engine: 24.0.6
- Docker Compose: 2.21.0
- Browser: Microsoft Edge 120.0.2210.61

Anything else?

No response

@PekkaJalonen PekkaJalonen added the bug Something isn't working label Dec 29, 2023
Copy link
Contributor

👋 Hi @PekkaJalonen,
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.

@AnonymousWP
Copy link
Contributor

I don't think I had/have this issue. Can you still reproduce it?

@psyray
Copy link
Contributor

psyray commented Jan 12, 2024

I can reproduce
image

I will have a look

@psyray psyray self-assigned this Jan 12, 2024
@yogeshojha yogeshojha linked a pull request Jul 29, 2024 that will close this issue
@yogeshojha
Copy link
Owner

@PekkaJalonen

Thank you for reporting this.

A PR has been created to fix this, this has been fixed with PR #1335

Thank you

yogeshojha added a commit that referenced this issue Jul 30, 2024
…s-and-results-500-error

Fix error during tool update Fixes #1152
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working top-priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants