gunicorn: error: unrecognized arguments: wsgi:app

Posted May 13, 2021 2.1k views

gunicorn “.service” file is activated, but it return gunicorn: error: unrecognized arguments: wsgi:app
at the time for running

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

Could you share your full service file here?

I think that you might have to change wsgi:app to wsgi:application as per this tutorial here:


by Justin Ellingwood
Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly production related, a more secure and powerful web server...