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

Update documentation on Redis for connection URI #1869

Open
mheadd opened this issue Feb 6, 2021 · 3 comments
Open

Update documentation on Redis for connection URI #1869

mheadd opened this issue Feb 6, 2021 · 3 comments

Comments

@mheadd
Copy link
Contributor

mheadd commented Feb 6, 2021

The new AWS Elasticache Redis service may require client applications to use a modified connection URI that uses the rediss:// scheme. When looking at the connection URI in VCAP_SERVICES, it will show as redis:// and some client apps and frameworks may require rediss://. Our documentation should reflect this to assist partners using these apps or frameworks.

@ccostino
Copy link
Contributor

ccostino commented Feb 8, 2021

Just to clarify on this a bit more, even though VCAP_SERVICES will report back a URI that is redis:// it will still actually use rediss:// when it's defined?

Do we know if this this an issue with how the information is reported from the broker, somewhere else, or should be investigated?

@mheadd
Copy link
Contributor Author

mheadd commented Feb 8, 2021

That's a good question. You could certainly use the credentials in a different way, without the URL, and our docs show how to do that. I think the issue arises when the app or framework requires the URI to connect, not the hostname, port and password.

@ccostino
Copy link
Contributor

ccostino commented Feb 9, 2021

Ah, and this could be problematic if it's more than just a display issue when looking at what's in VCAP_SERVICES - if the URI is actually returned as just redis:// all the time, even if it's defined and intended to be rediss://, that would break the app/framework in the case of the whole URI being required.

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