GauravSahu / hr_biometric_machine

Biometric Device Integration - Odoo
63 stars 113 forks source link

Biometrics was configured but still unable to connect #21

Open rjay1018 opened 6 years ago

rjay1018 commented 6 years ago

Got this error, I can ping my biometrics IP and all ready configure its IP and Port in my ERP system. Warning message "Unable to connect, please check the parameters and network connections. "

Error Log below

administrator@SO-01:~$ tail -f /var/log/odoo/odoo-server.log File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, kwargs) File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper return old_api(self, args, kwargs) File "/opt/odoo/custom/addons/hr_biometric_machine/biometric_machine.py", line 59, in download_attendance raise osv.exceptosv(('Warning !'),_("Unable to connect, please check the parameters and network connections.")) except_orm: (u'Warning !', u'Unable to connect, please check the parameters and network connections.') 2017-10-11 02:53:19,546 1673 INFO biometrx werkzeug: 127.0.0.1 - - [11/Oct/2017 02:53:19] "POST /web/dataset/call_button HTTP/1.1" 200 - ^L2017-10-11 02:53:39,848 1673 ERROR biometrx openerp.http: Exception during JSON request handling. Traceback (most recent call last): File "/opt/odoo/odoo-server/openerp/http.py", line 544, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo-server/openerp/http.py", line 581, in dispatch result = self._call_function(self.params) File "/opt/odoo/odoo-server/openerp/http.py", line 317, in _call_function return checked_call(self.db, args, kwargs) File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, kwargs) File "/opt/odoo/odoo-server/openerp/http.py", line 314, in checked_call return self.endpoint(*a, *kw) File "/opt/odoo/odoo-server/openerp/http.py", line 810, in call return self.method(args, kw) File "/opt/odoo/odoo-server/openerp/http.py", line 410, in response_wrap response = f(*args, kw) File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, *kwargs) File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper return old_api(self, args, kwargs) File "/opt/odoo/custom/addons/hr_biometric_machine/biometric_machine.py", line 59, in download_attendance raise osv.exceptosv(('Warning !'),_("Unable to connect, please check the parameters and network connections.")) except_orm: (u'Warning !', u'Unable to connect, please check the parameters and network connections.')