Author |
|
rks4sm
Joined: 28 Nov 2013 Posts: 17 Location: New Delhi
|
Posted: Thu 06 Nov '14 13:23 Post subject: Proxy Error in accessing web portal |
|
|
Hello Friends,
We are getting the error from the SAP portal where we have installed Apache as a reverse Proxy on Windows server.
The Apache Server received an invalid response from an upstream server.
The Proxy server could not handle the request POST/irj/portal
Reason: Error reading from remote server
--------------------------------------------------
Apache/2.4.9 (Win32)OpenSSL/1.0.1h Server at www.xyz.com port 80
Can you please tell me what do I need to check?
TIA,
rakesh |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 06 Nov '14 19:36 Post subject: |
|
|
What is in your error log about that? |
|
Back to top |
|
rks4sm
Joined: 28 Nov 2013 Posts: 17 Location: New Delhi
|
Posted: Tue 16 Dec '14 3:16 Post subject: We have got the log during the issue |
|
|
Hi,
we are seeing this entry on the log when we had temporary issue
---------------
Mon Dec 15 15:24:10.763255 2014] [autoindex:error] [pid 8484:tid 4212] [client x.y.z.u:42628] AH01276: Cannot serve directory G:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
--------------------------------
Does this points to our Proxy error issues in the portal which is very intermittent?
Thanks,
Rakesh
[/img] |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 18 Dec '14 12:27 Post subject: |
|
|
It seems that the DirectoryIndex in not set to the index file of the backend. Like default.jsp or what ever. Or the path is not configured so apache searches in its own directory. |
|
Back to top |
|
rks4sm
Joined: 28 Nov 2013 Posts: 17 Location: New Delhi
|
Posted: Thu 18 Dec '14 12:44 Post subject: |
|
|
Thanks James!
But what could be the possible reason for the intermittent issue?
Regards,
Rakesh |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 23 Dec '14 13:12 Post subject: |
|
|
reason for a intermittent issue. I can only guess.
It can be
- the network connection
- the backend server is too busy
You can find that out by setting the log level to debug for the proxy module. |
|
Back to top |
|
rks4sm
Joined: 28 Nov 2013 Posts: 17 Location: New Delhi
|
Posted: Tue 20 Jan '15 13:51 Post subject: |
|
|
The only issues in setting the log to debug is the issue is intermittent and we can't anticipate when the issues will come.
Is it prudent to set the log level as debug?
Thanks,
Rakesh |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 20 Jan '15 15:11 Post subject: |
|
|
Well setting the log to debug is opening a flood of log entries, but at least it can help to find the error. |
|
Back to top |
|