-
Notifications
You must be signed in to change notification settings - Fork 34
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
How do we connect to an SSL port? #19
Comments
We currently do no support other than raw tcp sockets. However you can
start by subclassing underlaying socket that is constructed in C
onnection. Implementation should not take long but geting right approach
can be more tricky.
I am currently absent from computer for 2 weeks. I can take a look at that
time if still needed, or if you stuck to make a progress.
Kind regards, Luka.
…On Wed, 2 Dec 2020, 10:15 abhin-vicks, ***@***.***> wrote:
It works fine when I enable non SSL port in my Azure Cache for Redis. But
when I enable SSL port 6380, this is the error I get: *E/flutter ( 5132):
[ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception:
SocketException: OS Error: Connection reset by peer, errno = 104, address =
RedisAbhinav.redis.cache.windows.net
<http://RedisAbhinav.redis.cache.windows.net>, port = 44938*
Code:
RedisConnection conn = new RedisConnection();
conn
.connect('SampleName.redis.cache.windows.net', 6380)
.then((Command command) {
command.send_object([
"AUTH",
"<YourKey>"
]).then((var response) {
print(response);
});
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#19>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGJG2XY5SVRWNCVWQRC5ODSSYAR7ANCNFSM4UKGMHUA>
.
|
this would be very useful! |
Merged
created a pr |
Implemented in PR and now also released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It works fine when I enable non SSL port in my Azure Cache for Redis. But when I enable SSL port 6380, this is the error I get: E/flutter ( 5132): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: SocketException: OS Error: Connection reset by peer, errno = 104, address = RedisAbhinav.redis.cache.windows.net, port = 44938
Code:
The text was updated successfully, but these errors were encountered: