LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-02-2013, 02:01 PM   #1
kingkashif
Member
 
Registered: May 2009
Posts: 92

Rep: Reputation: 16
NginX [error] upstream prematurely closed connection while reading reading response


Hi guys,

I have run into an odd problem on my nginx server which I am unable to solve. I have searched almost everything on the google but nothing seems to be specific to my problem or just doesn't solve it for me.

When I try to execute my php script, after few seconds it gives me the 502 Bad Gateway.

While in the nginx error log the following line is logged.

Quote:
2013/07/02 20:48:17 [error] 23240#0: *14469 upstream prematurely closed connection while reading response header from upstream, client: XXX.XXX.XX.XXX, server: abc.com, request: "POST /members/admin/useradd.php HTTP/1.1", upstream: "http://XX.XX.XXX.XX:7080/members/admin/useradd.php", host: "abc.com", referrer: "http://abc.com/members/admin/useradd.php?userid=150"
Any help would be highly appreciated.

Thanks in advance.
 
Old 07-03-2013, 04:56 AM   #2
kingkashif
Member
 
Registered: May 2009
Posts: 92

Original Poster
Rep: Reputation: 16
I hate being a pest but I would really appreciate if anyone could shed some light on in this issue ? :S
 
Old 07-20-2013, 04:37 PM   #3
nico34
Member
 
Registered: Jan 2010
Posts: 54

Rep: Reputation: 0
can you post your nginx config file, also can you check if the php script is using some kind of port and that its running also what process thus this php script trying to run?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Visual C++, Reading from File, Reading an XFile not heirarchy Soulkeeper1987 Programming 1 07-01-2012 04:09 PM
Bash Scripting - Reading Konsole Response / Output woverko Programming 4 01-23-2009 04:32 AM
ERROR reading from socket: Connection reset by peer sweetytweety Linux - Newbie 3 05-16-2008 05:21 AM
reading closed pipes kev000 Programming 2 11-29-2006 01:45 PM
Error reading WWW server response (HTTP Header)?? cuboctahedron Linux - Newbie 7 02-20-2003 04:10 AM


All times are GMT -5. The time now is 01:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration