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 Fix: Flask and Celery Docker Images #85

Merged
merged 1 commit into from Feb 3, 2023

Conversation

Humoud
Copy link
Contributor

@Humoud Humoud commented Nov 12, 2022

Modified: requirements_2.7.txt

Change: Downgrade gevent to 1.2.2

I was having issues running the Flask and Celery containers. The issue was due to installing gevent version 1.4.0 which is not supported by Python 2 as it can be seen in the table at: https://pypi.org/project/gevent/#description

image

After using the supported gevent version the issue was solved.

I'm running the project on ubuntu server v22.04

Thank you.

Modified: requirements_2.7.txt

Change: Downgrade `gevent` to `1.2.2`

I was having issues running the Flask and Celery containers. The issue was due to installing `gevent` version `1.4.0` which is not supported by Python 2 as it can be seen in the table at: https://pypi.org/project/gevent/#description

After using the supported `gevent` version the issue was solved.

I'm running the project on ubuntu server v22.04
@salehmuhaysin
Copy link
Collaborator

hi

not sure why it is working with me with the same versions (OS, docker, docker-compose) without issue even through it is not supported by gevent with the version gevent==1.4.0.

i will try to test it more, but good reference for any one face the same issue

thank you

@Humoud
Copy link
Contributor Author

Humoud commented Nov 12, 2022

Hi Saleh.
I'm glad you're not facing issues. Perhaps I had problems because I started with a fresh clean OS install. I tested it twice, once on a fresh VM and once on a bare metal server.

Thanks

@salehmuhaysin
Copy link
Collaborator

after changing the file https://github.com/DFIRKuiper/Kuiper/blob/master/kuiper/requirements_2.7.txt run the following commands

sudo docker-compose build --no-cache flask 
sudo docker-compose build --no-cache celery

@Xboarder56
Copy link

Xboarder56 commented Dec 7, 2022

Had the same issue on a fresh VM. I ended up editing requirements_2.7.txt and setting gevent==22.10.2, restarting the containers and it started working.

Sift Workstation Ubuntu 20.04 VM.

@salehmuhaysin salehmuhaysin merged commit 883b15f into DFIRKuiper:master Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants