Unhandled Exception in CodeGenerator
See original GitHub issueHey,
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:
- Created 6 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Rewrote the tcp sockets from scratch to work well on windows. Will be in the next release
https://twitter.com/s_schmid/status/936638177699344384
… rewriting from scratch 😉