File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 426, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 421, in _make_request
httplib_response = conn.getresponse()
File "/home/sm/miniconda3/envs/insta/lib/python3.6/http/client.py", line 1379, in getresponse
response.begin()
File "/home/sm/miniconda3/envs/insta/lib/python3.6/http/client.py", line 311, in begin
version, status, reason = self._read_status()
File "/home/sm/miniconda3/envs/insta/lib/python3.6/http/client.py", line 272, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/home/sm/miniconda3/envs/insta/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/ssl.py", line 1012, in recv_into
return self.read(nbytes, buffer)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/ssl.py", line 874, in read
return self._sslobj.read(len, buffer)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 428, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 767, in urlopen
response_kw
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 767, in urlopen
response_kw
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 727, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/util/retry.py", line 446, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=-37.66374081&lon=144.59772807&format=json&addressdetails=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)",))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/adapters.py", line 448, in _request
resp = self.session.get(url, timeout=timeout, headers=headers)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, kwargs)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, send_kwargs)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=-37.66374081&lon=144.59772807&format=json&addressdetails=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)",))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 186, in
_cmd()
File "/home/sm/PycharmProjects/insta/Osintgram/src/Osintgram.py", line 132, in get_addrs
details = self.geolocator.reverse(k)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/geocoders/nominatim.py", line 362, in reverse
return self._call_geocoder(url, callback, timeout=timeout)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/geocoders/base.py", line 368, in _call_geocoder
result = self.adapter.get_json(url, timeout=timeout, headers=req_headers)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/adapters.py", line 438, in get_json
resp = self._request(url, timeout=timeout, headers=headers)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/adapters.py", line 460, in _request
raise GeocoderUnavailable(message)
geopy.exc.GeocoderUnavailable: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=-37.66374081&lon=144.59772807&format=json&addressdetails=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)",))
hello dear
i have this error ( please help )
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 426, in _make_request six.raise_from(e, None) File "", line 3, in raise_from
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 421, in _make_request
httplib_response = conn.getresponse()
File "/home/sm/miniconda3/envs/insta/lib/python3.6/http/client.py", line 1379, in getresponse
response.begin()
File "/home/sm/miniconda3/envs/insta/lib/python3.6/http/client.py", line 311, in begin
version, status, reason = self._read_status()
File "/home/sm/miniconda3/envs/insta/lib/python3.6/http/client.py", line 272, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/home/sm/miniconda3/envs/insta/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/ssl.py", line 1012, in recv_into
return self.read(nbytes, buffer)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/ssl.py", line 874, in read
return self._sslobj.read(len, buffer)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 677, in urlopen chunked=chunked, File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 428, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout self, url, "Read timed out. (read timeout=%s)" % timeout_value urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 767, in urlopen response_kw File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 767, in urlopen response_kw File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/connectionpool.py", line 727, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/urllib3/util/retry.py", line 446, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=-37.66374081&lon=144.59772807&format=json&addressdetails=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)",))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/adapters.py", line 448, in _request resp = self.session.get(url, timeout=timeout, headers=headers) File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/sessions.py", line 543, in get return self.request('GET', url, kwargs) File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/sessions.py", line 530, in request resp = self.send(prep, send_kwargs) File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/sessions.py", line 643, in send r = adapter.send(request, **kwargs) File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=-37.66374081&lon=144.59772807&format=json&addressdetails=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)",))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "main.py", line 186, in
_cmd()
File "/home/sm/PycharmProjects/insta/Osintgram/src/Osintgram.py", line 132, in get_addrs
details = self.geolocator.reverse(k)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/geocoders/nominatim.py", line 362, in reverse
return self._call_geocoder(url, callback, timeout=timeout)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/geocoders/base.py", line 368, in _call_geocoder
result = self.adapter.get_json(url, timeout=timeout, headers=req_headers)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/adapters.py", line 438, in get_json
resp = self._request(url, timeout=timeout, headers=headers)
File "/home/sm/miniconda3/envs/insta/lib/python3.6/site-packages/geopy/adapters.py", line 460, in _request
raise GeocoderUnavailable(message)
geopy.exc.GeocoderUnavailable: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=-37.66374081&lon=144.59772807&format=json&addressdetails=1 (Caused by ReadTimeoutError("HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Read timed out. (read timeout=1)",))