Foro de Odoo Argentina


¡BIENVENIDO AL FORO DE ODOO ARGENTINA!

BRINDAMOS UN ESPACIO A LA COMUNIDAD ARGENTINA DE ODOO PARA CENTRALIZAR EL DEBATE, COMPARTIR IDEAS, DESARROLLOS, Y FORMAR PARTE DE UNA COMUNIDAD QUE CRECE DÍA A DÍA

¿No estás registrado?  REGISTRATE

0

ERROR verificación Punto de Venta en AFIP (Get Connection)

Avatar
Hernán

Estuve configurando la empresa basandome en el siguiente video, todo va normal hastq eu tengo que hacer la verificación con el Punto de Venta de AFIP.

Alguien le sucedió lo mismo?

El error es el siguiente:

Odoo Server Error

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 363, in old_api result = method(recs, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws_fe/models/afip_point_of_sale.py", line 122, in action_get_connection self.company_id.get_connection(afip_ws).connect() File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws/models/res_company.py", line 156, in get_connection connection = self._create_connection(afip_ws, environment_type) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws/models/res_company.py", line 184, in _create_connection msg = self.env['afipws.certificate'].smime(msg, pkey, cert) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws/models/afipws_certificate.py", line 161, in smime sbf = smime.sign(bf) File "/usr/local/lib/python2.7/dist-packages/M2Crypto/SMIME.py", line 204, in sign raise SMIME_Error(Err.get_error()) SMIME_Error: 139702669670144:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:330: 139702669670144:error:2108907F:PKCS7 routines:PKCS7_sign_add_signer:private key does not match certificate:pk7_smime.c:170: 139702669670144:error:21074099:PKCS7 routines:PKCS7_sign:pkcs7 add signer error:pk7_smime.c:88:

Avatar
Descartar
1 Respuesta
0
Avatar
Soporte ADHOC
Best Answer

La verdad que nunca vi este error. Parece ser que las claves y certificados no están bien generados. 

Saludos!

Avatar
Descartar