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

uwsgi reporting "no request plugin is loaded" #40

Closed
kraigb opened this issue Sep 25, 2018 · 4 comments
Closed

uwsgi reporting "no request plugin is loaded" #40

kraigb opened this issue Sep 25, 2018 · 4 comments

Comments

@kraigb
Copy link

kraigb commented Sep 25, 2018

I'm trying to get a Django app working with uwsgi-nginx-docker as the base image. I can't get any response from the app, however, and uwsgi gives this warning:

!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!
no request plugin is loaded, you will not be able to manage requests.
you may need to install the package for your language of choice, or simply load it with --plugin.
!!!!!!!!!!! END OF WARNING !!!!!!!!!!

I can see from the Dockerfile that the image does a "RUN apk add --no-cache uwsgi-python", and that python3_plugin.so is in /usr/lib/uwsgi. Why isn't uwsgi picking it up? I'm curious why it's not in /usr/lib/uwsgi/plugins where I've normally seen it.

Thanks for any ideas on this one.

@kraigb
Copy link
Author

kraigb commented Sep 26, 2018

Closing--I had a few extra things in uwsgi.ini and was trying to run it explicitly, rather than letting the image run its start.sh.

Specifically, I had socket=127.0.0.1 and protocol=http in uwsgi.ini, which I removed, and "CMD["uwsgi", "uwsgi.ini"] in the Dockerfile, which I also removed.

@kraigb kraigb closed this as completed Sep 26, 2018
@tiangolo
Copy link
Owner

I'm glad you solved your problem 👍

Nice Python pic BTW.

@kraigb
Copy link
Author

kraigb commented Sep 28, 2018

I had that pic taken at Pycon 2018; there was a photographer in the Microsoft booth, which I was helping to staff, who was taking free and fun photos of attendees. I took advantage of a quite moment on the floor to have some fun myself. :)

@tiangolo
Copy link
Owner

Hehe cool!

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