Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when refreshing the page #40

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

Exception when refreshing the page #40

buddyfavors opened this issue May 1, 2012 · 5 comments
Labels

Comments

@buddyfavors
Copy link


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: 
@statianzo
Copy link
Owner

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

@buddyfavors
Copy link
Author

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)

@statianzo
Copy link
Owner

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.

@statianzo
Copy link
Owner

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

@statianzo
Copy link
Owner

No word on repro since 0.9.6. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants