Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
nargesbrz
Partner - Contributor III
Partner - Contributor III

Qlik web connector error during file transfer

Hi ,

when we try to transfer data through Qlik web connector , sFTP data download, we got below error message. however connector can transfer most of the files , except few of mark as 0kb . anyone has any idea why it behaves like that?

Qlik Sense Enterprise version September 2019, Qlik Web connector version March 2020

 

<LogEntry version="1.0.3">
<Id>**************</Id>
<Datetime>23-08-2020 01:08:24.811</Datetime>
<Type>Error</Type>
<Sender>QlikWebConnectors.WebBootstrap</Sender>
<ServerMode>true</ServerMode>
<Version>2.77.2.16947</Version>
<Message>Unhandled Exception (hostConfig.UnhandledExceptionCallback)</Message>
<Exception>System.Net.ProtocolViolationException: Bytes to be written to the stream exceed the Content-Length bytes size specified.
at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding(Response nancyResponse, HttpListenerResponse response)
at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse(Response nancyResponse, HttpListenerResponse response)
at Nancy.Hosting.Self.NancyHost.Process(HttpListenerContext ctx)</Exception>
<ExceptionMessage>Bytes to be written to the stream exceed the Content-Length bytes size specified.</ExceptionMessage>
<AdditionalInfo />
</LogEntry>
<LogEntry version="1.0.3">
<Id>*********</Id>
<Datetime>23-08-2020 01:10:40.513</Datetime>
<Type>Error</Type>
<Sender>QlikWebConnectors.WebBootstrap</Sender>
<ServerMode>true</ServerMode>
<Version>2.77.2.16947</Version>
<Message>Unhandled Exception (hostConfig.UnhandledExceptionCallback)</Message>
<Exception>System.Net.ProtocolViolationException: Bytes to be written to the stream exceed the Content-Length bytes size specified.
at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding(Response nancyResponse, HttpListenerResponse response)
at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse(Response nancyResponse, HttpListenerResponse response)
at Nancy.Hosting.Self.NancyHost.Process(HttpListenerContext ctx)</Exception>
<ExceptionMessage>Bytes to be written to the stream exceed the Content-Length bytes size specified.</ExceptionMessage>
<AdditionalInfo />
</LogEntry>
<LogEntry version="1.0.3">
<Id>*********</Id>
<Datetime>23-08-2020 01:10:40.549</Datetime>
<Type>Error</Type>
<Sender>QlikWebConnectors.WebBootstrap</Sender>
<ServerMode>true</ServerMode>
<Version>2.77.2.16947</Version>
<Message>Unhandled Exception (hostConfig.UnhandledExceptionCallback)</Message>
<Exception>System.Net.ProtocolViolationException: Bytes to be written to the stream exceed the Content-Length bytes size specified.
at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding(Response nancyResponse, HttpListenerResponse response)
at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse(Response nancyResponse, HttpListenerResponse response)
at Nancy.Hosting.Self.NancyHost.Process(HttpListenerContext ctx)</Exception>
<ExceptionMessage>Bytes to be written to the stream exceed the Content-Length bytes size specified.</ExceptionMessage>
<AdditionalInfo />
</LogEntry>

Labels (2)
3 Replies
vincent_wei
Contributor
Contributor

We have the same issue. Is there any solutions that could fix the issue. Thanks.

Roza
Employee
Employee

Hi @nargesbrz , 

thanks for the provided logs! Could you kindly check if the same problem occurs with the latest Qlik Web Connectors March 2022 release?  

 

regards, 

Roza

vincent_wei
Contributor
Contributor

Hi Roza,

We installed new version March 2022.

The issue still occurs.

But the seems log is: SSH protocol violation by the remote side.