Forums

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

How can I see the source IP address for a failed login attempt to Bitbucket?

Richard Heasman June 26, 2019

Hi all. We use Crowd to connect Bitbucket to active directory. I've had to change a password to a service account recently and 95% of our services are working fine, but there are some login attempts that are still locking the account.

It would be really helpful to diagnosis if I could tell what IP address the failed attempts are coming from, but I cannot find this, either in bitbucket or crowd logs. How could I enable this?

1 answer

1 accepted

0 votes
Answer accepted
Michael Walker
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 27, 2019

Hi Richard,

Bitbucket Server has an audit log saved to disk at $BITBUCKET_HOME/log/audit/atlasssian-bitbucket-audit.log. Reviewing this log should tell you the IP of the failed attempt, as seen below in a test instance example.

192.168.2.156,192.168.2.155 | AuthenticationFailureEvent | admin | 1561664377367 | admin | {"authentication-method":"basic","error":"Invalid username or password."} | @1DGSQWHx879x14109x0 | -

It this example, 2 IPs are shown, the first being the client and the second being an intermediary IP, in my case, an Nginx reverse proxy.

Let us know if there's anything else we can help with.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events