Issue: Python "requests" Module compatibility break between Deploy 9.5.1 and 10.0.5

Issue

If you were on an old version like v9.5 and upgraded to the new version, some of your custom plugins might end up with the below error

Caused by: javax.script.ScriptException: ociOpaCnaf.xld.extlib.requests.exceptions.ConnectionError:
('Connection aborted.', BadStatusLine("''",)) in <script> at line number 296
at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:222)
.......
Caused by: org.python.core.PyException: ociOpaCnaf.xld.extlib.requests.exceptions.ConnectionError:
('Connection aborted.', BadStatusLine("''",))
at org.python.core.PyException.doRaise(PyException.java:211)
at org.python.core.Py.makeException(Py.java:1638)

Affected Products & Versions

Deploy 9.5.1 upgrading to 10.0.5

Cause

This is due to missing modules in the Jython library.

Workaround/Resolution Action

The following versions have the latest Jython lib including all the modules and classes, so need to upgrade to these versions.

Jython-standalone-2.7.2-xebialabs-1.jar.

  • xl-deploy-22.0.0
  • xl-deploy-10.0.7
  • xl-deploy-10.1.6
  • xl-deploy-10.2.6
  • xl-deploy-10.3.1

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.