Forums

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

confluence can not access due to 502 bad gataway sometimes

lixiyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2019

Dear,

We have met the confluence crash once a month.

It always shows the 502 bad gateway or 504 gateway time out.

From the log, we didn't get the useful information.

Can you help me?

 

2 answers

0 votes
Yoga Reddy {Appfire}
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.
August 3, 2019

Hi @lixiyan 

Can you also verify the link and it might help you to understand the issue

Thanks

Yoga

lixiyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 6, 2019

@Yoga Reddy {Appfire} 

Thanks for your reply.

I found the issue seems as same as this link: 

https://jira.atlassian.com/browse/CONFSERVER-45599


 

Root Cause

Synchrony-proxy uses Jetty Proxy to handle HTTP requests/responses, and it only recognizes a certain range of characters as legal. Synchrony's date formatter uses the user's default locale, so some non-western (in support cases, mostly Chinese, one Korean case), characters are treated as 'illegal', which results in an HTTP protocol violation, i.e. 502 Bad Gateway error in the browser, 400 internally.

 

Workaround

(Upgrade to 6.0.2+ if not already) Override the default locale for Synchrony

  1. Create new file synchrony-args.properties in <home-directory> and add the following lines:
    user.language=en
    user.country=US
  2. Restart Confluence for changes to take effect

 

 The version we used is 6.0.3. I am not sure whether we could fix this issue by creating the file.

0 votes
JP _AC Bielefeld Leader_
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.
August 2, 2019

Hi,

are you running Confluence behind a proxy/firewall (My guess....)? Check the proxy / firewall settings.

Best

JP

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events