Forums

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

gadget.commen.error.500

Laszlo Varga May 2, 2019

Hi,

 

I have this error in the question's title.

 

I can not figure out what can be wrong.

OS: CentOS 7

 

domain name is not real and therefore you see server.domain

 

Here is my settings for server.xml

 

```

<Connector port="7991" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false"
scheme="https" proxyName="server.domain" proxyPort="443" secure="true"/>

<Connector port="7992" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" scheme="http"
proxyName="server.domain" proxyPort="80"/>

```

 

apache conf file content

 

```

<VirtualHost *:80>

ServerName server.domain

ProxyRequests Off
ProxyVia Off

<Proxy *>
Require all granted
</Proxy>

ProxyPass / http://127.0.0.1:7992/
ProxyPassReverse / http://127.0.0.1:7992/

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(/(.*))?$ https://%{HTTP_HOST}/$1 [R=301,L]

</VirtualHost>

<VirtualHost *:443>

ServerName server.domain

SSLProxyEngine on
SSLEngine on
SSLCertificateFile /home/centos/.cert/key.crt
SSLCertificateKeyFile /home/centos/.cert/key.key

ProxyRequests off
ProxyPreserveHost on

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://127.0.0.1:7991/
ProxyPassReverse / http://127.0.0.1:7991/

</VirtualHost>

```

 

The Base URL is `https://server.domain`

 

What I need to do to make it work over https?

 

The problem is not exist at all over http however I still use proxy

 

Thank you

 

1 answer

0 votes
Rambabu Patina _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.
May 2, 2019

Hi @Laszlo Varga ,

Please check, is your base URL is correct? If no correct it by  System -> General Configuration and then try.

Furthermore, you can have a look at similar articles which may help you,

gadget-common-error-500

gadget-common-error-500-LAN-DNS-no-https

Thanks,
Ram.

Laszlo Varga May 2, 2019

Hi Ram,

 

The Base URL is correct.

I have gone through many forum thread and tried to fix this issue.

I have rebuilt the server.xml from default and apache vhst conf file from scratch following the atlassian instructions. 

As I also mentioned there is no problem over http and use proxy.

Laszlo Varga May 2, 2019

To make it clear

 

I.e

 

server.xml

proxyName="example.com"

 

Base URL

https://example.com

 

Is this right?

Rambabu Patina _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.
May 2, 2019

In the question, mentioned that the base URL https://server.domain and which is linked to other URL.
Please try with the base URL in the link if that is the correct base URL and let us know, how it goes.

Laszlo Varga May 2, 2019

I used server.domain as a placeholder because I did not want to expose it

S_ Toyo
Contributor
August 5, 2019

@Laszlo Varga @Rambabu Patina _Appfire_ Has this been solved? I am also having the same issue. And nobody else on the forums knows the exact answer. :(

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events