Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-78335

Space - Custom PDF export not working

XMLWordPrintable

      Issue Summary

      When attempting to utilize the Space export function to generate custom PDF reports, users encounter error "unable to export to pdf" 

      Steps to Reproduce

      1. Export the page through Space Export - Custom - pdf 

      Expected Results

      PDF export should be successful 

      Actual Results

      The below exception is thrown in the splunk logs 

      Caused by: java.lang.IllegalArgumentException: Invalid URL https://confluence.****.com/download/attachments/*****
      /****%20Logo.png?version=1&modificationDate=1602663185141&api=v2
      com.atlassian.confluence.extra.flyingpdf.ValidateUriWithOutboundProxy.validateUriWithOutBoundProxyCheck(ValidateUriWithOutboundProxy.java:58)
      com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.validateUriWithOutboundProxy(FlyingSaucerPdfExporterService.java:272)
      com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.imageUrlValidation(FlyingSaucerPdfExporterService.java:179)
      ... 37 more
      
      Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 

      Workaround

      Page - Export to pdf works fine 

              105094f35dd0 Nitish Midha
              9219e3807eac Nitika Arora
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: