Fix SSL communication issues.

Add remote server switch in config.
Add compulsory server verification in settings.
Store the machine_id in settings for quick retrieval.
Add setup complete screen on setup wizard and increase delay.
Refresh server URL params on startup and set up 12 hourly refresh schedule.
Use outer join on history tables.
Add extra exception in http_handler to catch http requests trying to communicate with https-only server.
This commit is contained in:
Tim 2015-07-17 16:48:47 +02:00
parent 61daedf1a5
commit 637339ea62
9 changed files with 216 additions and 32 deletions

View file

@ -70,6 +70,11 @@ class HTTPHandler(object):
except IOError, e:
logger.warn(u"Failed to access uri endpoint %s with error %s" % (uri, e))
return None
except Exception, e:
logger.warn(u"Failed to access uri endpoint %s. Is your server maybe accepting SSL connections only?" % uri)
return None
except:
logger.warn(u"Failed to access uri endpoint %s with Uncaught exception." % uri)
if request_status == 200:
if output_format == 'dict':