Unable to send from Rhino

Hey all, I keep getting this bug when trying to send through rhino (gh just doesn’t work at all, atm). Didn’t exist a couple of days ago, but now simply unable to send anything through. Occasionally I can send a couple of objects at a time, but sporadic. More often than not the whole thing simple fails and I get this error in the command line:

2020.09.09 22:33:45.493 +08:00 [2] | ERROR | Unobserved Task Exception: System.AggregateException: 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. —> System.ArgumentNullException: Value cannot be null.
Parameter name: clientId
at SpeckleCore.SpeckleApiClient.d__21.MoveNext()
— End of inner exception stack trace —
—> (Inner Exception #0) System.ArgumentNullException: Value cannot be null.
Parameter name: clientId
at SpeckleCore.SpeckleApiClient.d__21.MoveNext()<—

Also “Error: a task was cancelled” in the Speckle Panel
image

Using the hestia server, and can access fine through my browser.

Any ideas? It’s got me stumped, but I feel like its probably quite trivial and I’m just missing something somewhere…

Edit:

Using Grasshopper throws this error in the command line:

2020.09.10 13:59:35.634 +08:00 [2] | ERROR | Unobserved Task Exception: System.AggregateException: 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. —> System.AggregateException: One or more errors occurred. —> System.Threading.Tasks.TaskCanceledException: A task was canceled.
— End of inner exception stack trace —
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at SpeckleGrasshopper.Management.ListMyProjects.<SolveInstance>b__9_0(Task1 tsk)
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —
—> (Inner Exception #0) System.AggregateException: One or more errors occurred. —> System.Threading.Tasks.TaskCanceledException: A task was canceled.
— End of inner exception stack trace —
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at SpeckleGrasshopper.Management.ListMyProjects.<SolveInstance>b__9_0(Task1 tsk)
at System.Threading.Tasks.Task.Execute()
—> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<—
<—

To clarify - everything was working as expected over the weekend. I don’t feel like anything has changed on my end, so any advice is massively appreciated!

hi @TMorgan! I just looked at the logs on hestia, and there have seemed to be some “payload too large” errors. These usually happen when Speckle is trying to send something un-digestible, and I’ve seen this happening from Rhino rarely when meshing of a brep goes haywire (ie, small almost planar panel results in 100k vertices mesh).

I’d need to see the geometry you’re trying to send to be able to debug properly.

Regardless, I tried using it now, and everything seems fine at my end. Just to make sure, I’ve power cycled the server app - for the first time in 3 months+! (i’m high-fiving myself now, I didn’t do any maintenance in ages).

1 Like

Hi @dimitrie, thanks for the response. I thought it might be something like that, but it consistently fails on anything over one object. I’ve attached a basic example that is failing. Not many items, and no complex geometry whatsoever. I’m getting hard-crashes sometimes as well. Prior to this weekend, I’ve never had an issue. Maybe I need to try a fresh install of Rhino and Speckle?

System info:

Rhino 6 SR29 2020-8-25 (Rhino 6, 6.29.20238.11501, Git hash:master @ 06b936ae4e8c289ecccfd6b5ee9bacccc60eded1)
License type: Educational, build 2020-08-25
License details: Cloud Zoo. In use by: Tristan Morgan ()

Windows 10.0 SR0.0 or greater (Physical RAM: 32Gb)
Machine name: DESKTOP-PDU9HHH

Non-hybrid graphics.
Primary display and OpenGL: NVIDIA Quadro M1000M (NVidia) Memory: 4GB, Driver date: 4-7-2020 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 442.92

Secondary graphics devices.
Intel® HD Graphics 530 (Intel) Memory: 1GB, Driver date: 5-5-2020 (M-D-Y).

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: Height

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 4-7-2020
Driver Version: 26.21.14.4292
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB

Rhino plugins
C:\Program Files\Rhino 6\Plug-ins\Commands.rhp “Commands” 6.29.20238.11501
C:\Program Files\Rhino 6\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Users\trist\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\Fologram for Rhino (468a328b-20d9-494b-b9e1-cbe9f827d3a2)\2019.1.6.0\FologramForRhino.rhp “Fologram for Rhino” 2019.1.6.0
C:\Users\trist\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\Speckle Rhino Plugin (512d9705-6f92-49ca-a606-d6d5c1ac6aa2)\SpeckleWinR6.rhp “Speckle Rhino” 1.6.10.741
C:\Program Files\Rhino 6\Plug-ins\RhinoRender.rhp “Rhino Render”
C:\Program Files\Rhino 6\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 6.29.20238.11501
C:\Program Files\Rhino 6\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Users\trist\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\PanelingTools (6caed836-bc06-4ebc-b1fd-e10886a0dc94)\2018.12.17.906\PanelingTools.rhp “PanelingTools”
C:\Program Files\Rhino 6\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\ProgramData\ThorntonTomasetti\CORE\Rhinoceros\6.0\Swarm\CORE.Swarm.Rhinoceros.rhp “CORE.Swarm.Rhinoceros” 0.23.5.0
C:\Program Files\Rhino 6\Plug-ins\RhinoCycles.rhp “RhinoCycles” 6.29.20238.11501
C:\Users\trist\AppData\Local\Programs\Enscape\Bin64\Enscape.Rhino6.Plugin.dll “Enscape.Rhino6.Plugin” 0.0.20237.1315
C:\Program Files\Rhino 6\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 6.29.20238.11501
C:\Program Files\Rhino 6\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\ProgramData\McNeel\Rhinoceros\6.0\Plug-ins\Twinmotion Direct Link 2020.2 (e24ee14a-9514-47da-8fe6-f6e61b20160e)\Twinmotion Direct Link 2020.rhp “Twinmotion Direct Link 2020” 1.0.6.0
C:\Program Files\Rhino 6\Plug-ins\Displacement.rhp “Displacement”