It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Widget Connector problem on Confluence 6.4.2 and Confluence 6.13.4

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
Daniel_Eads Atlassian Team 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

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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

269 views 9 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you