Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker times out after 30 seconds #1278

Open
jbardnz opened this issue Mar 5, 2023 · 3 comments
Open

Docker times out after 30 seconds #1278

jbardnz opened this issue Mar 5, 2023 · 3 comments

Comments

@jbardnz
Copy link

jbardnz commented Mar 5, 2023

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
Copy link
Member

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
Copy link
Author

jbardnz commented Mar 11, 2023

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
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants