Comments (6)
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.
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.
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.
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.
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.
@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)
- Introduce a setting to automatically burn secrets after a specified number of unsuccessful attempts. HOT 1
- Replace generic StandardError rescues
- Install Renovatebot to help manage dependencies. HOT 4
- Dockerhub account? HOT 6
- Review to add type hints
- Fix for Rubygems version in Ruby workflow
- the api not work HOT 7
- Re-add remove account button
- Better DX for deploying via docker image
- Migrate to new VM HOT 9
- Setting REDIS_URI without 'redis://' scheme leads to exception on load
- where can I change the length generate random password HOT 1
- Images and icons not showing p.2 HOT 4
- Cannot normalize nothing on docker build HOT 4
- Docker Build V0.13.0-RC6 Verification Email not being sent.
- wrong version of `uri-redis` in `Gemfile.lock`
- re: renovatebot install HOT 2
- Dependency Dashboard
- v0.13.0-RC7: undefined method `register_scheme' for URI:Module (NoMethodError) HOT 3
- Add config check at start-time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onetimesecret.