Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-59464

Creating a Share a link blueprint produces an error.

    XMLWordPrintable

Details

    Description

      Issue Summary

      Creating a share a link blueprint prompt an alert, We can't create the blueprint right now

      Steps to Reproduce

      1. Create a page using the ellipses.
      2. Select share a link
      3. Enter data in text field and enter.

        Expected Results

      Confluence creates shared link page.

      Actual Results

      Error prompts We can't create the blueprint right now

      The below exception is thrown in the atlassian-confluence.log file:

      020-02-11 09:41:56,437 ERROR [http-nio-8090-exec-7] [plugins.sharelinks.metaextractor.MasterLinkMetaDataExtractor] getHeadHtmlData Error with io exception:
       -- referer: http://localhost:8090/display/SHAR/sharealink+Home | url: /rest/create-dialog/1.0/content-blueprint/create-content | traceId: 63b9778a899f5c9f | userName: admin
      java.io.IOException: External connections have been disabled
              at com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService.newHttpClient(HttpClientHttpRetrievalService.java:166)
              at com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService.get(HttpClientHttpRetrievalService.java:49)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
              at com.sun.proxy.$Proxy429.get(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136)
      

      Workaround

      Check the External connection enabled CheckBox in General configuration.

      Note

      Documentation doesn't mention that External connection enabled needs to be checked.

      Attachments

        1. sharedLinkError.png
          sharedLinkError.png
          678 kB
        2. shareaLink.png
          shareaLink.png
          200 kB
        3. extConnConfig.png
          extConnConfig.png
          93 kB

        Issue Links

          Activity

            People

              oshen@atlassian.com Oliver Shen
              mmadrid@atlassian.com Mark M
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: