Failed to execute the GraphQL active_user request. Transport is already connected

@AlanRynne I think you are not considering that in pyrevit (and dynamo and Rhino 8) it’s now possible to use CPython3 (not IronPython) through pythonnet. It’s perfectly possible to load the good old numpys and scipys with this trick, so as far as SpecklePy is concern I am within a pure python environment. Indeed I have no issues so far on loading SpeckleCore2.dll, using it to convert Revit Geometries to Base Objects, so no problem on the object conversion part. That is not the problem. You might as well consider that I start with a python custom created Base object already.

The real issue is comes in the request part from PyRevit, so not to get too sidetracked with interop issues, back to the problem:

  1. Is it possible that you expand on the error: SpeckleException : SpeckleException: Failed to execute the GraphQL active_user request. Inner exception: Transport is already connected so to get an insight of what could possibly be happening with the autheticaion request? Perhaps there is some version incompatiblity with one of the libraries that Python 3.8.5 uses to do so? I saw a similar post by @jonathon here but could not make much sense of what the issue was.

  2. Are there any examples of how to send geometries to the server using Speckle.Core.Api.Client (alla SpecklePy) just to check if the issue lies there?