草庐IT

mysql - 错误 : upstream prematurely closed connection while reading response header from upstream [uWSGI/Django/NGINX]

我目前总是在我的用户正在执行的查询中得到502...这通常返回872行并且需要2.07才能在MySQL中运行。然而,它返回了很多信息。(每一行都包含很多东西)。有什么想法吗?运行Django(tastypieRestAPI)、Nginx和uWSGI堆栈。使用NGINX配置服务器#theupstreamcomponentnginxneedstoconnecttoupstreamdjango{serverunix:///srv/www/poka/app/poka/nginx/poka.sock;#forafilesocket}#configurationoftheserverserver{

mysql - 错误 : upstream prematurely closed connection while reading response header from upstream [uWSGI/Django/NGINX]

我目前总是在我的用户正在执行的查询中得到502...这通常返回872行并且需要2.07才能在MySQL中运行。然而,它返回了很多信息。(每一行都包含很多东西)。有什么想法吗?运行Django(tastypieRestAPI)、Nginx和uWSGI堆栈。使用NGINX配置服务器#theupstreamcomponentnginxneedstoconnecttoupstreamdjango{serverunix:///srv/www/poka/app/poka/nginx/poka.sock;#forafilesocket}#configurationoftheserverserver{