List Info

Thread: More on Broken Pipe Error in cherrypy 3.0.1




More on Broken Pipe Error in cherrypy 3.0.1
country flaguser name
United States
2007-03-28 08:58:32
Hello,

So my hosting provider finally got back to me, and
generously gave me
an extra port on which to test my cherrypy application. It
was
originally posted here: http://groups.google.com/group
/cherrypy-users/browse_thread/thread/cb04a7313b3378d
.

My first test was running the application on the assigned
port and
accessing it directly through the cherrypy server. This
worked as
expected, and as it does on my localhost. I ran it for a
good while,
hitting it from a couple different machines on a lot of
pages,
restarting it several times, all with no problems.

Figuring something in the environment had changed for the
better, I
started it up in production. However, the same problem
occurred very
soon.

So, I believe that the problem is outside of my app and not
inside my
python installation. Either it's a permission issue (in
testing, it
ran as "llimllib", not as the web server user it
would run as in
production) or an issue with the apache <-> cherrypy
proxy.

Next, I ran the app from the webserver user to test
permissions.
Again, everything seemed to work fine.

Finally, I set my webserver up to proxy requests to "http://<my
server>/test" to "http://localhost:9574&quo
t; (the port where the cherrypy
server was running). The problem immediately reappeared.

I will test tonight to see if I can reproduce this on my
local
machine. For now, Is there any reason why this shouldn't
work? It's
worked for a long time (~2 years 0 crashes) on my current
app, so I
don't see why not. Here's the proxypass directive in Apache
(2.something, I believe):

ProxyPass /test http://localhost:9574

Anyone have any ideas?

Thanks
Bill Mill
bill.mill at gmail.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: More on Broken Pipe Error in cherrypy 3.0.1
country flaguser name
United States
2007-03-28 09:41:56
On Mar 28, 9:58 am, "Bill  Mill" <bill.m...gmail.com> wrote:
> Hello,
>
<snip>

Oh, and I forgot to add: http://<my host>:9574 no
longer works once
this "broken pipe" error has occurred.

Also, I tried adding a slash at the end of the proxypass
directive,
and that didn't change anything.

The site still works for about 5 minutes, and fails after
that with
the "Broken Pipe" error.

-Bill Mill
bill.mill at gmail.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )