Re: 502 Proxy Error trying to export PDF

2012-09-17 Thread Tien Phan
Hi 

I had a similar problem, Django returned a json string well (but it takes 
longer than normal to generate) but Apache proxy still fail with 502 error. 
I raised up timeout limit in apache setting already.
Still looking for an explanation and a solution 
Thanks and regards

On Monday, August 2, 2010 7:00:12 PM UTC+7, marcoshernandez wrote:
>
> this is my error log: 
> [Mon Aug 02 04:46:10 2010] [error] [client 190.205.171.66] proxy: 
> error reading status line from remote server 10.4.139.31, referer: 
> http://foo.bar.com/reportes/guias/?operaciones=12&bl=20&destino= 
> [Mon Aug 02 04:46:10 2010] [error] [client 190.205.171.66] proxy: 
> Error reading from remote server returned by /reportes/guias/, 
> referer: http://foo.bar.com/reportes/guias/?operaciones=12&bl=20&destino= 
>
> And the error says textually: 
> Proxy Error 
>
> The proxy server received an invalid response from an upstream server. 
> The proxy server could not handle the request GET /reportes/guias/. 
>
> Reason: Error reading from remote server 
>
> Apache/2.0.54 Server at argos.globalserviciosrh.com Port 80 
>
>
> On Aug 2, 6:47 am, marcoshernandez  wrote: 
> > Hi. 
> > I'm using pisa (XHTML2PDF) for export the view results in a pdf 
> > The view is generated, a template is filled, then is passed to pisa 
> > and returned as a filestream. Later it's delivered via HTTP. It works 
> > fine for the most of the cases but I have a particular query that 
> > won't go out this way and throw a 502 error. I haven't figured out yet 
> > what's going on because I cannot backtrace the error. Any idea on hoy 
> > to get this working? at least where to look!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/nxOkwDnEK_MJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: 502 Proxy Error trying to export PDF

2010-08-02 Thread marcoshernandez
this is my error log:
[Mon Aug 02 04:46:10 2010] [error] [client 190.205.171.66] proxy:
error reading status line from remote server 10.4.139.31, referer:
http://foo.bar.com/reportes/guias/?operaciones=12&bl=20&destino=
[Mon Aug 02 04:46:10 2010] [error] [client 190.205.171.66] proxy:
Error reading from remote server returned by /reportes/guias/,
referer: http://foo.bar.com/reportes/guias/?operaciones=12&bl=20&destino=

And the error says textually:
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /reportes/guias/.

Reason: Error reading from remote server

Apache/2.0.54 Server at argos.globalserviciosrh.com Port 80


On Aug 2, 6:47 am, marcoshernandez  wrote:
> Hi.
> I'm using pisa (XHTML2PDF) for export the view results in a pdf
> The view is generated, a template is filled, then is passed to pisa
> and returned as a filestream. Later it's delivered via HTTP. It works
> fine for the most of the cases but I have a particular query that
> won't go out this way and throw a 502 error. I haven't figured out yet
> what's going on because I cannot backtrace the error. Any idea on hoy
> to get this working? at least where to look!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



502 Proxy Error trying to export PDF

2010-08-02 Thread marcoshernandez
Hi.
I'm using pisa (XHTML2PDF) for export the view results in a pdf
The view is generated, a template is filled, then is passed to pisa
and returned as a filestream. Later it's delivered via HTTP. It works
fine for the most of the cases but I have a particular query that
won't go out this way and throw a 502 error. I haven't figured out yet
what's going on because I cannot backtrace the error. Any idea on hoy
to get this working? at least where to look!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.