WAPT Server version: 2.6.0.16552
WAPT Agent version: 2.6.0
WAPT Console version: 2.6.0.16767
My admin PC version: Ubuntu 24.04
Good morning,
I have noticed for the past few days that actions are impossible on my Ubuntu system because of step Update server with this host's status erroneous with the following elements:
Code: Select all
'utf-8' codec can't decode byte 0x9f in position 1680: invalid start byte
Traceback (most recent call last):
File "<string>", line 1684, in run
File "/opt/wapt/waptservice/waptservice_common.py", line 870, in run
self._run()
File "/opt/wapt/waptservice/waptservice_common.py", line 1221, in _run
self.result = self.wapt.update_server_status(force=self.force, excluded_keys=self.excluded_keys, errors = errors)
File "/opt/wapt/common.py", line 6803, in update_server_status
if not self.waptserver_available():
File "/opt/wapt/common.py", line 6909, in waptserver_available
return self.waptserver and self.waptserver.available()
File "/opt/wapt/common.py", line 2076, in available
with self.get_requests_session() as session:
File "/opt/wapt/common.py", line 1738, in get_requests_session
if self.client_private_key and is_pem_key_encrypted(self.client_private_key):
File "/opt/wapt/waptutils.py", line 837, in is_pem_key_encrypted
pem_content = f.read()
File "/opt/wapt/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9f in position 1680: invalid start byte
utf-8' codec can't decode byte 0x9f in position 1680: invalid start byte : faulty string is 'b'-----BEGIN RSA PRIVATE KEY----........Thank you in advance, best regards.
