#386207
JD,

I just installed a second full floating license on another machine. Open MW render and activated license. Rhino plugin was installed before activation. Rendering through Rhino first says "checking Maxwell license...." Then it says do you want to activate - yes and i connect to the Maxwell license manager, type in IP, etc. and says successful. Then Rhino says activation failed.

I know this is something simple? I tried turning off the firewall, but same. Tried running as admin=same.

Thanks
#386208
Please post everything printed to the plugin's log viewer (anonymize as necessary) during the entire sequence of events. It should look something like this (not exactly, I'm simulating a failure by stopping the rlm_nl service, trying to export, allowing the plugin to start the license activator, and then re-starting the rlm_nl service, before cancelling out of the license activator, at which time the licensing code reports that I have a valid license):
Code: Select all
* line 24: IsLicenseValid, Checking license...
* line 25: IsLicenseValid, Licensing failed:
 - Product: "maxwell"
 - License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
 - Initializing using path...
 - Requesting "maxwell" license...
 - Request failed.
 - Unable to obtain a valid license:
     Request Status: -17 [Connection refused at server (-111)]
     Manager Status: Connection refused at server (-111)
     License Status: Communications error with license server (-17)
* line 26: IsLicenseValid, No valid license found.
* line 27: Render, Activating license...
* line 28: IsLicenseValid, Checking license...
* line 29: IsLicenseValid, License Info:
  Product:  maxwell
  Customer: <name> 
  Contract: <contract> 
  Issuer:   NEXTLIMIT
  Expires:  permanent
