LogicReinc / LogicReinc.BlendFarm

A stand-alone Blender Network Renderer
GNU General Public License v3.0
441 stars 38 forks source link

Render fail: Cannot access a disposed object #38

Closed dreamparacite closed 2 years ago

dreamparacite commented 2 years ago

render_error

Hello, I've been enjoying using BlendFarm for the past few weeks, however I'm noticing two of my computers pretty consistently end up failing during a render with the error: "Render fail: Cannot access a disposed object. Object name: 'System.Net.Sockets.TcpClient'. Both computers are using Windows 10 and ethernet. Attached is a screenshot of the GUI client and a screenshot of the command prompt from one of the computers that failed.

LogicReinc commented 2 years ago

At a glance it looks like the connection gets closed (aka loses connection). Especially since its the same 2 computers, I assume they have an unstable ethernet connection. (Bad cable? Router?)

Reconnection is planned at some point, but is currently a low priority issue. (#18 )

If there is any more info available let me know, it is clearly the connection getting closed, but the reason is not clear. Is there any error on the render node console?

LogicReinc commented 2 years ago

@dreamparacite Basic reconnection was implemented in v1.1.3, this might fix this issue, but as the root cause wasn't entirely clear its not 100% certain it fixes it. Consistent failure may also ruin performance, as the render node does need to restart.