ERROR: Another instance is currently performing authent

Forums: ERROR: Another instance is currently performing authent
Sub forum for bug reports

Moderator: juanjgon

Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)

ERROR: Another instance is currently performing authent

Postby vime » Thu Feb 11, 2021 2:37 pm

vime Thu Feb 11, 2021 2:37 pm
Hi there,

when trying to run multiple instances of Houdini with Octane plugin I get this error:

2021-02-11 15:33:44: 0: STDOUT: [Octane] 15:33:44 INFOR: [license] ----------- Authenticate Octane license
2021-02-11 15:33:44: 0: STDOUT: [14:33:44.510] activation: Activation attempt
2021-02-11 15:33:44: 0: STDOUT: [14:33:44.512] activation: Total of 2 activation providers to use
2021-02-11 15:33:44: 0: STDOUT: [14:33:44.514] activation: Trying activation with provider: Dongle
2021-02-11 15:33:44: 0: STDOUT: [14:33:44.517] dongle : Could not find any Octane dongles. ()
2021-02-11 15:33:44: 0: STDOUT: [14:33:44.519] activation: Activation didn't succeed with provider Dongle: Could not find any Octane dongles.
2021-02-11 15:33:44: 0: STDOUT: [14:33:44.521] activation: Trying activation with provider: OctaneLive
2021-02-11 15:33:46: 0: STDOUT: [14:33:46.528] ERROR : Another instance is currently performing authentication tasks

A. Ubuntu 20.04
B. Nvidia RTX 2080 ti
C. 512 gb
D. 560.39
E. 2020.02
F. Octane_2020.2.0.4_Houdini_18.5.351_Linux_gcc6.3.1
G. Houdini 18.5.351
License of Octane is per Machine, I need to have multiple running.

Thanks for fixing!
vime
Licensed Customer
Licensed Customer
 
Posts: 15
Joined: Mon Aug 17, 2020 9:21 am

Re: ERROR: Another instance is currently performing authent

Postby juanjgon » Thu Feb 11, 2021 9:32 pm

juanjgon Thu Feb 11, 2021 9:32 pm
Hi,

Can you please elaborate on what kind of Houdini instances are you trying to run and what's your workflow? Are they hython instances, and how are you creating them?

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: ERROR: Another instance is currently performing authent

Postby vime » Fri Feb 12, 2021 6:51 am

vime Fri Feb 12, 2021 6:51 am
Hi Juanjo,

thanks for reaching out.

So we are spawning up to 20 processes of hython3.7 with deadline.
Our pipeline is to open a scene, apply some changes to a model inside the scene and export orbx which we distribute to a renderfarm. The reason for that is that we have short rendertimes and only produce stills.
We did not figure out yet how to have a persistent hython-process and change values on the fly without respawning the whole process.

I hope that I was able to clarify what we do.

Thanks and kind regards

Goetz
vime
Licensed Customer
Licensed Customer
 
Posts: 15
Joined: Mon Aug 17, 2020 9:21 am

Re: ERROR: Another instance is currently performing authent

Postby juanjgon » Mon Feb 15, 2021 8:54 am

juanjgon Mon Feb 15, 2021 8:54 am
This is weird because although it is true that just one instance of Octane can be executing its activation at a time, the plugin has a loop to retry the activation up to 16 times if it fails. Can you please attach the full output of hython to the terminal when the activation fails?

Thanks.
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: ERROR: Another instance is currently performing authent

Postby vime » Mon Feb 15, 2021 2:58 pm

vime Mon Feb 15, 2021 2:58 pm
I cannot support you with a full log right away as we are in mid of a critical production and I cannot jump to the new version right now to test.

has a loop to retry the activation up to 16 times if it fails

This behavior is known from the previous 1.5.3 version of the plugin. It does not exist for Octane standalone though. For standalone I had to simulate this behavior by respawning the process in case the license error occurs. However, from my pov it is hard tu understand why we license per-machine and then not be able to spawn as many parallel as we wish.
vime
Licensed Customer
Licensed Customer
 
Posts: 15
Joined: Mon Aug 17, 2020 9:21 am

Re: ERROR: Another instance is currently performing authent

Postby juanjgon » Mon Feb 15, 2021 3:23 pm

juanjgon Mon Feb 15, 2021 3:23 pm
You can spawn as many parallel octane instances as you want. The problem is that the license authentication only can happen once a time, so probably this is the problem that you have: multiple octane instances trying to authenticate the license at the same time.

As I've said, the plugin can retry the license authentication if it fails, but perhaps if you are launching so many instances at the same time, one or several instances could not reach the authentication before giving up after the 16 tries loop.


Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: ERROR: Another instance is currently performing authent

Postby vime » Mon Feb 15, 2021 5:20 pm

vime Mon Feb 15, 2021 5:20 pm
You are correct, multiple instances in parallel work but not authenticate in parallel with more than 2 machines.
However, I can confirm that the function of trying 16 times was there in 1_5_3 but got lost in 2_0_4.
vime
Licensed Customer
Licensed Customer
 
Posts: 15
Joined: Mon Aug 17, 2020 9:21 am

Re: ERROR: Another instance is currently performing authent

Postby juanjgon » Mon Feb 15, 2021 5:34 pm

juanjgon Mon Feb 15, 2021 5:34 pm
Hmm, nope, this feature is there in Octane 2020.2.0.4 for sure. Don't you get the "Trying to activate the license. Attempt 1 of 16" message from hython when you launch the rendering?

Thanks,
-Juanjo
Attachments
2021_02_15-18_32_26.jpg
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: ERROR: Another instance is currently performing authent

Postby vime » Mon Feb 15, 2021 5:50 pm

vime Mon Feb 15, 2021 5:50 pm
Let me confirm tomorrow. Also then I can provide a full log. Thanks!

Btw, do you have an idea why authentication can only be done twice in parallel?
vime
Licensed Customer
Licensed Customer
 
Posts: 15
Joined: Mon Aug 17, 2020 9:21 am

Re: ERROR: Another instance is currently performing authent

Postby juanjgon » Mon Feb 15, 2021 5:54 pm

juanjgon Mon Feb 15, 2021 5:54 pm
This is a core limitation. The license authentication function can't work in parallel.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 3 guests

Tue Apr 16, 2024 5:47 pm [ UTC ]