The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

TAGS
AUG Leaders

Atlassian Community Events