From 247f5b36298441fbf8880381274d3d43d80476bd Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 9 Jul 2020 08:31:57 -0500 Subject: Skip certificate check - this was upstreamed in Arvados, so we can remove later --- bh20simplewebuploader/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 9132453..8f9b99b 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -505,7 +505,7 @@ def status_page(): Processing status """ - api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN) + api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN, insecure=True) pending = arvados.util.list_all(api.collections().list, filters=[["owner_uuid", "=", UPLOADER_PROJECT]]) out = [] status = {} @@ -567,7 +567,7 @@ baseURL='http://sparql.genenetwork.org/sparql/' @app.route('/api/getCount', methods=['GET']) def getCount(): - api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN) + api = arvados.api(host=ARVADOS_API, token=ANONYMOUS_TOKEN, insecure=True) c = api.collections().list(filters=[["owner_uuid", "=", VALIDATED_PROJECT]], limit=1).execute() return jsonify({'sequences': c["items_available"]}) -- cgit v1.2.3