Unable to install/use the sentry (On-prem) with JIRA Cloud via the Atlassian marketplace addon
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
The Add-on Sentry app isn't getting installed on the marketplace
1) Installation fails with the below error:
An unexpected error occurred.
または
2) You may see the below Error, but the APP will get installed anyway
The App host returned HTTP Response code 500 when we tried to contact it during installation. Please try again later or contact the App Vendor.
Before checking with the App Vendor Sentry Support you can check a few things which could resolve the issue locally as this is a Self Hosted Sentry Application.
環境
- Jira Cloud
- Sentry Application (Self-Hosted)
- Sentry Add-on - Installed on the Jira cloud site via the manual description file upload method
診断
- Use the marketplace app descriptor link to install the application. The description link can be found in the app listing page in the Atlassian Marketplace
- Once the installation completes without errors, check if the "Sentry" app shows up in the "User-Installed Apps" list. (Reload the page to be sure)
- If No, then contact Atlassian Support for any help with the "Installation" process only.
- If Yes, then Click on Get Started / Configure button. After a bit of loading, you may see the below error.
- Open browser developer tools: "Browser Settings" > "More Tools" > "Developer Tools" (for Chrome)
- Generate Network and Console trace logs by reloading the above page: Generating HAR files and analysing web requests
- Go to the Console logs and check if you see the below error:
Console Logs
Refused to display 'https://sentry.infra.paylead.fr/' in a frame because it set 'X-Frame-Options' to 'deny'.
原因
- Seems like the 'X-Frame-Options' header was set to 'deny' or 'allow' and 'deny' at the same time on Sentry code, but it's expecting only "allow".
ソリューション
- You must have to set the above 'X-Frame-Options' header in Atlassian-connect.json file of the Sentry app to 'allow'.
- If in doubt, here is a Sentry Community Forum where they have discussed a similar issue with the X-Frame-Options header Run Sentry in X-Frame-Options. Please post your queries in the Sentry Community Forum.
- You can also open a support ticket with Sentry App Support for assistance.
最終更新日 2023 年 8 月 3 日
Powered by Confluence and Scroll Viewport.