-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
IPv6 support #1340
IPv6 support #1340
Conversation
🚲 PR staged at http://34.27.51.101 |
…in order to conduct the tests
🚲 PR staged at http://34.27.51.101 |
Thank you for your great work!
It seems cartservice fails to connect to redis server and may be related to the below issues. cartservices uses Cahing.StackExchangeRedis with version 7.0.0.
aspnetcore with .NET 7 uses StackExchangeRedis with version 2.2.4 The version of StackExchangeRedis is released at Nov 19. 2020, so the fix in StackExchange/StackExchange.Redis#2240 is not applied and the same issue occures. |
Wonderful, thanks for testing and reporting these detailed information, much appreciated! So yeah, the So, just to confirm, do you now see that the previous errors related to |
Thanks for the quick reply!
Yes, the issue related to listening address seems to be fixed. |
🚲 PR staged at http://34.27.51.101 |
🚲 PR staged at http://34.27.51.101 |
Hi @naoki9911, could you give it another try by adding/updating the Context: based on your detailed feedback (thanks again for that!), I filed dotnet/aspnetcore#45424 and they recommend to add an explicit direct dependency to |
@mathieu-benoit Thanks!
|
Really great, thanks for your help and collaboration on this, @naoki9911, much appreciated! |
🚲 PR staged at http://34.27.51.101 |
Ready for your review, thanks! |
🚲 PR staged at http://34.27.51.101 |
🚲 PR staged at http://34.27.51.101 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for @mathieu-benoit for adding this functionality to Online Boutique.
And thank you, @naoki9911, for not only testing this on a IPv6 single-stack cluster but also for providing detailed info about the errors you were witnessing! You made this possible.
Approved!
Support IPv6 on single-stack clusters.
2 issues are fixed:
We set
[::]
instead of0.0.0.0
and will see from there. It seems that[::]
works for both stacks: IPv4 and IPv6 (the app on our GKE-IPv4 test environment here http://34.27.51.101/ is still working). It was already the case in the code forrecommendationservice
andemailservice
:For the
StackExchange.Redis
issue, we need to add a direct dependency toStackExchange.Redis
. See dotnet/aspnetcore#45424.How to test this? Good question, you just have to deploy the following images:
gcr.io/online-boutique-ci/refs/pull/1340/paymentservice:1340
gcr.io/online-boutique-ci/refs/pull/1340/cartservice:1340
gcr.io/online-boutique-ci/refs/pull/1340/currencyservice:1340
gcr.io/online-boutique-ci/refs/pull/1340/emailservice:1340
Also, capturing some findings/learnings/pointers here too: