Hello,
I have been tasked with setting up a preprod bitbucket instance. We are currently running version 6.5.2. In production we have an elasticsearch server running on version 5.5.3 Installed via source/zip. Right now I have gotten bitbucket setup in preprod and pointing to the preprod DB servers. However I am trying to get elasticsearch setup. I have it configured correctly and I just grabbed what was live (might not have been the best method but I am not familiar with doing dumps and restoring). However I am getting the following error when trying to access preprod elasticsearch:
[user123@server15 ~]$ curl -XGET 'server15.example.com:9200/?pretty'
{
"error" : "unknown",
"status" : 401
}
Firewall ports are open
[user123@server17~]$ sudo firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: dhcpv6-client snmp ssh
ports: 22/tcp 9300/tcp 9200/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
protocol="tcp" accept
However SELinux IS in enforcing. But I don't think that is the issue.