Troubleshooting Apache on linux integration with Fisheye/Crucible.

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Troubleshooting Apache on linux integration with Fisheye/Crucible.

This text supposes that you already have Apache running correctly.

If you face the error on apache logs when integrating it with apache please try the steps below:

1 [error] (13)Permission denied: proxy: HTTP: attempt to connect to xxx.xxx.xxx.xxx:port

Add this Virtual host to your apache:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 <VirtualHost *:80> #Creating virtual host ServerAdmin admin@domain.com ServerName application.example.com ServerAlias application.example.com ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://your_application_original_url:port/ ProxyPassReverse / http://your_application_original_url:port/ <Location /> Order allow,deny Allow from all </Location> ErrorLog /path/to/example.com-error.log LogLevel debug CustomLog /path/to/example.com-access.log combined </VirtualHost>

If you use SSL some more parameters are needed.

1 2 3 4 SSLEngine On SSLProxyEngine on SSLCertificateFile /path/to/file.crt SSLCertificateKeyFile /path/to/file.key

This virtual host needs mod_proxy and mod_ssl loaded with apache.

RHEL distros have SELinux enabled by default.

To allow proxy connections on apache you need to run:

1 2 3 4 /usr/sbin/setsebool httpd_can_network_connect true or /usr/sbin/setsebool httpd_can_network_connect 1

The command above can change depending on the linux distribution.

To enable apache connections on firewall run:

1 2 iptables -I INPUT -p tcp --dport 80 -j ACCEPT service iptables save

Debian based distros don't have SELinux installed/enabled by default, but you will need to use the firewall rules mentioned above.

For RHEL and Debian families the vhost is similar as it is read by Apache and not by Linux itself.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.