Announcement

Collapse
No announcement yet.

System.Net.Http.HttpRequestException: Error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • System.Net.Http.HttpRequestException: Error

    Hi Spud,

    Getting the below error:

    Feb-15 18:27:42 IFTTT ERROR System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: The connection was closed. at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1,TArg2,TArg3](Func`6 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, TArg2 arg2, TArg3 arg3, Object state, TaskCreationOptions creationOptions) at System.Net.Http.ByteArrayContent.SerializeToStreamAsync(Stre am stream, TransportContext context) at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at HSPI_IFTTT.FolderMonitoring.d__14.MoveNext()


    Not sure if it is a plugin error or something else. I turned on debug logging but cannot find the location of the file.

    Michael

  • #2
    the logs are written in the HS logs (there is no file)

    how often do you get this error?

    Comment


    • #3
      I started getting the error again a couple times per day. Today I received 4 times.

      an-31 19:04:35 IFTTT ERROR System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: The connection was closed. at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1,TArg2,TArg3](Func`6 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, TArg2 arg2, TArg3 arg3, Object state, TaskCreationOptions creationOptions) at System.Net.Http.ByteArrayContent.SerializeToStreamAsync(Stre am stream, TransportContext context) at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at HSPI_IFTTT.FolderMonitoring.d__14.MoveNext()

      Comment


      • #4
        I am now getting this once or twice per hour. I have turned off the plug in and then turned it back on, but I still get them. I'm running the .411 beta of HS3.

        ERROR System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to read data from the transport connection: The connection was closed. at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1,TArg2,TArg3](Func`6 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, TArg2 arg2, TArg3 arg3, Object state, TaskCreationOptions creationOptions) at System.Net.Http.ByteArrayContent.SerializeToStreamAsync(Stre am stream, TransportContext context) at System.Net.Http.HttpContent.CopyToAsync(Stream stream, TransportContext context) --- End of inner exception stack trace --- at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSu ccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSucc ess(Task task) at HSPI_IFTTT.FolderMonitoring.d__14.MoveNext()

        Michael

        Comment

        Working...
        X