question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unhandled Exception in CodeGenerator

See original GitHub issue

Hey,

When running the code generator server, I’ll get the following exception when attempting to generate from within Unity after a while or after I’ve had the computer go to sleep.

Unhandled Exception: System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
   at Fabl.Appenders.AbstractTcpSocket.receive(ReceiveVO receiveVO)
   at Fabl.Appenders.AbstractTcpSocket.onReceived(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Also, is this accepting connections from all addresses?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
sschmidcommented, Dec 1, 2017

Rewrote the tcp sockets from scratch to work well on windows. Will be in the next release

https://twitter.com/s_schmid/status/936638177699344384

tcpezy-windows
1reaction
sschmidcommented, Nov 26, 2017

… rewriting from scratch 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

There was an error running the selected code generator
First, check your csproj file. There is no package reference for 'Microsoft.VisualStudio.Web.CodeGeneration.Utils, Version=3.1.2.0'. This is why ...
Read more >
How do I fix the error: "Unhandled exception. System.IO. ...
The error message indicates you are missing the dotnet-aspnet-codegenerator-design, Version=7.0.6.0 package. You either have to install the ...
Read more >
There was an error running the selected code generator
1) Go to "Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution..." 2) Select package "microsoft.visualstudio.web.codegeneration.design". 3 ...
Read more >
aspnet-codegenerator Unhandled Exception: System. ...
The problem is that dotnet build fails (see https://github.com/dotnet/cli/issues/8187). So other tools like the Entity Framework ones that ...
Read more >
Unhandled event loop exception ( E2studio code generator )
when I click the code generator setting, e2studio will show Unhandled event loop exception message box as follow. and. and event details.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found