How to debug invalid Thrift HAPI_Session

   7661   2   0
User Avatar
Member
2 posts
Joined: 4月 2017
Offline
I'm trying to setup a Thrift session to add SessionSync to our custom engine.

Both HAPI_CreateThriftNamedPipeSession and HAPI_Initialize calls return HAPI_RESULT_SUCCESS, and Houdini Console reports "Client connected" but HAPI_IsSessionValid will always return HAPI_RESULT_FAILURE. I noticed that HAPI_Initialize do throw some exception (HOM_OperationFailed).

I tried both named pipe and socket based sessions with no luck. Weirdly everything else using the "invalid" session seems to be fine, I can create nodes and cook them but I don't see anything happening in Houdini and all the SessionSync related functions return random data (HAPI_GetSessionSyncInfo, HAPI_GetViewport, etc...).

I'm building for Windows and using an Indie license.

Any pointer would be greatly appreciated.

Thanks!
Edited by SimonG - 2021年5月26日 11:57:17
User Avatar
Member
2 posts
Joined: 7月 2023
Offline
have you solved ? I came to the same problem like you
User Avatar
Member
2 posts
Joined: 7月 2023
Offline
i have the same experience today, have you ever solved it ?
  • Quick Links