Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to login, Proxy Error - Error reading from remote server

Anthony February 27, 2019

Hello,

 

Since this morning, without any change on the server and any change on the confluence app, I cannot loggin  to the app.

confluence version:  5.3.1

I use Apache/2.4.7 with mod_proxy

I restart both confluence and apache without success.

Confluence is running, the disk is not full.

Each attempt result to the following http error:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /confluence/dologin.action.

Reason: Error reading from remote server

 

On apache server log i found the following logs: 

[Wed Feb 27 16:56:10.546387 2019] [proxy_http:error] [pid 3833] (70007)The timeout specified has expired: [client 193.248.40.185:59926] AH01102: error reading status line from remote server localhost:8090, referer: http://xxx/confluence/dologin.action
[Wed Feb 27 16:56:10.546451 2019] [proxy:error] [pid 3833] [client 193.248.40.185:59926] AH00898: Error reading from remote server returned by /confluence/dologin.action, referer: http://xxx/confluence/dologin.action
[Wed Feb 27 16:56:10.556796 2019] [proxy_http:error] [pid 1107] (70007)The timeout specified has expired: [client 193.248.40.185:59684] AH01102: error reading status line from remote server localhost:8090, referer: http://xxx/confluence/dologin.action
[Wed Feb 27 16:56:10.556843 2019] [proxy:error] [pid 1107] [client 193.248.40.185:59684] AH00898: Error reading from remote server returned by /confluence/dologin.action, referer: http://xxx/confluence/dologin.action

I tried to update the ProxyTimeout without success.

 

I don't know where to search since I did not found any related issue.

 

Thank you

 

1 answer

0 votes
Josh Steckler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 27, 2019

Hi,

Did you set up Confluence to use a context path (/confluence) in your server.xml?

 

The examples given in the documentation show you need to use http://localhost:8080/confluence in the ProxyPass directive, but you may need to remove the /confluence

Anthony February 28, 2019

Hi,

 

Thank you for your reply.

I set up Confluence with context path (/confluence) in my server.xml.

I tried to make the change as you suggest, but now I can't access my confluence page anymore.

 

Here is my apache configuration (the two lines commented is the configuration before your suggestion)

ProxyRequests Off
ProxyVia On
ProxyPreserveHost On

#ProxyPass /confluence http://localhost:8090/confluence
ProxyPass /confluence http://localhost:8090
#ProxyPassReverse /confluence http://localhost:8090/confluence
ProxyPassReverse /confluence http://localhost:8090
<Location /confluence>
RequestHeader unset Authorization
Order allow,deny
Allow from all
</Location>

 

All was working fine since many years and suddenly it's broken. 

Josh Steckler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 28, 2019

They need to match - if you're using a context path in your server.xml, you need to include it on your proxy configurations.

 

Can you post your <connector> block from your  server.xml?

Like rao ande likes this
Anthony February 28, 2019

Thank you for your reply.

The issue disappeared as suddenly as it has appeared. So I will not be able to test any solution, I just hope this will not come back again.

Again thank you for your help.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events