github jocxfin/pwgen v1.4.0
v1.4.0 - Fix internal error caused by incorrect ASGI and WSGI config

latest releases: v1.93.0, v1.92.4, v1.92.3...
21 months ago

Bug Fixes:
- ASGI Application Initialization Error: Resolved an issue where the Flask application failed to initialize properly when served with Gunicorn and Uvicorn ASGI workers, due to a misunderstanding of ASGI and WSGI compatibility requirements.
- Module Not Found Error: Fixed a deployment bug where Gunicorn could not locate the application module due to incorrect naming or file structure within the Docker container.
Changes Made:
- Dockerfile CMD Update: Corrected the Gunicorn command in the Dockerfile to ensure it accurately references the Python module and the ASGI app instance created by WsgiToAsgi. This involved changing the module name and app instance in the CMD directive to match the actual file and variable names in the project.

- File Naming and Structure: Verified and adjusted the file structure within the Docker container to ensure that the Flask application file is correctly placed and named, allowing Gunicorn to find and load the application without errors.

Thanks @zarevskaya for reporting the bug!

To use:

docker pull jocxfin/pwgen:latest
docker run -d -p 5069:5069 jocxfin/pwgen:latest

Quick and straightforward improvements for a better tool.

Don't miss a new pwgen release

NewReleases is sending notifications on new releases.