-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 8.5.14
-
Component/s: Macros - Gadgets
-
None
-
2
-
Severity 3 - Minor
Issue Summary
This is reproducible on Data Center: (yes)
Steps to Reproduce
- Creating a Confluence instance with version 8.5.14
- Creating a Bamboo instance with version 9.2.15
- Create an application link between Confluence and Bamboo
- Navigate to General Configuration —> External Gadgets —> Gadget Feeds
- Add Bamboo gadget feed URL, it is working fine.
- Delete the gadget URL from the list and wait for 1-2 hours.
- Then, try to add the Bamboo gadget URL again. The below message appears on the Confluence UI;
Unable to parse the gadget feed at <Bamboo Base URL>/bamboo/rest/gadgets/1.0/g/feed
Expected Results
The gadget feed URL should be added to the list properly in every one of the tries.
Actual Results
After enabling the HTTP debug log on Confluence the below HTTP 401 response comes from Bamboo;
2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.headers] onRequestSubmitted http-outgoing-2998 >> GET /bamboo/rest/gadgets/1.0/g/feed HTTP/1.1 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.headers] onRequestSubmitted http-outgoing-2998 >> If-None-Match: \"1725346335504\" 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.headers] onRequestSubmitted http-outgoing-2998 >> Host: linux-79645.prod.atl-cd.net 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.headers] onRequestSubmitted http-outgoing-2998 >> Connection: Keep-Alive 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.headers] onRequestSubmitted http-outgoing-2998 >> User-Agent: Atlassian-Gadgets-HttpClient 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.headers] onRequestSubmitted http-outgoing-2998 >> Cookie: JSESSIONID=6A38B420764610B423B34B58B74C68AD; _a5ce6=a0e1541ebb308755 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.headers] onRequestSubmitted http-outgoing-2998 >> Accept-Encoding: gzip,deflate 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"GET /bamboo/rest/gadgets/1.0/g/feed HTTP/1.1[\\r][\\n]\" 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"If-None-Match: \"1725346335504\"[\\r][\\n]\" 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"Host: linux-79645.prod.atl-cd.net[\\r][\\n]\" 2024-09-03 12:12:29,686 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"Connection: Keep-Alive[\\r][\\n]\" 2024-09-03 12:12:29,687 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"User-Agent: Atlassian-Gadgets-HttpClient[\\r][\\n]\" 2024-09-03 12:12:29,687 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"Cookie: JSESSIONID=6A38B420764610B423B34B58B74C68AD; _a5ce6=a0e1541ebb308755[\\r][\\n]\" 2024-09-03 12:12:29,687 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"Accept-Encoding: gzip,deflate[\\r][\\n]\" 2024-09-03 12:12:29,687 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 >> \"[\\r][\\n]\" 2024-09-03 12:12:29,689 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"HTTP/1.1 401 Unauthorized[\\r][\\n]\" 2024-09-03 12:12:29,689 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"Content-Language: en[\\r][\\n]\" 2024-09-03 12:12:29,689 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"Content-Length: 769[\\r][\\n]\" 2024-09-03 12:12:29,689 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"Content-Type: text/html;charset=utf-8[\\r][\\n]\" 2024-09-03 12:12:29,689 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"Date: Tue, 03 Sep 2024 12:12:29 GMT[\\r][\\n]\" 2024-09-03 12:12:29,689 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"Www-Authenticate: OAuth realm=\"https%3A%2F%2Flinux-79645.prod.atl-cd.net%2Fbamboo\"[\\r][\\n]\" 2024-09-03 12:12:29,689 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"X-Content-Type-Options: nosniff[\\r][\\n]\" 2024-09-03 12:12:29,690 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"X-Frame-Options: SAMEORIGIN[\\r][\\n]\" 2024-09-03 12:12:29,690 DEBUG [http-nio-8090-exec-6 url: /confluence/admin/addgadgetfeed.action; user: admin] [org.apache.http.wire] wire http-outgoing-2998 << \"X-Seraph-Loginreason: AUTHENTICATED_FAILED[\\r][\\n]\"
Workaround
The only workaround for this behavior is restarting Confluence, however, after waiting for 1-2 hours again the same problem occurs.