Django sometimes shows partial (incomplete) json data in production env

26 views
Skip to first unread message

George Mejia

unread,
Feb 23, 2015, 11:54:20 PM2/23/15
to django...@googlegroups.com
I request some json data by some url, sometimes it works fine and sometimes doesn't ... I looked another related cuestion here, but it seems to recommend not change content-length by middleware ... my json data incomplete is as image below shows:




Besides, this only happens on production env ...  The code is fine and works on production env, and the behaviour was normal before ...  this also happens for others queries (all only in production), I wonder what is cutting conexion ? if so, when this occurs ?

Javier Guerra Giraldez

unread,
Feb 24, 2015, 8:23:55 AM2/24/15
to django...@googlegroups.com
On Mon, Feb 23, 2015 at 11:54 PM, George Mejia <hi.g...@gmail.com> wrote:
>
> Besides, this only happens on production env ... The code is fine and works on production env, and the behaviour was normal before ... this also happens for others queries (all only in production), I wonder what is cutting conexion ? if so, when this occurs ?


check the time needed to generate that response. this sounds like
some serve-enforced timeout.

(why to send textual data as a picture??)


--
Javier
Reply all
Reply to author
Forward
0 new messages