I am trying to configure the imbedded instance of Elasticsearch in my new Bitbucket install. I have added the following lines to the bitbucket.properties file:
plugin.search.elasticsearch.baseurl=http://ibc-qctappd01:7992/
plugin.search.elasticsearch.username=username
plugin.search.elasticsearch.password=password
but when I restart the Bitbucket and Elasticsearch services (Windows Server 2016), and press the TEST button in the Admin screen, I am greeted by the following response:
"Access to Elasticsearch was denied. Check your settings."
Please help. :-)
This can be due to numerous issues. Can you verify that any old process that was running on port 7992 is stopped. If you do see an old process running make sure Bitbucket services are COMPLETELY STOPPED before killing off the process.
Checked using NETSTAT -B and Elasticsearch is the only process running on port 7992.
I made sure that the username and password matched in bitbucket.properties and buckler.yml before restarting both the Bitbucket and Elasticsearch services.
Still getting the message "Access to Elasticsearch was denied. Check your settings." when I click the TEST button in Bitbucket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of Bitbucket are you running? Also we’re services stopped when you ran the netstat command?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Version 6.4.0. Yes, the services were shutdown when I issued the NETSTAT -B command. I guess I should clarify my previous statement...when the services were up, ElasticSearch was the only thing on port 7992, when I shutdown the services, nothing was running on 7992. When I try to use a browser to get to ElasticSearch, I am greeted by a username/password window that doesn't like the username and password that I configured in bitbucket.properties and bucklet.yml.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.