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

How do I resolve a "Page Not Found" when viewing a commit?

hughezz March 24, 2019

I can see all the details of the commit behind the error message except inside the code diff window where it just says "An unknown error has occurred". I have enabled logging and couldn't see any errors and Diagnostics doesn't show anything.

2 answers

1 accepted

0 votes
Answer accepted
hughezz May 10, 2019

So after a bunch more diagnostics and google searching I found that the issue was only occurring when trying to display .cs files. From this I found this other community post (https://community.atlassian.com/t5/Bitbucket-questions/Diff-giving-404-File-Not-Found-Error/qaq-p/712224) about the exact same error. That page pointed me in the direction of some confluence documentation on how to resolve this issue: 

https://confluence.atlassian.com/bitbucketserverkb/iis-http-error-404-for-cs-and-config-files-808622176.html

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2019

Hi Anthony, welcome to the Community!

I'm not sure I understand what is happening in your case, so we'll need more information to find out what's going on:

  1. I'm assuming you're on Bitbucket Server, can you confirm this?
  2. When does this error happen?
  3. Can you send us a screenshot?

Thanks in advance!

Ana

hughezz March 26, 2019

Hi Ana,

Yes, I'm using Bitbucket Server 6.0.0 (Build Number: 6000000)

The error happens from the following scenarios:

- Viewing a commit
- Viewing the "Diff" tab on Pull Requests
- Viewing the "Diff" tab when comparing branches

bitbucketerror.png

hughezz April 3, 2019

I still have this issue.

hughezz April 13, 2019

Any luck with a solution?

hughezz May 10, 2019

So after a bunch more diagnostics and google searching I found that the issue was only occurring when trying to display .cs files. From this I found this other community post (https://community.atlassian.com/t5/Bitbucket-questions/Diff-giving-404-File-Not-Found-Error/qaq-p/712224) about the exact same error. That page pointed me in the direction of some confluence documentation on how to resolve this issue: 

https://confluence.atlassian.com/bitbucketserverkb/iis-http-error-404-for-cs-and-config-files-808622176.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events