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

Problem with docker compose #40

Open
johnfung95 opened this issue Jun 30, 2021 · 1 comment
Open

Problem with docker compose #40

johnfung95 opened this issue Jun 30, 2021 · 1 comment

Comments

@johnfung95
Copy link

When I use docker-compose up command, there is a problem with foodtrucks_web_1 and I don't know why.
web_1 | /usr/local/lib/python3.6/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
web_1 | RequestsDependencyWarning)
web_1 | Unable to connect to ES. Retrying in 5 secs...
web_1 | Unable to connect to ES. Retrying in 5 secs...
web_1 | Unable to connect to ES. Retrying in 5 secs...
web_1 | Out of retries. Bailing out...
foodtrucks_web_1 exited with code 1
It just fails to create a container for FoodTrucks for me.

I am using Ubuntu vm in VirtualBox of a Windows 10 Environment.
Please help, thank you.

@ngonam2403
Copy link

ngonam2403 commented Nov 5, 2021

I have the same problem, and a hotfix is adding time.sleep(15) or time.sleep(20) in flask-app/app.py to wait for complete loading of elasticsearch.
image

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

No branches or pull requests

2 participants