Jump to content
We've recently updated our Privacy Statement, available here ×
  • Cannot load resources over TLS / SSL after upgrade to 7.9.0


    Friendly User
    • Features: Reports Version: v7.9, v7.8 Product: JasperReports® Server

    Scenario:

    You have upgraded JasperServer to 7.9.0 and trying to run reports that load resources such as images over HTTPS and getting the SSL Handshake error:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><errorDescriptor><errorCode>export.execution.rejected</errorCode><message>net.sf.jasperreports.engine.JRException: Error opening input stream from URL: https://someresource.xyz/image.png.</message><parameters><parameter>com.jaspersoft.jasperserver.remote.exception.ExportExecutionRejectedException: net.sf.jasperreports.engine.JRException: Error opening input stream from URL: https://someresource.xyz/image.png;
    at com.jaspersoft.jasperserver.remote.services.impl.ReportExecutorImpl.exportReport(ReportExecutorImpl.java:198)
    at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl.generateReportOutput(RunReportServiceImpl.java:1138)
    at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl.executeExport(RunReportServiceImpl.java:626)
    at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl$2.run(RunReportServiceImpl.java:500)
    at com.jaspersoft.jasperserver.api.logging.util.LoggableExecutorService$1.run(LoggableExecutorService.java:84)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    </parameter></parameters></errorDescriptor>

    Solution:

    The Salesforce JDBC driver has an issue that downgrades the version of TLS handshake and lots of servers will reject such attempt at establishing a handshake. If you're not using Salesforce JDBC driver please try to delete {JRS WAR}/WEB-INF/lib/TIsforce-6.0.0.000724.jar  or replace it with a driver from previous versions and restart afterwards.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...