503 from my corporate VPN and home comcast


#1

import requests
resp = requests.get(‘https://haveibeenpwned.com/api/v2/breachedaccount/[email protected]’)
print (resp.json)

I’m trying to make a query against haveibeenpwned.com. If I attempt the above script from my comcast or corporate VPN IPs, then I receive a 503. However, if I run the query from a different IP (again, corporate VPN), then I receive a 200 code. I’m not hitting a quote. I’m running the above script only. No loop. I plan to create an AWS lambda. How do I solve the 503 problem?


#2

A 503 could mean your IP address is being rate limited. You may want to contact the site owner to determine what limits may exist and stay under those.


#3

That is what I assumed 503 means, but there are no queries from my home IP.


#4

Can do you delete this posting? I don’t have access.