Git Product home page Git Product logo

Comments (6)

thxmike avatar thxmike commented on June 9, 2024 1

I was able to correct this. It is the password in the redis string that needs to be updated in the config file for onetime password. This needs to match the requirepass in the redis.conf file. "requirepass" needs to be uncommented as well.

from onetimesecret.

delano avatar delano commented on June 9, 2024

You probably need to update the password in your redis-server config as well. Then restart redis and try the bundle exec command again`.

from onetimesecret.

thxmike avatar thxmike commented on June 9, 2024

I am getting the same error message. I went through the suggestions that were outlined but I still get the same message. Any assistance would be appreciated
bundler: failed to load command: thin (/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/bin/thin)
RuntimeError: ERR Client sent AUTH, but no password is set
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis/client.rb:47:in call' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis/client.rb:24:in connect'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis/client.rb:247:in ensure_connected' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis/client.rb:137:in block in process'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis/client.rb:206:in logging' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis/client.rb:136:in process'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis/client.rb:46:in call' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis.rb:273:in block in ping'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis.rb:18:in synchronize' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/redis-2.2.2/lib/redis.rb:272:in ping'
/home/ots/onetimesecret/lib/onetime.rb:73:in block in load!' /home/ots/onetimesecret/lib/onetime.rb:73:in times'
/home/ots/onetimesecret/lib/onetime.rb:73:in load!' config.ru:28:in block in

'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in instance_eval' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in initialize'
config.ru:1:in new' config.ru:1:in '
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in eval' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in load'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:181:in load_rackup_config' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:71:in start'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:187:in run_command' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:152:in run!'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/bin/thin:6:in <top (required)>' /home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/bin/thin:23:in load'
/home/ots/onetimesecret/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<top (required)>'

from onetimesecret.

trazek avatar trazek commented on June 9, 2024

Hello @thxmike,

I tried your solution but still have the same error. Can you tell me which config files need to be updated with a password? I changed the redis.conf but do not see another to change.

Also, when I run the redis-server command, is it supposed to immediately terminate or should the instance of redis run, like if you just run redis-server without a config file as a param.

Thanks

from onetimesecret.

trazek avatar trazek commented on June 9, 2024

I was able to solve my issue by double checking (as stated) the password information matched in the config files. Something to mention, I had to wrap my password in quotes from the onetime config file:

requirepass "mypassword"

Once I wrapped it in the quotes, it worked.

from onetimesecret.

emilyHere6 avatar emilyHere6 commented on June 9, 2024

@trazek What did the other file you had to edit look like? Was it the ect/config? What does that line look like for you?

from onetimesecret.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.