logger.debug("nodeinfo[%s](%d='%s'", type(nodeinfo), len(nodeinfo), nodeinfo)
if "error_message" not in nodeinfo and "json" in nodeinfo and len(nodeinfo["json"]) > 0:
+ logger.debug("Invoking instances.set_last_nodeinfo(%s) ...", domain)
+ instances.set_last_nodeinfo(domain)
+
logger.debug("Found nodeinfo[json]()=%d - EXIT!", len(nodeinfo['json']))
return nodeinfo
logger.debug("path[%s]='%s',request='%s',http_url='%s',https_url='%s'", type(path), path, request, http_url, https_url)
if path is None or path in [request, http_url, https_url]:
- logger.debug("Fetching request='%s' from domain='%s' ...", request, domain)
+ logger.debug("path='%s',http_url='%s',https_url='%s'", path, http_url, https_url)
if path in [http_url, https_url]:
logger.debug("domain='%s',path='%s' has protocol in path, splitting ...", domain, path)
components = urlparse(path)
path = components.path
+ logger.debug("Fetching request='%s' from domain='%s' ...", request, domain)
data = network.get_json_api(
domain,
request,
logger.debug("data[]='%s'", type(data))
if "error_message" not in data and "json" in data:
logger.debug("Success: request='%s' - Setting detection_mode=STATIC_CHECK ...", request)
+ instances.set_last_nodeinfo(domain)
instances.set_detection_mode(domain, "STATIC_CHECK")
instances.set_nodeinfo_url(domain, request)
break