* line 30: IsLicenseValid, Found valid license.
From what I gather, it probably will make no difference to suggest that you run the license activator directly (it's in your Maxwell 3 directory), rather than from within the plugin, since the license activator apparently thinks everything is okay. However, I don't know whether it just writes its license file, or if it actually tries to check out a license, like the plugin does after control returns from the license activator.

I suppose the the trouble could be due to the license server not running, or to it running on another machine that's inaccessible from the current one, or to a misconfiguration of the ports assigned to the license server (and I'm not sure what you mean by saying you installed another license on another machine -- from what I understand, the number of licenses is indicated in the license file itself, and you don't ever want actually to install the license server in two machines). Unfortunately, I won't likely be able to help much myself, since the plugin just basically makes a few calls to the licensing interface, and reports what it receives in reply. But hopefully the information printed in the log viewer, along with the information found here, might get you going.
#386209
Here you go. I think there are multiple attempts.


********************************
* Maxwell for Rhino
* Version: 3.1.0.0
********************************
* Session Log
* Date: 4/2/2015
* Time: 17:37:59.4599769
* File: C:\Users\Joeseph Emerson\AppData\Roaming\MaxwellDotNET\Plugins\Rhino\Logs\session_log_05_37_59_PM___4_2_2015.txt
********************************
* line 1: OnLoadPlugIn, Running on Rhinoceros 5.0 x64.
* line 2: OnLoadPlugIn, Checking required paths...
* line 3: CheckRequiredPaths, Maxwell 3 directory found at 'C:\Program Files\Next Limit\Maxwell 3'.
* line 4: CheckRequiredPaths, maxwell.exe found at 'C:\Program Files\Next Limit\Maxwell 3\maxwell.exe'.
* line 5: CheckRequiredPaths, studio.exe found at 'C:\Program Files\Next Limit\Maxwell 3\studio.exe'.
* line 6: CheckRequiredPaths, mxed.exe found at 'C:\Program Files\Next Limit\Maxwell 3\mxed.exe'.
* line 7: OnServerMessage, initializing Maxwell Database, using directory: C:\Users\Joeseph Emerson\AppData\Roaming\MaxwellDotNET\SDK\DB
* line 8: OnServerMessage, to learn about using alternate database locations, see C:\Users\Joeseph Emerson\AppData\Roaming\MaxwellDotNET\SDK\Config\readme.txt
* line 9: OnLoadPlugIn, Creating DropTarget
* line 10: OnLoadPlugIn, Retreiving user-preferences
* line 11: OnLoadPlugIn, Read prefs from 'C:\Users\Joeseph Emerson\AppData\Roaming\MaxwellDotNET\Plugins\Rhino\Defaults\UserPrefs.Rhino5.xml'.
* line 12: OnLoadPlugIn, Starting version-check thread
* line 13: OnLoadPlugIn, Starting plugin-update thread
* line 14: OnLoadPlugIn, Enabling Scene events
* line 15: OnLoadPlugIn, Synchronizing cameras...
* line 16: SynchronizeCamera, Created camera 'Perspective'.
* line 17: OnLoadPlugIn, Plugin-load finished successfully.
* line 18: SynchronizeCamera, Created camera 'Perspective'.
* line 19: SynchronizeCamera, Created camera 'Viewport'.
* line 20: RhinoNativeEventWatcher.OnRenameView, Created camera 'Top'.
* line 21: RhinoNativeEventWatcher.OnRenameView, Created camera 'Front'.
* line 22: RhinoNativeEventWatcher.OnRenameView, Created camera 'Right'.
* line 23: ReadCompleteDocument, Reading (complete) document: Stage 9603.3dm
* line 24: ReadCompleteDocument, Done reading (complete) document.
* line 25: RhinoNativeEventWatcher.OnRenameView, Created camera 'RhinoView'.
* line 26: Maxwell_Render, Maxwell_Render (RenderScene)
* line 27: IsLicenseValid, Checking license...
* line 28: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 29: IsLicenseValid, No valid license found.
* line 30: CheckForUpdate, Checking for plugin updates...
* line 31: Render, Activating license...
* line 32: IsLicenseValid, Checking license...
* line 33: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 34: IsLicenseValid, No valid license found.
* line 35: Render, License activation failed or or was cancelled.
* line 36: Maxwell_Render, Maxwell_Render (RenderScene)
* line 37: IsLicenseValid, Checking license...
* line 38: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 39: IsLicenseValid, No valid license found.
* line 40: Maxwell_Render, Maxwell_Render (RenderScene)
* line 41: IsLicenseValid, Checking license...
* line 42: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 43: IsLicenseValid, No valid license found.
* line 44: Render, Activating license...
* line 45: IsLicenseValid, Checking license...
* line 46: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 47: IsLicenseValid, No valid license found.
* line 48: Render, License activation failed or or was cancelled.
* line 49: WriteDocument, writing (complete) document: Stage 9603.3dm
* line 50: WriteDocument, Done writing (complete) document.
* line 51: Maxwell_Render, Maxwell_Render (RenderScene)
* line 52: IsLicenseValid, Checking license...
* line 53: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 54: IsLicenseValid, No valid license found.
* line 55: Render, Activating license...
* line 56: IsLicenseValid, Checking license...
* line 57: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 58: IsLicenseValid, No valid license found.
* line 59: Render, License activation failed or or was cancelled.
* line 60: Maxwell_Render, Maxwell_Render (RenderScene)
* line 61: IsLicenseValid, Checking license...
* line 62: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 63: IsLicenseValid, No valid license found.
* line 64: Render, Activating license...
* line 65: IsLicenseValid, Checking license...
* line 66: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 67: IsLicenseValid, No valid license found.
* line 68: Render, License activation failed or or was cancelled.
* line 69: Maxwell_Render, Maxwell_Render (RenderScene)
* line 70: IsLicenseValid, Checking license...
* line 71: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 72: IsLicenseValid, No valid license found.
* line 73: Render, Activating license...
* line 74: IsLicenseValid, Checking license...
* line 75: IsLicenseValid, Licensing failed:
- Product: "maxwell"
- License: C:\ProgramData/Next Limit/Maxwell/licenses/maxwell_license.lic
- Initializing using path...
- Requesting "maxwell" license...
- Request failed.
- Unable to obtain a valid license:
Request Status: -22 [No error]
Manager Status: No error
License Status: No heartbeat response received (-21)
* line 76: IsLicenseValid, No valid license found.
* line 77: Render, License activation failed or or was cancelled.
* line 78: ShowWindow, sz=700x320h, loc=400,400(virtual), pWnd=2362192
#386212
I'm not certain what "No heartbeat response received" means, but I'd open task manager and make sure that the rlm_nl service is running. Unless you're on the other machine (the one without rlm_nl installed), in which case you need (assuming the error means the license server can't be found) to ensure that Maxwell is looking in the right place, and that the machine where it is running is accessible. When you are running the license server on another machine, the license file on the local machine doesn't have any license info, and instead just has the hostname or IP of the license server, and a port number, and it's necessary that you should be able to ping that machine from the local one. Be aware, also, that there are both incoming and outgoing rules on firewalls, so you may want to temporarily deactivate them on both machines, to find out if that is the problem. I would recommend reading through the instructions and troubleshooting info found here and here, to try and ensure that you have things configured correctly.
#386228
Here's is some more to the story....
Our #1 license v3.1 is on the machine with RLM running and network rendering has functioned fine with other nodes. We have a 2nd license (full floating as well) that we finally upgraded to V3.1 yesterday and the problem started. At one point through Rhino (v5) it said checking license and asked do we want to activate. We clicked Yes and we were able to use the MW license activator to point to the RLM on the #1 machine and it said successful. Then Rhino said activator failed/or crashed and the same problem repeated. After reinstalling the plugin then it worked fine as I said.
However, I went back to the #1 machine and clicked render (via Rhino) and the same "Checking MW license" came up and it said no license four. DOOO! How did that problem just switch computers? So i reinstalled the plugin on machine #1 and it fixed it. We can now renee simultaneously through Rhino on both machines. At least today we can...so who knows.

I really appreciate your time just thinking about this. We're all busy now days. Thanks JD !

I will definitely watch the firewall settings if the problem comes back.
Sketchup 2024 Released

Any idea of when the Maxwell Sketchup plugin will […]

Will there be a Maxwell Render 6 ?

Let's be realistic. What's left of NL is only milk[…]