/ Zope / Apsis / Pound Mailing List / Archive / 2009 / 2009-06 / [Pound Mailing List] Redirect on particular errors

[ << ] [ >> ]

[ [Pound Mailing List] Make Pound Aware of Tomcat / ... ] [ pound - load balancer / Andre Hübner ... ]

[Pound Mailing List] Redirect on particular errors
Tim Dunphy <bluethundr(at)nylsd.com>
2009-06-03 14:24:24 [ FULL ]
Is there any way in pound to redirect from one server to another if the
error code from one is 503  ?[...]

Re: [Pound Mailing List] Intermittent slow down problems
Kaye Ng <kng(at)objectmastery.com>
2009-06-04 04:07:55 [ FULL ]
Hi,

It seems like Pound doesn't time the entire time it took for the page to 
be served to the client. I slowed down by connection to a 56K modem. 
Pound reported that my test page took 0.1 seconds to load but my browser 
reported that it took 1.35 seconds to load. I used Firebug to do my 
browser timing.

Does anyone have any ideas on how pound timing works? I would appreciate 
any ideas and suggestions as I'm now kinda stuck.

Thanks for your help.

Cheers,
Kaye.

Kaye Ng wrote:[...]

Re: [Pound Mailing List] Intermittent slow down problems
Sebastiaan van Erk <sebster(at)sebster.com>
2009-06-05 00:22:21 [ FULL ]
Hi,

I haven't looked at the pound code, but generally sockets have send and 
receive buffers. If your page is smaller than the socket send buffer 
then pound will be able to write all the data to the socket immediately 
and report that as the time it took to send the page.  After that it's 
the operating system which takes care of flushing the buffer to the 
client, and pound has nothing to do with it.

Regards,
Sebastiaan

Kaye Ng wrote:[...][...][...]
Attachments:  
smime.p7s application/x-pkcs7-signature 3328 Bytes

RE: [Pound Mailing List] Axis IP Cameras
"Maze, Jeffrey S." <JMaze(at)CO.GEAUGA.OH.US>
2009-06-05 16:22:15 [ FULL ]
Sadly, we just couldn't get Pound to work properly with these Axis IP
cameras.  Even with a configuration such as that below, Pound on openBSD
4.5 would not let the camera view through.  We kept getting 503 service
unavailable errors.

I worked on this for two weeks trying to get this working properly
without any luck.

As a last ditch effort, we installed Win2k3 R2 Server and ISA 2006
Standard SP-1 and set it up as a reverse proxy.  Within 3 hours, we were
able to configure ISA to reverse proxy two of the cameras without any
issues and the password box for camera setup works as it should.

Sadly, open-source failed us in this.  Pound is a great product and I
was able to get other internal web sites to work through the Pound box,
there was just something that the Axis camera would not work properly.

Thank you for a great product and keep up the good work.. -Jeff


-----Original Message-----
From: Maze, Jeffrey S. [mailto:JMaze(at)CO.GEAUGA.OH.US] 
Sent: Tuesday, May 26, 2009 8:54 AM
To: pound(at)apsis.ch
Subject: RE: [Pound Mailing List] Axis IP Cameras

Here's the URL of the camera directly.
http://outsidecamera/view/view.shtml?idD192&imagePath=jpg/video.mjpg
&size=
Within the URL address bar of the webbrowser, it only shows
http://outsidecamera/view/view.shtml

I'm trying to configure Pound to use this "?id=xxx" portion of the URL
for it's session tracking, but this too doesn't work.  When I try this,
I get a "The service is not available. Please try again later." error.

I've tried "pound -c -v -f /etc/pound/pound.cfg" and it reports the
config file is ok.  So I start pound and ps is reporting it started.
Yet, there's nothing showing up within the messages logs and I get the
error above.

Any ideas?

Pound.cfg
User	"proxy"
Group	"proxy"
LogLevel	3
Alive	10

ListenHTTP
	Address	xxx.xxx.xxx.xxx
	Port	80
End
Service
	URL	".*id="
	HeadRequire	"Host:.*outsidecamera.*"
	BackEnd
		Address	xxx.xxx.xxx.xxx
		Port	80
		Timeout	300
	End
	Session
		Type	URL
		ID	"id"
		TTL	300
	End
End



-----Original Message-----
From: Maze, Jeffrey S. [mailto:JMaze(at)CO.GEAUGA.OH.US]
Sent: Friday, May 22, 2009 2:32 PM
To: pound(at)apsis.ch
Subject: [Pound Mailing List] Axis IP Cameras

Hello,
	I installed Pound onto an openBSD 4.5 box and it works fine when
connecting to any internal websites.  It was amazingly easy to setup and
get running.  Thanks for a great product.
	Anyway, the true purpose to getting Pound up and running was so
we could connect to our internal IP security cameras from externally on
the internet.  They're Axis cameras and can be brought up via a web
browser.
	When I connect to our pound box, the web browser title and tab
will show the name of the camera (eg. Live view - AXIS 215 PTZ Network
Camera) and then it sits there until the time-out period.  I then get
the "service is unavailable."
	If I do a netstat of the BSD box, it shows my IP connecting into
Pound, but the IP address of the camera shows a SYN_SENT.  I can lynx to
the camera's IP from the box fine (it reports I need a browser with
Java, etc) and can ping and everything fine.
	Anyone try a configuration such as this or have something I can
try to get this working.
	Thanks.. -Jeff

--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.


--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.

Re: [Pound Mailing List] Redirect on particular errors
Dave Steinberg <dave(at)redterror.net>
2009-06-05 17:31:35 [ FULL ]
Tim Dunphy wrote:[...]

No, pound does not support retrying requests once a backend returns a 
valid HTTP response.  Use the HAPort, or look at nginx or varnish if 
this is a required feature for you.

Regards,[...]

MailBoxer