hibp
hibp copied to clipboard
Http:ClientError occurs when checking an individual email address or several from a text file
I received the following error message when I tried to run this script using Ruby 2.4.1. Please note that the e-mail addresses in the screenshots below were only chosen for anonymity. The same error message appeared when I used my actual e-mail addresses.
Attempting to check an individual email address

Attempting to check email addresses from a text file

Info about my system

Update: This issue might be related to the rate limit that was introduced in v2 of HIBP's API: https://haveibeenpwned.com/API/v2#RateLimiting