From 004acbab9ad5f05210265be19350dfcce877f6f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Mon, 20 Nov 2017 14:56:19 +0100 Subject: [PATCH] Fixing up thin thin plugin --- client/thin/src/uds/rest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/thin/src/uds/rest.py b/client/thin/src/uds/rest.py index df87f663..b76968d0 100644 --- a/client/thin/src/uds/rest.py +++ b/client/thin/src/uds/rest.py @@ -39,9 +39,9 @@ import json import six import osDetector - from .log import logger + class RetryException(Exception): pass @@ -65,7 +65,7 @@ class RestRequest(object): logger.debug('Requesting {}'.format(url)) try: - r = requests.get(url, headers={'Content-type': 'application/json', 'User-Agent': osDetector.getOs() + " - UDS Connector " + VERSION }) + r = requests.get(url, headers={'Content-type': 'application/json', 'User-Agent': osDetector.getOs() + " - UDS Connector " + VERSION }, verify=False) except requests.exceptions.ConnectionError as e: raise Exception('Error connecting to UDS Server at {}'.format(self.restApiUrl[0:-11]))