I'm trying to generate a ad-hoc report using report genearation service via http request.
In ExecutionLog3 status of the report of RsSuccess and rendered successfully in 25min, but while wrting the report back to http response getting the following error,
rshost!1ecc!12/15/2023-01:14:52:: e ERROR: HttpPipelineCallback::SendResponse(): failed writing response.
rshost!1ecc!12/15/2023-01:14:52:: e ERROR: Failed with win32 error 0x0057, pipeline=0x000001ED009E83E0.
httpruntime!1ecc!12/15/2023-01:14:52:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.ArgumentException: Value does not fall within the expected range.
at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
library!1ecc!12/15/2023-01:14:52:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_SSRS_0-5-133470241171089232. ---> System.ArgumentException: Value does not fall within the expected range.
at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
--- End of inner exception stack trace ---;
rshost!1ecc!12/15/2023-01:14:52:: e ERROR: HttpPipelineCallback::SendResponse(): failed writing response.
rshost!1ecc!12/15/2023-01:14:52:: e ERROR: Failed with win32 error 0x10DD, pipeline=0x000001ED009E83E0.
Tried to check the http request timeout / query timeout/ database timeout , Memory and Disk issues,
Every configuration seems to be correct.
Issue was happening in all format (pdf,csv,excel) and most of version of SSRS.
Seems like this issue related to a post form stackoverflow,
https://stackoverflow.com/questions/49366781/error-receiving-large-report-using-reporting-services-execution-web-service?newreg=9806c4905ab148c197f4a18671c10c4b
Is there any workaroud avaliable for this?