logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Proxy Error in accessing web portal
Author
rks4sm



Joined: 28 Nov 2013
Posts: 17
Location: New Delhi

PostPosted: Thu 06 Nov '14 13:23    Post subject: Proxy Error in accessing web portal Reply with quote

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

PostPosted: Thu 06 Nov '14 19:36    Post subject: Reply with quote

What is in your error log about that?
Back to top
rks4sm



Joined: 28 Nov 2013
Posts: 17
Location: New Delhi

PostPosted: Tue 16 Dec '14 3:16    Post subject: We have got the log during the issue Reply with quote

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

PostPosted: Thu 18 Dec '14 12:27    Post subject: Reply with quote

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

PostPosted: Thu 18 Dec '14 12:44    Post subject: Reply with quote

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

PostPosted: Tue 23 Dec '14 13:12    Post subject: Reply with quote

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

PostPosted: Tue 20 Jan '15 13:51    Post subject: Reply with quote

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

PostPosted: Tue 20 Jan '15 15:11    Post subject: Reply with quote

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


Reply to topic   Topic: Proxy Error in accessing web portal View previous topic :: View next topic
Post new topic   Forum Index -> Apache