{"action":"closed","issue":{"url":"https://api.github.com/repos/CCI-Tools/cate/issues/807","repository_url":"https://api.github.com/repos/CCI-Tools/cate","labels_url":"https://api.github.com/repos/CCI-Tools/cate/issues/807/labels{/name}","comments_url":"https://api.github.com/repos/CCI-Tools/cate/issues/807/comments","events_url":"https://api.github.com/repos/CCI-Tools/cate/issues/807/events","html_url":"https://github.com/CCI-Tools/cate/issues/807","id":378312060,"node_id":"MDU6SXNzdWUzNzgzMTIwNjA=","number":807,"title":"External Problem: ODP not available","user":{"login":"Evadzi","id":37798521,"node_id":"MDQ6VXNlcjM3Nzk4NTIx","avatar_url":"https://avatars0.githubusercontent.com/u/37798521?v=4","gravatar_id":"","url":"https://api.github.com/users/Evadzi","html_url":"https://github.com/Evadzi","followers_url":"https://api.github.com/users/Evadzi/followers","following_url":"https://api.github.com/users/Evadzi/following{/other_user}","gists_url":"https://api.github.com/users/Evadzi/gists{/gist_id}","starred_url":"https://api.github.com/users/Evadzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evadzi/subscriptions","organizations_url":"https://api.github.com/users/Evadzi/orgs","repos_url":"https://api.github.com/users/Evadzi/repos","events_url":"https://api.github.com/users/Evadzi/events{/privacy}","received_events_url":"https://api.github.com/users/Evadzi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-07T14:30:50Z","updated_at":"2018-11-09T13:02:05Z","closed_at":"2018-11-09T13:02:05Z","author_association":"NONE","body":"### Expected behavior\r\n\r\n*I expect Cate to list data available on ODP for download*\r\n\r\n### Actual behavior\r\n\r\n*ODP connection error*\r\n\r\n### Steps to reproduce the problem\r\n1. **uninstall previous version of cate**\r\n2. **delete the .cate folder in your user profile**\r\n3. **install cate 2.0.0 dev-21**\r\n\r\n\r\n`Job: Load data sources for store \"esa_cci_odp\"\r\nMessage: HTTPSConnectionPool(host='csw.ceda.ac.uk', port=443): Max retries exceeded with url: /geonetwork/srv/eng/csw-CEDA-CCI (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000026DA022F048>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',))\r\nCode: -32001\r\nMethod: get_data_sources\r\nException: requests.exceptions.ConnectionError\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\connection.py\", line 141, in _new_conn\r\n    (self.host, self.port), self.timeout, **extra_kw)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\util\\connection.py\", line 83, in create_connection\r\n    raise err\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\util\\connection.py\", line 73, in create_connection\r\n    sock.connect(sa)\r\nTimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond\r\nDuring handling of the above exception, another exception occurred:\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\connectionpool.py\", line 601, in urlopen\r\n    chunked=chunked)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\connectionpool.py\", line 346, in _make_request\r\n    self._validate_conn(conn)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\connectionpool.py\", line 850, in _validate_conn\r\n    conn.connect()\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\connection.py\", line 284, in connect\r\n    conn = self._new_conn()\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\connection.py\", line 150, in _new_conn\r\n    self, \"Failed to establish a new connection: %s\" % e)\r\nurllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x0000026DA022F048>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond\r\nDuring handling of the above exception, another exception occurred:\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\requests\\adapters.py\", line 440, in send\r\n    timeout=timeout\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\connectionpool.py\", line 639, in urlopen\r\n    _stacktrace=sys.exc_info()[2])\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\urllib3\\util\\retry.py\", line 388, in increment\r\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\r\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='csw.ceda.ac.uk', port=443): Max retries exceeded with url: /geonetwork/srv/eng/csw-CEDA-CCI (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000026DA022F048>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',))\r\nDuring handling of the above exception, another exception occurred:\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\util\\web\\jsonrpchandler.py\", line 209, in send_service_method_result\r\n    result = future.result()\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\concurrent\\futures\\_base.py\", line 425, in result\r\n    return self.__get_result()\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\concurrent\\futures\\_base.py\", line 384, in __get_result\r\n    raise self._exception\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\concurrent\\futures\\thread.py\", line 56, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\util\\web\\jsonrpchandler.py\", line 306, in call_service_method\r\n    result = method(*method_params, monitor=monitor)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\webapi\\websocket.py\", line 129, in get_data_sources\r\n    data_sources = data_store.query(monitor=monitor)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\ds\\esa_cci_odp.py\", line 348, in query\r\n    self._init_data_sources()\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\ds\\esa_cci_odp.py\", line 409, in _init_data_sources\r\n    self._load_index()\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\ds\\esa_cci_odp.py\", line 533, in _load_index\r\n    cache_expiration_days=self._index_cache_expiration_days)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\ds\\esa_cci_odp.py\", line 263, in _load_or_fetch_json\r\n    raise e\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\ds\\esa_cci_odp.py\", line 245, in _load_or_fetch_json\r\n    json_obj = fetch_json_function(*(fetch_json_args or []), **(fetch_json_kwargs or {}))\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\ds\\esa_cci_odp.py\", line 1113, in getrecords\r\n    self._build_catalogue(monitor.child(1))\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\cate\\ds\\esa_cci_odp.py\", line 1130, in _build_catalogue\r\n    startposition=start_position, maxrecords=max_records)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\owslib\\csw.py\", line 376, in getrecords2\r\n    self._invoke()\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\owslib\\csw.py\", line 677, in _invoke\r\n    self.response = util.http_post(request_url, self.request, self.lang, self.timeout, self.username, self.password)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\owslib\\util.py\", line 395, in http_post\r\n    up = requests.post(url, request, headers=headers, **rkwargs)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\requests\\api.py\", line 112, in post\r\n    return request('post', url, data=data, json=json, **kwargs)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\requests\\api.py\", line 58, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\requests\\sessions.py\", line 508, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\requests\\sessions.py\", line 618, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"C:\\Users\\prosper\\cate-2.0.0.dev21\\lib\\site-packages\\requests\\adapters.py\", line 508, in send\r\n    raise ConnectionError(e, request=request)\r\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='csw.ceda.ac.uk', port=443): Max retries exceeded with url: /geonetwork/srv/eng/csw-CEDA-CCI (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000026DA022F048>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',)).`\r\n\r\n### Specifications \r\n\r\n*Cate 2.0.0 dev 21*\r\n*Windows 10*"}}
{"actor":{"display_login":"Evadzi"}}