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

{error,{unexpected_data,{error,closed}}} - during Authentication #114

Open
RajuC opened this issue Aug 28, 2018 · 1 comment
Open

{error,{unexpected_data,{error,closed}}} - during Authentication #114

RajuC opened this issue Aug 28, 2018 · 1 comment

Comments

@RajuC
Copy link

RajuC commented Aug 28, 2018

I am passing the Eredis password param in the start_link,
Previously my password param was empty, now we have added a authentication to our redis server.
When i try to pass the password param "xcvvcnbmn", i am seeing the below crash
Please do the needful
I am able to connect through redis-cli

 =SUPERVISOR REPORT==== 28-Aug-2018::16:31:16 ===
 Supervisor: {<0.268.0>,eredis_sup}
 Context:    start_error
 Reason:     {'EXIT',
                 {{badmatch,
                      {error,
                          {connection_error,
                              {authentication_error,
                                  {unexpected_data,{error,closed}}}}}},
                  [{eredis,start_link,6,
                       [{file,"src/eredis.erl"},{line,76}]},
                   {supervisor,do_start_child,2,
                       [{file,"supervisor.erl"},{line,365}]},
                   {supervisor,start_children,3,
                       [{file,"supervisor.erl"},{line,348}]},
                   {supervisor,init_children,2,
                       [{file,"supervisor.erl"},{line,314}]},
                   {gen_server,init_it,6,
                       [{file,"gen_server.erl"},{line,328}]},
                   {proc_lib,init_p_do_apply,3,
                       [{file,"proc_lib.erl"},{line,247}]}]}}
 Offender:   [{pid,undefined},
              {id,eredis},
              {mfargs,{eredis,start_link,[]}},
              {restart_type,temporary},
              {shutdown,5000},
              {child_type,worker}]
@Lcccc28
Copy link

Lcccc28 commented Oct 19, 2023

@RajuC I also encountered this problem, how did you solve it?

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