We are seeing 404 File Not Found Errors on some files (not all) on pull requests.
Note we are using IIS as a proxy server.
All other functionality seems to be working, and the error doesn't happen on all files.
There also does not seem to be a clear link i.e. new files added - it happens to existing and new files.
Hi, there are actually other issues as well.
1). certain files cannot be viewed in pull request. For example, the diff of some C# code cannot be viewed.
But some C# file can be viewed.
2). Similarly, some SQL file can be viewed in pull request diff, but some others cannot, as shown below.
Can you please urgently help? We haven't had any response for 2 weeks and this is currently blocking our daily work.
Thanks in advance.
I believe this is a different error - please see screenshots.
As mentioned, we are running IIS as a proxy server infront of Bitbucket and have a DNS entry mapped from bitbucket.algebris.lan to alg-ln-bld1v:8060.
We have both JIRA and Confluence running under the same format without issue. And note, this only happens on some files and not others. The utils.cs script below has been in our master branch from the beginning.
Your last screenshot seems to show that different behaviour is occurring when you access Bitbucket Server via your IIS reverse proxy, vs. when you bypass the reverse proxy and connect to Bitbucket's listening port directly.
It could be that IIS is blocking certain types of file content as "unsafe", forcing a 404. The 404 message from your last screenshot looks like it came from IIS, not from Bitbucket Server.
Can you bypass IIS and connect to Bitbucket Server directly (i.e. via alg-ln-bld1v:8060) and test some of diffs that were previously not working?
If you find that these diffs all work correctly when you bypass IIS, you should contact your network administrator with an example of a file that was blocked and see if it contains content or patterns that IIS is blocking. I've seen cases in the past where a reverse proxy was picking up certain string matches and deeming them unsafe, and refusing to load the request for that content, causing similar errors to the ones you're seeing here.
Let me know how you go Algebris!
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot