Cannot renew device cookie, no attribute settimeout
Might be related to #10154 I get this error every time I run Tryton GTK client, but it works, just not with device cookie auth. I have never been able to use device cookie authentication. Openbsd 7.0 (yes, one year old...) See traceback from tryton 6.6.1
INFO:tryton.rpc:model.ir.ui.icon.read([16, 17, 18, 19], ['name', 'icon'], {'client': 'this probably does not need to be obfuscated.', 'warehouse': 5, 'warehouse.rec_name': 'km23', 'company_filter': 'all', 'company': 1, 'company.rec_name': 'LAMPERO GRUP SRL', 'language': 'en', 'language_direction': 'ltr', 'groups': [7, 8, 21, 20, 1, 27, 26, 4, 2, 5, 3, 6, 22, 23, 24, 25, 28, 12, 13, 10, 9, 11], 'locale': {'date': '%Y-%m-%d', 'grouping': [3, 3, 0], 'decimal_point': '.', 'thousands_sep': ',', 'mon_grouping': [3, 3, 0], 'mon_decimal_point': '.', 'mon_thousands_sep': ',', 'p_sign_posn': 1, 'n_sign_posn': 1, 'positive_sign': '', 'negative_sign': '-', 'p_cs_precedes': False, 'n_cs_precedes': False, 'p_sep_by_space': False, 'n_sep_by_space': False}})
ERROR:tryton.device_cookie:Cannot renew device cookie
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tryton/device_cookie.py", line 22, in set_cookie
new_cookie = new_cookie()
File "/usr/local/lib/python3.9/site-packages/tryton/common/common.py", line 1256, in return_
raise self.exception
File "/usr/local/lib/python3.9/site-packages/tryton/common/common.py", line 1202, in start
self.res = getattr(rpc, self.method)(*self.args)
File "/usr/local/lib/python3.9/site-packages/tryton/rpc.py", line 159, in execute
result = getattr(conn, name)(*args)
File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1116, in __call__
return self.__send(self.__name, args)
File "/usr/local/lib/python3.9/site-packages/tryton/jsonrpc.py", line 277, in __request
response = self.__transport.request(
File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1160, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1172, in single_request
http_conn = self.send_request(host, handler, request_body, verbose)
File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1273, in send_request
connection = self.make_connection(host)
File "/usr/local/lib/python3.9/site-packages/tryton/jsonrpc.py", line 241, in make_connection
self._connection[1].sock.settimeout(DEFAULT_TIMEOUT)
AttributeError: 'NoneType' object has no attribute 'settimeout'