Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Widget Connector problem on Confluence 6.4.2 and Confluence 6.13.4

Mateusz Pelczarski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2019

Hello everyone,

 

I have some problems with youtube video links provided by widget connector on Confluence 6.4.2, error appear:

Timeout while getting placeholder. Please try again shortly.

I placed this youtube link to my twitter and publish it with widget connecter without any problem and video is loading normally. Proxy and ReverseProxy is configured correctly.

 

But beside that issue we are upgrading confluence to 6.13.4 and I can't find it on other macros. Did something change on it? I see its available for this version:

https://confluence.atlassian.com/conf613/widget-connector-macro-964960940.html

 

Thanks for help!

2 answers

0 votes
Adriana Wolfe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 26, 2019

Getting this same issue on Jira 6.13.4. Existing Widget Connector Macros are working as expected, but new ones are getting the "Timeout while getting placeholder" error. All the WebDAV and Widget plugins are enabled under Plugins > System.

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2019

Hi Mateusz, welcome to the Community!

First of all, I need to advise you about a known CVE with your version of Confluence and the widget connector. This can lead to some unpleasant hacking attempts against your Confluence server which I describe in this linked article. The good news is that 6.13.4 that you noted you're looking to upgrade to is patched for these vulnerabilities. Short term, it's possible that your administrator disabled the Widget connector already (but if not, I'd strongly urge an upgrade than trying to fix the issue you're seeing now).

In recent releases of Confluence, there's no explicitly macro that you call. You basically paste the URL of the content you want to add, and Confluence automatically converts it to a macro.

Here's an example video:

widget.gif

Cheers,
Daniel

Mateusz Pelczarski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2019

Hello Daniel,

 

I've upgraded Test instance to 6.13.4 but after paste youtube url its not changing to widget connector. When I try manually add it with widget connector same error occur, from atlassian-confluence.log error:

2019-05-10 09:38:13,552 ERROR [http-nio-8190-exec-7] [rest.api.model.ExceptionConverter] convertServiceException No status code found for exception, converting to internal server error : 
-- referer: https://page/pages/resumedraft.action?draftId=174620729&draftShareId=febc7211-ce7b-4dc3-9ec6-17e8ac5122e5 | url: /rest/tinymce/1/macro/placeholder | traceId: 5a12679770325598 | userName:
java.lang.RuntimeException: com.atlassian.confluence.content.render.xhtml.XhtmlTimeoutException: Rendering this content exceeded the timeout of 5 seconds.

 

I've google it and find solution:

https://jira.atlassian.com/browse/CONFSERVER-53469

 

add value in setenv.sh to:

CATALINA_OPTS="-Dconfluence.macro.placeholder.timeoutMillis=10000 ${CATALINA_OPTS}"

 

error changed to:

2019-05-15 13:06:02,118 ERROR [http-nio-8090-exec-6] [rest.api.model.ExceptionConverter] convertServiceException No status code found for exception, converting to internal server error : 
-- referer: http://page/pages/resumedraft.action?draftId=191463428&draftShareId=ca0c42f9-54a8-49d7-8e0d-823eac58647f | url: /rest/tinymce/1/macro/placeholder | traceId: da0bc0ae841806b0 | userName:
java.lang.RuntimeException: com.atlassian.confluence.content.render.xhtml.XhtmlTimeoutException: Rendering this content exceeded the timeout of 10 seconds.

 

value changed to 600:

2019-05-15 14:13:02,570 ERROR [http-nio-8090-exec-8] [rest.api.model.ExceptionConverter] convertServiceException No status code found for exception, converting to internal server error :
-- referer: http://page/pages/resumedraft.action?draftId=191463428&draftShareId=ca0c42f9-54a8-49d7-8e0d-823eac58647f | url: /rest/tinymce/1/macro/placeholder | traceId: 1b7d7bd71e84c1bb | userName:
java.lang.RuntimeException: com.atlassian.confluence.content.render.xhtml.XhtmlTimeoutException: Rendering this content exceeded the timeout of 0 seconds.

Page after adding youtube links and twitter:

2019-05-15 14_21_21-asdasd - Infrastructure Services and Tools - Confluence.png

Error on page when I add it with widget:

2019-05-15 14_21_53-asdasd - Infrastructure Services and Tools - Confluence.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events