Exception when refreshing the page #40

Closed
buddyfavors opened this Issue May 1, 2012 · 5 comments

Comments

Projects
None yet
2 participants

System.AggregateException was unhandled
  Message=A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
  Source=mscorlib
  StackTrace:
       at System.Threading.Tasks.TaskExceptionHolder.Finalize()
  InnerException: System.IO.IOException
       Message=Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
       Source=System
       StackTrace:
            at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
            at Fleck.SocketWrapper.<>c__DisplayClass16.<Send>b__12(AsyncCallback cb, Object s)
            at System.Threading.Tasks.TaskFactory.FromAsync(Func`3 beginMethod, Action`1 endMethod, Object state, TaskCreationOptions creationOptions)
            at System.Threading.Tasks.TaskFactory.FromAsync(Func`3 beginMethod, Action`1 endMethod, Object state)
            at Fleck.SocketWrapper.Send(Byte[] buffer, Action callback, Action`1 error)
            at Fleck.WebSocketConnection.SendBytes(Byte[] bytes, Action callback)
            at Fleck.WebSocketConnection.Close(Int32 code)
            at Fleck.WebSocketConnection.HandleReadError(Exception e)
            at Fleck.WebSocketConnection.HandleReadError(Exception e)
            at Fleck.SocketWrapper.<>c__DisplayClassa.<Receive>b__7(Task t)
            at System.Threading.Tasks.Task.<>c__DisplayClassb.<ContinueWith>b__a(Object obj)
            at System.Threading.Tasks.Task.InnerInvoke()
            at System.Threading.Tasks.Task.Execute()
       InnerException: System.Net.Sockets.SocketException
            Message=An established connection was aborted by the software in your host machine
            Source=System
            ErrorCode=10053
            NativeErrorCode=10053
            StackTrace:
                 at System.Net.Sockets.Socket.BeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
                 at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
            InnerException: 
Owner

statianzo commented May 1, 2012

Could you add which browser this occurred in? Also, is it something that can reliably be reproduced?

I was using chrome, and it appeared when I was debugging on localhost
so I didn't know if it only happens locally sometimes. I decided to
submit it as an issue because I have noticed it happen about 30+ times
over the last couple of weeks.

On Tue, May 1, 2012 at 2:55 PM, Jason Staten
reply@reply.github.com
wrote:

Could you add which browser this occurred in? Also, is it something that can reliably be reproduced?


Reply to this email directly or view it on GitHub:
#40 (comment)

Owner

statianzo commented May 3, 2012

Thanks for reporting it. I'll see about taking a look at it over the weekend. At first glance it looks like there was a read error (from connection closing), and it's attempting to send a close with a status code. It should probably be closing without a status in this scenario.

Owner

statianzo commented May 12, 2012

Could you test out the latest version (0.9.6) and see if these issues are still occurring?

Owner

statianzo commented Aug 14, 2012

No word on repro since 0.9.6. Closing.

statianzo closed this Aug 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment