Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,594
Community Members
 
Community Events
176
Community Groups

Audit log blank page

I just installed Bitbucket Server 7.1 in Docker. It seems something happened to audit log (blank page).

 

settings_audit_log.pngrepository_audit_log.png

3 answers

1 accepted

0 votes
Answer accepted

It seems that Cloudflare was the problem. I disabled it and audit log appeared. Very strange, I always used Bitbucket behind Cloudflare and never had issues like that.

@edwin I'm running Bitbucket behind proxy and configuration is set as described here https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-behind-nginx-using-ssl-776640112.html

@mkemp the console is empty. Only warnings like "DEPRECATED JS - Dropdown constructor has been deprecated and will be removed in a future release. Use Dropdown2 instead."

 

I noticed that there is no request to /rest/auditing/1.0/events?limit=100

Cloudflare disabled:

cloudflare_disabled.png

 

Cloudflare enabled:cloudflare_enabled.png

mkemp Atlassian Team Mar 26, 2020

Thanks for providing the network tab too!

Do other parts of Bitbucket work too with Cloudflare enabled, say the new PR experience? I'm not sure if it's actually due to Cloudflare being enabled or whether there is a bug in the new auditing feature.

You can see there's batch.js file of 1.2MB where Cloudflare is disabled that is there when it is enabled. That's the web application, so in the case where CF is enabled, it's not even loading the auditing feature.

Do other parts of Bitbucket work too with Cloudflare enabled, say the new PR experience? I'm not sure if it's actually due to Cloudflare being enabled or whether there is a bug in the new auditing feature.

I've not seen any other issues.

I'd say the problem is caused by rocker loader from Cloudflare. I switched it off and everything seems to work fine now.

Like mkemp likes this
mkemp Atlassian Team May 04, 2022

Thanks @PJ ! I'll raise this with the appropriate team. My suspicion is that the JS is not executed (and thus doesn't listen) to when the HTML has loaded and thus render the UI. I see from the CF documentation you can exclude this page: https://support.cloudflare.com/hc/articles/218411427

We (Atlassian working on DC) are adding our own deferred feature for JS, Jira 9.0 is shipping with some work on this. I would generally recommend not enabling this since it may break pages and in some cases may make the page loading experience worse overall (say with increased layout shift).

mkemp Atlassian Team Jul 18, 2022

Thanks again @PJ , we've applied a fix that should roll out with in the next few product versions.

0 votes

Hi @PJ 

This could be a bug. Is it possible to also attach to the bug report a screenshot of what's in the browser's console after the page is loaded? (here's a guide: https://balsamiq.com/support/faqs/browserconsole/)

0 votes
edwin Rising Star Mar 25, 2020

Hi @PJ ,

I've seen something similar in Crowd and the issue was due to the application being run behind a proxy without proxy configurations in place.

Please confirm whether you're running Bitbucket behind a proxy and whether configurations are set in bitbucket.properties.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS

Atlassian Community Events