Can't open GTK client because downloads.tryton.org get Error 101
Scenario:
- GTK 4.8
- Actived "Check version"
Firday ~7:00 UTC
Start client and nothing do it (not open client). We retry several times and finally I get:
ERROR:tryton.common.common:Unable to check for new version
Traceback (most recent call last):
File "/home/carlos/projectes/diloy/tryton/tryton/common/common.py", line 1040, in check_version
urllib2.urlopen(HeadRequest(url), cafile=rpc._CA_CERTS)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 104] La màquina remota ha reiniciat la connexió>
IMHO check version will be do with a thread (in case try/except fail connection, an user could do a login).