Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6594485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:49:04+00:00 2026-05-25T17:49:04+00:00

So I install cherokee and included django-cpserver into my django app. Thereafter, I ran

  • 0

So I install cherokee and included django-cpserver into my django app.

Thereafter, I ran

python manage.py runcpserver daemonize=1 port=3035 pidfile=/var/run/django/cherrypy.pid-1 threads=1 request_queue_size=0

and repeated these commands to spawn 10 processes cherrypy.pid-1, cherrypy.pid-2, etc etc, cherrypy.pid-10.

On my cherokee admin, I then mapped these 10 information sources to my django instance:-

enter image description here

However, after restarting cherokee, it simply gives me a 502 bad gateway error and looking at my cherokee.error log, I see a series of errors that say:-

{'type': "warning", 'time': "20/09/2011 06:39:26.264", 
'title': "Taking source='localhost:3042' back on-line", 
'code': "balancer_round_robin.c:170", 
'error': "63", 'description': "The information source is being disabled.", 
'version': "1.2.99", 'compilation_date': "Sep 16 2011 00:35:11", 
'configure_args': " '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-static' '--with-wwwroot=/srv/http' '--with-wwwuser=http' '--with-wwwgroup=http' '--with-python=python2' '--enable-os-string=Arch Linux' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu' '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-static' '--with-wwwroot=/srv/http' '--with-wwwuser=http' '--with-wwwgroup=http' '--with-python=python2' '--enable-os-string=Arch Linux' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'", 
'backtrace': ""}

I am not sure what I did wrong with my configuration. Will be grateful for any pointers leading me towards the right direction to resolve this “502 gateway error” issue.

(I should add that if I use the standard scgi deployment configuration for django on cherokee, everything works just fine. But I would like to figure out how to use cherrypy as a reverse proxy to deploy django on cherokee.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:49:05+00:00Added an answer on May 25, 2026 at 5:49 pm

    Problem solved. Specify the internal IP and all is good!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I install windows phone 7.1 sdk. And then I cant see phone app.in VS10
Can install python plugin in netbeans 6.7 manually (without Tools/Plugin) ? if yes (with
I install and configure Active Admin to my rails app. It works fine on
after install Express.js, I wrote this on node: var express = require('express'), app =express.createServer();
I install NT service and add info about 'message.dll' file into registry for EvenLog.
pip install Django psycopg2 dj-database-url I get this response: Downloading/unpacking Django Downloading Django-1.4.1.tar.gz (7.7MB):
Install Memcached Install python-memcache library Start Memcache service Is that right? What else is
The install instructions are: $ python setup.py build $ sudo python setup.py install #
easy_install python extension allows to install python eggs from console like: easy_install py2app But
I install an app .app file to /Applications folder. Can you please tell me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.