Closed v3yr0n closed 7 years ago
ok, solved by replacing usr/local/opt/openssl/include/openssl/x509.h line 751 "dup" with "dupe"
But now i'm having another one: `./uwsgi.h:440:10: fatal error: 'pcre.h' file not found
^
1 error generated.
In file included from core/protocol.c:1:
./uwsgi.h:440:10: fatal error: 'pcre.h' file not found
#include <pcre.h>
^
1 error generated.
`
Ok, solved.
But i still can't make this work.
When i run sudo service nginx start uwsgi --socket 127.0.0.1:8081 -w wsgi:app
nothing shows up and i get *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: cocottributes.org, request: "GET / HTTP/1.1", upstream: "uwsgi://127.0.0.1:8081", host: "127.0.0.1"
I've copied the nginx.conf to the nginx folder. On the browser i get 502 Bad Gateway.
Any help?
Huh, that is pretty tricky. I think it's because someplace I have set the hostname to cocottributes.org and you want it set to localhost instead. Let me look around and find where that is.
On Wed, Nov 16, 2016 at 12:16 PM, v3yr0n notifications@github.com wrote:
Ok, solved. But i still can't make this work. When i run sudo service nginx start uwsgi --socket 127.0.0.1:8081 -w wsgi:app nothing shows up and i get *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: cocottributes.org, request: "GET / HTTP/1.1", upstream: "uwsgi:// 127.0.0.1:8081", host: "127.0.0.1"
I've copied the nginx.conf to the nginx folder. On the browser i get 502 Bad Gateway.
Any help?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/genp/cocottributes/issues/1#issuecomment-261009383, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLs3ngtGXX4bS4hhI43GIj-AKTsQMnZks5q-zpTgaJpZM4KzwSj .
Genevieve
I think there was a mistake in the wsgi.ini file. I just update the repo. You could pull and try again. Let me know if you run into anything else!
On Sat, Nov 19, 2016 at 12:28 AM, Genevieve Patterson gen@cs.brown.edu wrote:
Huh, that is pretty tricky. I think it's because someplace I have set the hostname to cocottributes.org and you want it set to localhost instead. Let me look around and find where that is.
On Wed, Nov 16, 2016 at 12:16 PM, v3yr0n notifications@github.com wrote:
Ok, solved. But i still can't make this work. When i run sudo service nginx start uwsgi --socket 127.0.0.1:8081 -w wsgi:app nothing shows up and i get *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: cocottributes.org, request: "GET / HTTP/1.1", upstream: "uwsgi:// 127.0.0.1:8081", host: "127.0.0.1"
I've copied the nginx.conf to the nginx folder. On the browser i get 502 Bad Gateway.
Any help?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/genp/cocottributes/issues/1#issuecomment-261009383, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLs3ngtGXX4bS4hhI43GIj-AKTsQMnZks5q-zpTgaJpZM4KzwSj .
Genevieve
Genevieve
I made a mistake. In wsgi.ini, you'll have to set the path to your cocottributes virtualenv before it will work. Sorry!
On Sat, Nov 19, 2016 at 12:38 AM, Genevieve Patterson gen@cs.brown.edu wrote:
I think there was a mistake in the wsgi.ini file. I just update the repo. You could pull and try again. Let me know if you run into anything else!
On Sat, Nov 19, 2016 at 12:28 AM, Genevieve Patterson gen@cs.brown.edu wrote:
Huh, that is pretty tricky. I think it's because someplace I have set the hostname to cocottributes.org and you want it set to localhost instead. Let me look around and find where that is.
On Wed, Nov 16, 2016 at 12:16 PM, v3yr0n notifications@github.com wrote:
Ok, solved. But i still can't make this work. When i run sudo service nginx start uwsgi --socket 127.0.0.1:8081 -w wsgi:app nothing shows up and i get *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: cocottributes.org, request: "GET / HTTP/1.1", upstream: "uwsgi://127.0.0.1:8081", host: "127.0.0.1"
I've copied the nginx.conf to the nginx folder. On the browser i get 502 Bad Gateway.
Any help?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/genp/cocottributes/issues/1#issuecomment-261009383, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLs3ngtGXX4bS4hhI43GIj-AKTsQMnZks5q-zpTgaJpZM4KzwSj .
Genevieve
Genevieve
Genevieve
@genp thanks for your reply. When I have some time i'll check!
Thanks :)
Hey!
I'm having some issues installing pip install -r requirements.txt. After installing some of them i get this error:
/usr/local/opt/openssl/include/openssl/x509.h:751:15: note: previous declaration is here X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev); ^ 1 error generated. error: command 'clang' failed with exit status 1
Any idea on how to solve this? Running on macos sierra Thanks!