Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-40469

Some macros/pages fail to render with Content Formatting Macros

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Adaptavist Content Formatting Macros versions:

      • 4.2.13
      • 4.2.14
      • 4.2.15

      Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Symptoms

      • Certain pages with macros do not render on time, the page times out
      • The following or similar stack trace appears in the logs:
        2016-01-08 09:15:55,846 ERROR [ajp-nio-8009-exec-3] [adaptavist.analytics.common.GoogleAnalyticsService] sendDataToAnalytics Unable to send analytics data to google service!
         -- referer: http://base.url/path | url: /path | userName: admin | action: viewpage | page: 12345678
        java.net.SocketException: Network is unreachable
                at java.net.PlainSocketImpl.socketConnect(Native Method)
                at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
                at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
                at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
                at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
                at java.net.Socket.connect(Socket.java:589)
                at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
                at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
                at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
                at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
                at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
                at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
                at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
                at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
                at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
                at com.adaptavist.analytics.common.GoogleAnalyticsService.sendDataToAnalytics(GoogleAnalyticsService.java:69)
                at com.adaptavist.analytics.common.GoogleAnalyticsService.sendDataToAnalytics(GoogleAnalyticsService.java:47)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:37)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
                at com.adaptavist.analytics.macrosusage.AbstractAnalyticsLegacyMacro.execute(AbstractAnalyticsLegacyMacro.java:32)
                at com.adaptavist.confluence.contentformatting.ContentFormattingMacro.renderMacro(ContentFormattingMacro.java:49)
        ...
        

      Environment

      • Adaptavist Content Formatting Macros version 4.2.13-4.2.15 is installed

      Problem

      This is an issue with the mentioned third-party add-on. The problem is caused by the add-on gathering Google Analytics data and tries to send it. If this fails for any reason (network error for example), the macro rendering may take longer than the page rendering timeout.

      Workaround

      Downgrade to any version of the plugin prior to 4.2.13.

      Solution

      If you have an active support license with Adaptavist, you can track this issue with reference CONTENTF-251. Wait for the bug to be fixed and install the plugin version that contains it.
      Update: The issue was reportedly fixed in version 4.2.16 of the plugin.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  2 years ago