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

How do we connect to an SSL port? #19

Closed
abhin-vicks opened this issue Dec 2, 2020 · 4 comments
Closed

How do we connect to an SSL port? #19

abhin-vicks opened this issue Dec 2, 2020 · 4 comments

Comments

@abhin-vicks
Copy link

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:

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);
      });
@ra1u
Copy link
Owner

ra1u commented Dec 2, 2020 via email

@derrick56007
Copy link
Contributor

this would be very useful!

@derrick56007
Copy link
Contributor

#21

created a pr

@ra1u
Copy link
Owner

ra1u commented May 31, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants