When I build my docker container and look at the logs, I get the following output:
$ docker-compose logs web
/home/Henry.Long.25/.local/lib/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend
Attaching to csci-143-final-project_web_1
web_1 | Waiting for postgres...
web_1 | PostgreSQL started
web_1 | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
web_1 | * Serving Flask app 'project'
web_1 | * Debug mode: on
web_1 | * Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
web_1 | * Restarting with stat
web_1 | * Debugger is active!
web_1 | * Debugger PIN: 192-681-848
This seems to imply that the web server is up and running. The postgres server logs also appear just fine. But then, when I try to connect to the webpage using curl, I get:
$ curl http://localhost:1121
curl: (52) Empty reply from server
Hi @mikeizbicki
When I build my docker container and look at the logs, I get the following output:
This seems to imply that the web server is up and running. The postgres server logs also appear just fine. But then, when I try to connect to the webpage using curl, I get:
Do you have any idea why this might be?