Apache / Gunicorn and Django Issue -


i have application runs using

client --> apache --> gunicorn --> wsgi --> django 

when run code starts run , receive following within apache logs,

(20014)internal error: proxy: error reading status line remote server 127.0.0.1 proxy: error reading remote server returned /app/view 

no exceptions show in code. if run code without gunicord/proxy layer works. affects requests.

heres apache conf.d file.

<virtualhost 10.0.6.1:443>          servername app.domain.net          alias /static /production/pythonenv/app/lib/python2.7/site-packages/rest_framework/static/         errorlog /var/log/httpd/app-error.log         customlog /var/log/httpd/app-access.log common          loglevel warn          rewriteengine on         rewritecond %{request_filename}       !-f         rewriterule ^/(.*) http://127.0.0.1:9008/$1 [p]         proxypassreverse / http://127.0.0.1:9008/          setenv force-proxy-request-1.0 1          setenv proxy-nokeepalive 1         requestheader unset expect          errorlog logs/app-ssl-error.log         customlog logs/app-ssl-access.log common         sslengine on         sslcertificatefile /opt/ssl/crt/cert.crt         sslcertificatekeyfile /opt/ssl/crt/key.key </virtualhost> 


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -