New to Telerik ReportingStart a free 30-day trial

Export operations fail in Chrome and Firefox with ERR_CONNECTION_RESET

Environment

ProductProgress® Telerik® Reporting
Application TypeWeb Application
Report ViewerHTML5 Report Viewer
BrowsersGoogle Chrome, Firefox

Description

Export operations initiated through the HTML5 Viewer results in ERR_CONNECTION_RESET error in Firefox and Chrome browsers when Telerik UI for ASP.NET AJAX RadCompression is enabled.

Error Message

ERR_CONNECTION_RESET

This site can't be reached.

The connection was reset.

Cause

Telerik UI for ASP.NET AJAX RadCompression is enabled for the Reporting REST Service endpoint.

Solution

Disable the RadCompression to the Reporting REST service(WebAPI based) to receive documents bytes in the client (Viewer).

xml
<configuration>
  <configSections>
    <sectionGroup name="telerik.web.ui">
      <section name="radCompression" type="Telerik.Web.UI.RadCompressionConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>
    </sectionGroup>
  </configSections>
   
  <telerik.web.ui>
    <radCompression>
      <excludeHandlers>
        <add handlerPath="api/reports/" matchExact="false"/>
      </excludeHandlers>
    </radCompression>
  </telerik.web.ui>

Where the handlerPath should point to the Reporting REST Service - the HTML5 Viewer's serviceUrl.

For more information about the above configuration, please follow the RadCompression help article.