michenriksen / hibp

A simple tool to check a bunch of email addresses against the Have I Been Pwned API.
https://rubygems.org/gems/hibp
MIT License
65 stars 20 forks source link

Http:ClientError occurs when checking an individual email address or several from a text file #1

Open ghost opened 7 years ago

ghost commented 7 years ago

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 powershell_2017-09-04_11-13-21

Attempting to check email addresses from a text file powershell_2017-09-04_11-13-03

Info about my system msinfo32_2017-09-04_11-16-08

ghost commented 7 years ago

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