Navigating to a repository page shows "We couldn't find the page you requested" error pop up

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

Navigating to a repository page shows "We couldn't find the page you requested" error popup

The following appears in the the browser developer tools console

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-2uOQtIsVzHr1u4XAN96+tcBOqQIM9wp6kovH43HGcfs='), or a nonce ('nonce-...') is required to enable inline execution.

Also, below in the reponse

{"message":"null for uri: https://URL/rest/api/1.0/projects/<PROJECT KEY>/repos/<reposlug>/undefined/rest/jira-integration/latest/servers","status-code":404}


環境

  • This issue reproducible in Chrome and not in IE
  • A proxy like F5, nginx, HAproxy  and Apache infront of Bitbucket

We have noticed this when the extra Content Security Policy CSP headers are set in the proxy.

e.g. 

Content-Security-Policy:script-src 'self'; object-src 'self' 
  1. Remove the Content Security Policy settings from proxy
  2. Stop the atlbitbucket service, rename the application-data/plugins/.osgi-cache/felix directory to felix.bkp and then restart the service.



最終更新日: 2024 年 2 月 1 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.