[Solved]global name PROTOCOL_TLS is not defined
[Solved]global name PROTOCOL_TLS is not defined
I encounter this error when i tried to send a test message to a client from configed " global name PROTOCOL_TLS is not defined". Anyone encounter this?
Zuletzt geändert von rmtevesjr am 22 Feb 2017, 05:23, insgesamt 1-mal geändert.
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: global name PROTOCOL_TLS is not defined
Hi,
please make sure that you are running the latest localboot version of Configed and then try again.
Does the error still persist?
Kind regards
Niko
please make sure that you are running the latest localboot version of Configed and then try again.
Does the error still persist?
Kind regards
Niko
Code: Alles auswählen
import OPSI
Re: global name PROTOCOL_TLS is not defined
Hi Niko, Thanks for the reply. The error still persist. Do I just need to run this aptitude install opsi-configed ? Thanks again.
Re: global name PROTOCOL_TLS is not defined
I'll try to install this -- https://download.uib.de/opsi4.0/product ... 3.5-1.opsi
Re: global name PROTOCOL_TLS is not defined
Hi rmtevesjr,
yes pls install the opsi-package you mentioned onto a client (that's what is meant by 'localboot' installation) .
in order to install the configed package onto a client without using a graphical interface (i.e. from CLI), use:
followed by an on-demand push
yes pls install the opsi-package you mentioned onto a client (that's what is meant by 'localboot' installation) .
in order to install the configed package onto a client without using a graphical interface (i.e. from CLI), use:
Code: Alles auswählen
opsi-admin -d method setProductActionRequest[WithDependencies] opsi-configed <client-fqdn> setup
Code: Alles auswählen
opsi-admin -d method hostControl_fireEvent on_demand <client-fqdn>
---
hoping to help
if your problem was solved, pls mark this thread as 'SOLVED'. thank you .
-- no PN support --
Andre
hoping to help
if your problem was solved, pls mark this thread as 'SOLVED'. thank you .
-- no PN support --
Andre
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: global name PROTOCOL_TLS is not defined
Hi,
please do as suggested by ngbr. If the problem persists it is important to use what you do when the error comes up so we can narrow it done easily.
With kind regards
Niko
please do as suggested by ngbr. If the problem persists it is important to use what you do when the error comes up so we can narrow it done easily.
With kind regards
Niko
Code: Alles auswählen
import OPSI
Re: global name PROTOCOL_TLS is not defined
I encountered the error both in GUI and in command line. Any suggestion?
[2] File "/usr/bin/opsi-admin", line 279, in main
sessionId=sessionId
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 362, in __init__
self.connect()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 485, in connect
self._interface = self._jsonRPC(u'getPossibleMethods_listOfHashes')
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 679, in _jsonRPC
return jsonrpc.execute()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 148, in execute
return self.waitForResult()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 148, in waitForResult
raise self.error # pylint: disable=raising-bad-type
(Logger.py|753)
[2] ==>>> global name 'PROTOCOL_TLS' is not defined (opsi-admin|1682)
[3] Error during execution: global name 'PROTOCOL_TLS' is not defined (opsi-admin|1683)
Thanks.
[2] File "/usr/bin/opsi-admin", line 279, in main
sessionId=sessionId
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 362, in __init__
self.connect()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 485, in connect
self._interface = self._jsonRPC(u'getPossibleMethods_listOfHashes')
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 679, in _jsonRPC
return jsonrpc.execute()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/JSONRPC.py", line 148, in execute
return self.waitForResult()
(Logger.py|753)
[2] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 148, in waitForResult
raise self.error # pylint: disable=raising-bad-type
(Logger.py|753)
[2] ==>>> global name 'PROTOCOL_TLS' is not defined (opsi-admin|1682)
[3] Error during execution: global name 'PROTOCOL_TLS' is not defined (opsi-admin|1683)
Thanks.
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: global name PROTOCOL_TLS is not defined
Hi,
I think this may come from OpenSSL or one of its bindings.
What command are you running?
On what OS?
Please try to update openssl and relevant packages on your server and then restart opsiconfd.
Does the error persist?
Kind regards
Niko
I think this may come from OpenSSL or one of its bindings.
What command are you running?
On what OS?
Please try to update openssl and relevant packages on your server and then restart opsiconfd.
Does the error persist?
Kind regards
Niko
Code: Alles auswählen
import OPSI
Re: global name PROTOCOL_TLS is not defined
I ran opsi-admin from command line and if I push a software to a client from OPSI Configed. I will try it and will let you know of the result. Thank you
Re: global name PROTOCOL_TLS is not defined
I still encounter the error - The version of openssl we have is 1.0.1t-1+deb8u6. The error was encountered also when installing a product using "opsi-packagemanager -i packagename.opsi" command.