Project

General

Profile

Tâche #30184

Updated by Fabrice Barconnière over 1 year ago

Par exemples :
* Création de certificat autosigné:
<pre>
-> entering Page.render()
-> entering get_all_credentials([], {})
Error in GetAllCred with args {b'_dc': [b'1590570425833']}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/arv/web/page.py", line 86, in render
ret = self.render_page(request)
File "/usr/lib/python3/dist-packages/arv/web/childpage.py", line 927, in render_page
related_node_name = uai + " - " + name
TypeError: can't concat str to bytes
</pre>

* Appliquer :
<pre>
Error in Apply with args {b'_dc': [b'1590570506624']}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/arv/web/page.py", line 86, in render
ret = self.render_page(request)
File "/usr/lib/python3/dist-packages/arv/web/page.py", line 269, in render_page
ipsec_conf_apply(zephir=zephir)
File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 53, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/arv/lib/sw_config_apply.py", line 743, in ipsec_conf_apply
ipsec_conf_build(zephir, current_node, arv_node=True)
File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 53, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/arv/lib/sw_config_apply.py", line 643, in ipsec_conf_build
connect.leftsendcert.decode(), \
AttributeError: 'str' object has no attribute 'decode'
</pre>

Back