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

Timeout Issue with bb8-redis 0.14.0 on GCP Memorystore Redis #188

Closed
lee-hen opened this issue Feb 1, 2024 · 5 comments
Closed

Timeout Issue with bb8-redis 0.14.0 on GCP Memorystore Redis #188

lee-hen opened this issue Feb 1, 2024 · 5 comments

Comments

@lee-hen
Copy link

lee-hen commented Feb 1, 2024

Hi,

I've encountered an issue after updating to bb8-redis 0.14.0. Local tests showed no problems, but on GCP with Memorystore Redis, timeouts occur every 10-20 minutes for 2-3 users.

@djc
Copy link
Owner

djc commented Feb 1, 2024

What is your config setup? In particular, do you customize the connection timeout?

Given the timing of your issue, I think this might be related to the recent bb8 0.8.2 update instead of the bb8-redis changes themselves (which only bumped the version of the upstream redis crate). bb8 0.8.2 included some fairly invasive changes from #186 in order to try and fix a potential deadlock issue. As part of this, the crate is now a little more strict about timing out for getting a connection (see in particular 016c164).

@djc
Copy link
Owner

djc commented Feb 1, 2024

#187 identified an issue in 0.8.2 which might somehow be related to your issue, so maybe have a look at #189.

@lee-hen
Copy link
Author

lee-hen commented Feb 1, 2024

I'll take a look at the bb8 0.8.2 update and the related issues you mentioned, particularly #187 and #189. Since I haven't customized the connection timeout and I'm experiencing timeouts on GCP with Memorystore Redis, it does seem plausible that the recent bb8 changes could be the culprit.

I'll check out your suggestions and update you on any progress.

Thanks again for your help!

@djc
Copy link
Owner

djc commented Feb 1, 2024

Please consider having your organization sponsor me on GitHub.

@djc djc closed this as completed Feb 1, 2024
@lee-hen
Copy link
Author

lee-hen commented Feb 5, 2024

Please consider having your organization sponsor me on GitHub.

I need to check with my company first, so please wait a moment.

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