Closed thistehneisen closed 11 months ago
👋 Hi @thistehneisen, 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.
Where can I view server logs to find out what is the cause behind the 500 error?
Where can I view server logs to find out what is the cause behind the 500 error?
Hi @thistehneisen, you should be able to see them using cd ~/rengine; sudo make logs
@xnl-h4ck3r thank you, seems like the problem might be with Redis service, any ideas what could cause it and how to fix it?
celery_1 | [2022-03-08 13:11:32,162: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379/0: Error -3 connecting to redis:6379. Temporary failure in name resolution..
celery_1 | Trying again in 32.00 seconds... (16/100)
celery_1 |
celery_1 | [2022-03-08 13:12:04,200: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379/0: Error -3 connecting to redis:6379. Temporary failure in name resolution..
celery_1 | Trying again in 32.00 seconds... (16/100)
celery_1 |
celery_1 | [2022-03-08 13:12:36,239: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379/0: Error -3 connecting to redis:6379. Temporary failure in name resolution..
celery_1 | Trying again in 32.00 seconds... (16/100)
celery_1 |
celery_1 | [2022-03-08 13:13:08,274: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379/0: Error -3 connecting to redis:6379. Temporary failure in name resolution..
celery_1 | Trying again in 32.00 seconds... (16/100)
Hey @thistehneisen I'm not 100% sure. You could try cd ~/rengine; sudo make restart
@xnl-h4ck3r I tried that but unfortunately I got the same error 500 when launching scan
@xnl-h4ck3r same here, after restart:
ubuntu@red:~/rengine$ sudo make restart
COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.yml restart db web proxy redis celery celery-beat tor
Restarting rengine_web_1 ... done
Restarting rengine_celery-beat_1 ... done
Restarting rengine_celery_1 ... done
Restarting rengine_proxy_1 ... done
Restarting rengine_tor_1 ... done
Restarting rengine_db_1 ... done
Restarting rengine_redis_1 ... done
The web is now responding:
502 Bad Gateway
nginx/1.21.4
I am facing the same issue even after reinstalling rEngine.
Could you try on v2 and open a new issue if problem persists. Warning ! v2 YAML structure has changed and is not compatible with v1
Issue Summary
For rEngine recommended, YAML was modified accordingly:
Steps to Reproduce
Technical details
Ubuntu 20.04.4 LTS