reacherhq / check-if-email-exists

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
https://reacher.email
Other
4.34k stars 342 forks source link

hotmail.fr and orange.fr does not work #891

Closed estebanpascual closed 3 years ago

estebanpascual commented 3 years ago

I am currently using Heroku to use the app, for gmail.com or free.fr it works fine, but for orange.fr and hotmail.fr I get the error "io: incomplete". There is something to do for it to work correctly?

image

amaury1093 commented 3 years ago

Hey @estebanpascual! Without logs, it's usually hard for me to debug.

Could you add RUST_LOG=debug to your heroku environment variables, and then paste the Heroku logs when you make the request?

estebanpascual commented 3 years ago

2021-03-22T18:44:29.301682+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG async_smtp::smtp::client::inner] >> MAIL FROM:user@example.org 2021-03-22T18:44:29.346170+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG async_smtp::smtp::client::inner] << 550 5.7.1 Service unavailable, Client host [18.202.176.17] blocked using Spamhaus. To request removal from this list see https://www.spamhaus.org/query/ip/18.202.176.17 (AS3130). [VE1EUR02FT053.eop-EUR02.prod.protection.outlook.com] 2021-03-22T18:44:29.346185+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG check_if_email_exists::smtp] Closing eur.olc.protection.outlook.com.:25, because of error 'permanent: 5.7.1 Service unavailable, Client host [18.202.176.17] blocked using Spamhaus. To request removal from this list see https://www.spamhaus.org/query/ip/18.202.176.17 (AS3130). [VE1EUR02FT053.eop-EUR02.prod.protection.outlook.com]'. 2021-03-22T18:44:29.346269+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG async_smtp::smtp::client::inner] >> QUIT 2021-03-22T18:44:29.346653+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG reacher_backend::routes::check_email::post] [email=testtest@hotmail.fr] Got result with retry option Direct, attempt #1, is_reachable=Unknown 2021-03-22T18:44:29.346654+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG reacher_backend::routes::check_email::known_errors] Io error: incomplete 2021-03-22T18:44:29.346678+00:00 app[web.1]: [2021-03-22T18:44:29Z INFO reacher_backend::sentry_util] Sending info to Sentry: is_reachable=Unknown 2021-03-22T18:44:29.346783+00:00 app[web.1]: [2021-03-22T18:44:29Z INFO warp::filters::log] 10.37.86.201:29940 "POST /v0/check_email HTTP/1.1" 200 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" 374.092084ms 2021-03-22T18:44:29.346857+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG hyper::proto::h1::io] flushed 468 bytes 2021-03-22T18:44:29.348730+00:00 heroku[router]: at=info method=POST path="/v0/check_email" host=api-check-mail.herokuapp.com request_id=460ed85c-74cc-421d-96fe-12b22fdfef92 fwd="206.189.180.4" dyno=web.1 connect=0ms service=375ms status=200 bytes=468 protocol=https

api-check-mail-logs-1616438714595.txt

Here are the logs I hope it is indeed this information

amaury1093 commented 3 years ago

Yes, that's useful!

The relevant line is:

2021-03-22T18:44:29.346185+00:00 app[web.1]: [2021-03-22T18:44:29Z DEBUG check_if_email_exists::smtp] Closing eur.olc.protection.outlook.com.:25, because of error 'permanent: 5.7.1 Service unavailable, Client host [18.202.176.17] blocked using Spamhaus. To request removal from this list see https://www.spamhaus.org/query/ip/18.202.176.17 (AS3130). [VE1EUR02FT053.eop-EUR02.prod.protection.outlook.com]'.

IP is blocked. Maybe switch using another IP? I'm closing because Reacher does not provide help on IP rotation: https://help.reacher.email/self-host-guide#5cd3264fca29473e8d68664587e7d410.