SSL on Python deadline

Hi,
I’m writing a plugin event which need to use an SSL connection, it seems that the version of python embeded in deadline does not contain SSL. How can I update the embeded python or provide an ssl support for this python… anyone an idea?

thanks for answers …


Fred

Hi Fred,

It should support SSL. What’s the error you’re getting when you try to use it? Also, which OS are you running this on?

Cheers,

  • Ryan

Hi Russel,

I Got this erro (which told me No SSL support):

=======================================================
Error Message

No SSL support included in this Python

=======================================================
Slave Log

An error occurred in the “OnJobFinished” function in events plugin ‘deadline’: An error occurred in function “OnJobFinished” the event plugin script file “\Prod10\Deadline\events\deadline\deadline.py”: No SSL support included in this Python (Deadline.Events.DeadlineEventPluginException)
à Deadline.Events.DeadlineEventPlugin.HandlePythonError(String message, Exception e)
à Deadline.Events.DeadlineEventPlugin.OnJobFinished(Job job, String[] auxiliaryFilenames)
à Deadline.Events.DeadlineEventManager.OnJobFinished(Job job, String[] auxiliaryFilenames, DeadlineController deadlineController)

And Deadline is run on a windows server 2008.

Thanks for the error message! I think the problem might be that the IronPython engine (the default one in v5) doesn’t support SSL, but the Python.NET engine (which uses native python) should support it. To use the Python.NET engine, just add this as the top line in your script:

#Python.NET

Note that in Deadline 6, only the native Python engine will be used, so SSL should work by default.

Cheers,

  • Ryan

Thanks I’ll try and give you feedback tomorrow !


Fred

Okay works great thanks alot !!

Awesome! No problem!