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 340 forks source link

Docker times out after 30 seconds #1278

Open jbardnz opened 1 year ago

jbardnz commented 1 year ago

Email Provider

No response

What happened?

I'm able to get v3 running without issue, but when running any v4 docker image I get the following error:

[2023-03-05T09:50:58Z INFO  reacher] Running Reacher v0.4.0
[1678009858.473][SEVERE]: bind() failed: Address not available (99)
Starting ChromeDriver 109.0.5414.74 (e7c5703604daa9cc128ccf5a5d3e993513758913-refs/branch-heads/5414@{#1172}) on port 9515
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
[2023-03-05T09:50:58Z INFO  reacher] Sentry is successfully set up.
[2023-03-05T09:50:58Z INFO  reacher] Bulk endpoints enabled.
Error: PoolTimedOut

The Error: PoolTimedOut always happens after exactly 30 seconds.

Relevant log output

No response

amaury1093 commented 1 year ago

You can set RCH_ENABLE_BULK=0 in docker to disable bulk. Alternatively, if you want bulk, then you need to set a DATABASE_URL.

Sorry, v0.4.0 is still in beta, and there are not a lot of docs yet.

jbardnz commented 1 year ago

Thanks for getting back to me, in my case I did want to use the bulk feature.

So I have RCH_ENABLE_BULK=1 and the DATABASE_URL set.

amaury1093 commented 1 year ago

Are you still having issue with this? PoolTimedOut seems to be that Reacher can't connect to the db. Could you double check that DATABASE_URL is correct?