You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a system where web apps can be easily installed through third-party package managers like pip, basically making it so that users can type pipx install somewebapp then navigate to localhost:8003/somewebapp, all in one pass and with zero configuration needed. uwsgi is the obvious choice for this, but I'm running into some issues getting the emperor to work as described in the docs.
Using uwsgi version 2.0.18 and the documentation here.
This causes the vassal to error with The -s/--socket option is missing and stdin is not a socket.. What I'd expect, going by the documentation, is for it to create 2 new sockets, /tmp/testApp.sock and /tmp/testApp2.sock.
Other attempts. passing arguments like --vassals-include /tmp/vassals-default.ini, cause all the sockets to be named vassals-default.sock which definitely would not work. Using the vassal-set directive in an emperor.ini file has the same problem, all sockets get named emperor.sock.
The text was updated successfully, but these errors were encountered:
traverseda
changed the title
Passing sockets to an emperers vasals via env variables does not appear to work
Passing sockets to an emperors vassals via env variables does not appear to work
Jun 2, 2020
I'm trying to create a system where web apps can be easily installed through third-party package managers like pip, basically making it so that users can type
pipx install somewebapp
then navigate tolocalhost:8003/somewebapp
, all in one pass and with zero configuration needed.uwsgi
is the obvious choice for this, but I'm running into some issues getting the emperor to work as described in the docs.Using uwsgi version 2.0.18 and the documentation here.
Steps to reproduce
This causes the vassal to error with
The -s/--socket option is missing and stdin is not a socket.
. What I'd expect, going by the documentation, is for it to create 2 new sockets,/tmp/testApp.sock
and/tmp/testApp2.sock
.Other attempts. passing arguments like
--vassals-include /tmp/vassals-default.ini
, cause all the sockets to be namedvassals-default.sock
which definitely would not work. Using thevassal-set
directive in anemperor.ini
file has the same problem, all sockets get namedemperor.sock
.The text was updated successfully, but these errors were encountered: