Error: Invalid License (Cinema 4D)

Hello,

We have 5x Cinema 4d R21 subsription licenses, and we can login to the local installation absolutely fine, but suddenly out of no-where on deadline the workers are having license errors and the whole job fails.

This started on one worker about a week ago and now it’s suddenly happened to all 5 workers. Exact same error. Please see the error report below

Can anyone help?

=======================================================

Error

=======================================================

Error: Cinema 4D startup: Error getting connection from Cinema4D: Monitored managed process “Cinema4DProcess” has exited or been terminated.

at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

2020-05-12 23:31:35: 0: STDOUT: Error running authentication: invalid http response 400. (https://:...@id.maxon.net/oauth2/access?scope=openid+profile+email&grant_type=refresh_token&refresh_token=EU6xYfNrJzh33n1i65mz4m57w9I&&client_id=key-b6370eb5-208a-47a6-914b-966c8149e615&client_secret=secret-b6370eb5-208a-47a6-914b-966c8149e768) [http_file.cpp(313)]
2020-05-12 23:31:35: 0: STDOUT: ----
2020-05-12 23:31:35: 0: STDOUT: Enter Maxon Account Settings (ENTER to keep input):
2020-05-12 23:31:35: 0: STDOUT: License Check error: invalid http response 400. (https://:...@id.maxon.net/oauth2/access?scope=openid+profile+email&grant_type=refresh_token&refresh_token=EU6xYfNrJzh33n1i65mz4m57w9I&&client_id=key-b6370eb5-208a-47a6-914b-966c8149e615&client_secret=secret-b6370eb5-208a-47a6-914b-966c8149e768) [http_file.cpp(313)]
2020-05-12 23:31:35: 0: STDOUT: Error: Invalid License
2020-05-12 23:31:35: 0: WARNING: Monitored managed process Cinema4DProcess is no longer running

We had a similar issue & contacted Maxon about it. See the FAQ entry below; it worked for us.

https://support.maxon.net/kb/faq.php?id=67

Thank you Luke - I had found that FAQ too and it did indeed work! Sorry only just saw your relpy in my junk mail.

I really appreciate the help!

1 Like

Hi there,

This has all been working fine using the method in the link above and then today it decided that the license was invalid again and nothing I try based on the info above works.

The main app is fine and the license works ok - it’s just commandline that’s having the license error.

All other nodes on our render farm are setup the same and work fine. I’ve also tried assigning the license via CMD in windows but again when I run commandline.exe it says the license it invalid. Please see CMD console screen shot attached which shows the error I get when I simply try to run commandline.exe

I’ve also attached the deadline error.

Can anyone help me with this?

Hi David,
We’re running in to the same thing. Did you ever get it sorted?
Could you perhaps explain what you did the last time? The link above is no longer available.
Thanks!

Here is the Wayback Machine link to the above article that expired:

https://web.archive.org/web/20210118171826/https://support.maxon.net/kb/faq.php?id=67

Hi Bobo, Thanks for sharing the link. Unfortunately it didn’t work.

If someone happens to have a solution it would be very welcome.
I’m getting the following output:

C:\Program Files\Maxon Cinema 4D R22>Commandline.exe
Application start      : 05/18/21 at 21:46:55
Executable             : 64 Bit
Version / Build        : 22.123 / RB324073
Debugger               : not available
Memory model           : release
Startup path           : file:///C:/Program Files/Maxon Cinema 4D R22
Application path       : file:///C:/Program Files/Maxon Cinema 4D R22/Commandline.exe
Application executable : file:///C:/Program Files/Maxon Cinema 4D R22/Commandline.exe
Resource path          : file:///C:/Program Files/Maxon Cinema 4D R22/resource
Module path(s)         : file:///C:/Program Files/Maxon Cinema 4D R22/corelibs; file:///C:/Program Files/Maxon Cinema 4D R22/plugins; file:///C:/Users/wen/AppData/Roaming/Maxon/Maxon Cinema 4D R22_06E03A84_x/plugins
Temporary path         : file:///C:/Users/wen/AppData/Local/Temp
Prefs path             : file:///C:/Users/wen/AppData/Roaming/Maxon/Maxon Cinema 4D R22_06E03A84_x
Global Prefs path      : file:///C:/Users/wen/AppData/Roaming/Maxon
OS version             : Windows 10, 64 Bit, Professional Edition (build 19041)
OS languages           : {en-US}
App languages          : {en-US}
Startup language       : en-US
Processor              : 8(16)x Intel Core i7-5960X CPU
Computer name          : ROME
Unique OS identifier   : 3rKOuQLaVZcUR4olwEbLY9hNuTywqM3tvXK_E3lNCpk= [uefi]
Thread Count           : 16
CPU Speed (MHz)        : 3000.000
Application Type       : Modular
Command line arguments : none

Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/asset.module.xdl64 with module(s) net.maxon.asset
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/c4d_viewport_nodegraph.module.xdl64 with module(s) net.maxon.c4d_viewport_nodegraph
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/c4dplugin.xdl64 with module(s) net.maxon.rlmlicensing net.maxon.c4d.c4dplugin
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/command.module.xdl64 with module(s) net.maxon.command
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/corenodes.module.xdl64 with module(s) net.maxon.corenodes
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/crashhandler.module.xdl64 with module(s) net.maxon.crashhandler
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/crypt.module.xdl64 with module(s) net.maxon.crypt
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/denoiser.module.xdl64 with module(s) net.maxon.denoiser
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/drawport.module.xdl64 with module(s) net.maxon.drawport
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/drawport_functioncache.module.xdl64 with module(s) net.maxon.drawport_functioncache
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/drawport_general.module.xdl64 with module(s) net.maxon.drawport_general
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/drawport_opengl.module.xdl64 with module(s) net.maxon.drawport_opengl
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/drawport_selector.module.xdl64 with module(s) net.maxon.drawport_selector
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/embree.module.xdl64 with module(s) net.maxon.embree
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/geom.module.xdl64 with module(s) net.maxon.geom
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/gui.module.xdl64 with module(s) net.maxon.gui
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/image.module.xdl64 with module(s) net.maxon.image
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/image_openexr.module.xdl64 with module(s) net.maxon.image_openexr
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/image_winmf.module.xdl64 with module(s) net.maxon.image_winmf
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/licensing.module.xdl64 with module(s) net.maxon.licensing
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/math.module.xdl64 with module(s) net.maxon.math
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mesh.module.xdl64 with module(s) net.maxon.mesh
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/misc.module.xdl64 with module(s) net.maxon.misc
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mvp_base_presenter.module.xdl64 with module(s) net.maxon.mvp_base_presenter
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mvp_base_view.module.xdl64 with module(s) net.maxon.mvp_base_view
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mvp_desktop2d_nodegraph_widgets.module.xdl64 with module(s) net.maxon.mvp_desktop2d_nodegraph_widgets
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mvp_desktop2d_widgets.module.xdl64 with module(s) net.maxon.mvp_desktop2d_widgets
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mvp_nodegraph_presenters.module.xdl64 with module(s) net.maxon.mvp_nodegraph_presenters
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mvp_nodes_presenters.module.xdl64 with module(s) net.maxon.mvp_nodes_presenters
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/network.module.xdl64 with module(s) net.maxon.network
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/nodes.module.xdl64 with module(s) net.maxon.nodes
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/nodes_corenodes.module.xdl64 with module(s) net.maxon.nodes_corenodes
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/opensubdiv.module.xdl64 with module(s) net.maxon.opensubdiv
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/post.module.xdl64 with module(s) net.maxon.post
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/pythonconfig.module.xdl64 with module(s) net.maxon.pythonconfig
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/pythonvm.module.xdl64 with module(s) net.maxon.pythonvm
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/reflection.module.xdl64 with module(s) net.maxon.reflection
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/render.module.xdl64 with module(s) net.maxon.render
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/shaderbase.module.xdl64 with module(s) net.maxon.shaderbase
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/shadernodes.module.xdl64 with module(s) net.maxon.shadernodes
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/svg.module.xdl64 with module(s) net.maxon.svg
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/tessellation.module.xdl64 with module(s) net.maxon.tessellation
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/cadexchangeconfig.xdl64 with module(s) net.maxon.c4d.cadexchangeconfig
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/houdiniconfig.xdl64 with module(s) net.maxon.c4d.houdiniconfig
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/substanceconfig.xdl64 with module(s) net.maxon.c4d.substanceconfig
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/addons.xdl64 with module(s) net.maxon.c4d.addons
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/advanced render.xdl64 with module(s) net.maxon.c4d.advancedrender
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/alembic.xdl64 with module(s) net.maxon.c4d.alembic
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/archigrass.xdl64 with module(s) net.maxon.c4d.archigrass
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/bitmapfilter.xdl64 with module(s) net.maxon.c4d.bitmapfilter
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/bpexchange.xdl64 with module(s) net.maxon.c4d.bpexchange
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/browser.xdl64 with module(s) net.maxon.c4d.browser
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/bugslife_client.xdl64 with module(s) net.maxon.c4d.bugslife_client
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/c4d_viewport_render.xdl64 with module(s) net.maxon.c4d.c4d_viewport_render
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/ca.xdl64 with module(s) net.maxon.c4d.ca
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/ca2.xdl64 with module(s) net.maxon.c4d.ca2
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/cadexchange.xdl64 with module(s) net.maxon.c4d.cadexchange
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/clothilde.xdl64 with module(s) net.maxon.c4d.clothilde
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/collada14.xdl64 with module(s) net.maxon.c4d.collada14
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/collada15.xdl64 with module(s) net.maxon.c4d.collada15
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/colorchoosergui.xdl64 with module(s) net.maxon.c4d.colorchoosergui
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/compositing.xdl64 with module(s) net.maxon.c4d.compositing
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/deployment.xdl64 with module(s) net.maxon.c4d.deployment
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/dwg.xdl64 with module(s) net.maxon.c4d.dwg
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/dwgobjects.xdl64 with module(s) net.maxon.c4d.dwgobjects
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/dynamics.xdl64 with module(s) net.maxon.c4d.dynamics
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/exchanges.xdl64 with module(s) net.maxon.c4d.exchanges
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/expressiontag.xdl64 with module(s) net.maxon.c4d.expressiontag
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/fbx.xdl64 with module(s) net.maxon.c4d.fbx
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/gltf.xdl64 with module(s) net.maxon.c4d.gltf
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/goz.xdl64 with module(s) net.maxon.c4d.goz
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/gpurenderer.xdl64 with module(s) net.maxon.c4d.gpurenderer
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/hair.xdl64 with module(s) net.maxon.c4d.hair
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/i_skp.xdl64 with module(s) net.maxon.c4d.i_skp
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/io_obj.xdl64 with module(s) net.maxon.c4d.io_obj
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/metrics.xdl64 with module(s) net.maxon.c4d.metrics
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mkmodeler.xdl64 with module(s) net.maxon.c4d.mkmodeler
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mocca.xdl64 with module(s) net.maxon.c4d.mocca
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/model.xdl64 with module(s) net.maxon.c4d.model
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/mograph.xdl64 with module(s) net.maxon.c4d.mograph
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/motioncam.xdl64 with module(s) net.maxon.c4d.motioncam
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/motiontracker.xdl64 with module(s) net.maxon.c4d.motiontracker
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/nbp.xdl64 with module(s) net.maxon.c4d.nbp
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/newman.xdl64 with module(s) net.maxon.c4d.newman
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/nodeeditor_material.xdl64 with module(s) net.maxon.c4d.nodeeditor_material
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/objects.xdl64 with module(s) net.maxon.c4d.objects
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/onlineupdater.xdl64 with module(s) net.maxon.c4d.onlineupdater
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/projectassetinspector.xdl64 with module(s) net.maxon.c4d.projectassetinspector
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/python.xdl64 with module(s) net.maxon.c4d.python
Loading file:///C:/Program Files/Maxon Cinema 4D R22/plugins/Redshift/redshift4c4d.xdl64 with module(s) com.redshift3d.redshift4c4d
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/relaxuv.xdl64 with module(s) net.maxon.c4d.relaxuv
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/sculpt.xdl64 with module(s) net.maxon.c4d.sculpt
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/sculptbrushes.xdl64 with module(s) net.maxon.c4d.sculptbrushes
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/shader.xdl64 with module(s) net.maxon.c4d.shader
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/sketch.xdl64 with module(s) net.maxon.c4d.sketch
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/sky.xdl64 with module(s) net.maxon.c4d.sky
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/sla.xdl64 with module(s) net.maxon.c4d.sla
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/spacemouse.xdl64 with module(s) net.maxon.c4d.spacemouse
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/substance.xdl64 with module(s) net.maxon.c4d.substance
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/teamrender.xdl64 with module(s) net.maxon.c4d.teamrender
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/thinking particles.xdl64 with module(s) net.maxon.c4d.thinkingparticles
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/tpoperators.xdl64 with module(s) net.maxon.c4d.tpoperators
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/uvviewport.xdl64 with module(s) net.maxon.c4d.uvviewport
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/volumes.xdl64 with module(s) net.maxon.c4d.volumes
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/walkthrough.xdl64 with module(s) net.maxon.c4d.walkthrough
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/xpressocore.xdl64 with module(s) net.maxon.c4d.xpressocore
Loading file:///C:/Program Files/Maxon Cinema 4D R22/corelibs/xtensions.xdl64 with module(s) net.maxon.c4d.xtensions
Drawport API initialized
    Framework        : OpenGL
    Vendor           : NVIDIA Corporation (NVIDIA)
    Renderer         : GeForce GTX 1080 Ti/PCIe/SSE2
    Framework version: 4.6.0 NVIDIA 461.92
    Driver version   : 461.92
Error running authentication: invalid http response 400. Body: {"error_description":"Invalid refresh token","error":"invalid_grant"}
----
Enter Maxon Account Settings (ENTER to keep input):
License Check error: invalid http response 400. Body: {"error_description":"Invalid refresh token","error":"invalid_grant"}
Error: Invalid License

Hi
Have you tried Maxon support?
We had a lot of trouble with cmd line licenses dropping out etc. So we ended up getting a maxon license server and are now running all cmd line licenses locally on that. Workstation licenses are handled directly from our my.maxon account.
We even had some minor problems with this solution where the cmd licenses suddenly disappeared from the local license server and had to be reassigned from our my.maxon account :slight_smile: But this is only happened once and was easily fixed from maxon’s side. Not sure what caused the problem.

Regards
Bonsak

1 Like

We’ve contacted Maxon support:

As I can see in your screenshot, you’re getting a “invalid http response 400” error.

This means, an undefined http error occured, while the Commandline app tried to receive the license from your MyMaxon Account or the Maxon License Server.

In most cases, the system security settings changed, the network connection is interrupted or your Commandline apps Preferences getting corrupted.

I would like to suggest, at first you reset the Commandline app to its default settings:

In Explorer head to %AppData%\MAXON 
(just type this into the Windows explorer window where it shows the file path).

Quit out of Cinema 4D, if it is still running 
(this is a very important step as this process will not work if the application is running).

Once you've done that you will need to delete the Maxon Cinema 4D R22_********_x 

Now try to re-start the Commandline app.

@bonsak
This really helped me. We also had problems with the Maxon App or Account licensing.
It seems that the licensing works way better running a licensing server.

I’m quite unfamiliar with the MLS, once I assigned the licenses to the server I don’t know how to release them again to make them available on myMaxon.
You seem to have some experience with MLS. Do you know how to release them again?

Hi
Glad i could help. Sorry for the late reply.
Don’t know if you figured this out already. To assign licenses to MLS you assigned them to a user in my.maxon and then assigned those licenses to the same user in MLS. If you un-assign the licenses from the same user in my.maxon they will be unavailable in MLS the next time you or MLS server performs a “refresh licenses”. I agree that MLS and my.maxon is not super straight forward :slight_smile:

Regards
Bonsak

1 Like
Privacy | Site terms | Cookie preferences