Carniverous19 / helium-DIY-middleman

Code here acts as a middleman between LoRa gateways running Semtech packet forwarders and servers ingesting packet forwarder data
37 stars 41 forks source link

HTTP Error 429 #3

Closed IHateNameStealers closed 2 years ago

IHateNameStealers commented 2 years ago

Not sure if this is still working or not, but I keep getting the following "error" when doing: python3 utils.py -x refresh_hotspots

Traceback (most recent call last):
  File "utils.py", line 77, in load_hotspots
    raise FileNotFoundError
FileNotFoundError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "utils.py", line 219, in <module>
    load_hotspots(True)
  File "utils.py", line 94, in load_hotspots
    resp = json.load(urllib.request.urlopen(url))
  File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: You are being limited. The ip or client you are using has been identified as a potential source of traffic issues against the helium api. If you need assistance please email support@stakejoy.com and we will get back to you promptly.

I'm using Python 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0] on linux2

IHateNameStealers commented 2 years ago

My misstake.. Posted this in the wrong place.