0
rubymineは pictureのような認証を拒否しています。Postgresデータベース接続:Rubymineでパスワード認証に失敗しました
.yml fileのパスワードを変更しましたが、 は機能しません。 私は、単純な解決策があることを知っています。 しかしどちらですか?
rubymineは pictureのような認証を拒否しています。Postgresデータベース接続:Rubymineでパスワード認証に失敗しました
.yml fileのパスワードを変更しましたが、 は機能しません。 私は、単純な解決策があることを知っています。 しかしどちらですか?
私は端子を介して起動すると、それはOKらしい:
/home/knut/.rbenv/versions/2.4.1/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/knut/projets/RoR_Postrgre/bin/rails server -b 0.0.0.0 -p 3000 -e production => Booting Puma => Rails 5.1.3 application starting in production on 0.0.0.0:3000 => Run rails server -h for more startup options Puma starting in single mode... * Version 3.9.1 (ruby 2.4.1-p111), codename: Private Caller * Min threads: 5, max threads: 5 * Environment: production * Listening on tcp://0.0.0.0:3000 Use Ctrl-C to stop ` ` but the result via the web localhost doesn't work `2017-08-09 22:18:12 +0200: Rack app error handling request { GET/}
#<RuntimeError: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:510:in `validate_secret_key_config!'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:247:in `env_config'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:692:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:518:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:521:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-09 22:18:13 +0200: Rack app error handling request { GET /favicon.ico }
#<RuntimeError: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:510:in `validate_secret_key_config!'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:247:in `env_config'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:692:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:518:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:521:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-09 22:18:13 +0200: Rack app error handling request { GET /favicon.ico }
#<RuntimeError: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:510:in `validate_secret_key_config!'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:247:in `env_config'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:692:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:518:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:521:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-09 22:21:06 +0200: Rack app error handling request { GET /favicon.ico }
#<RuntimeError: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:510:in `validate_secret_key_config!'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:247:in `env_config'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:692:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:518:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:521:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
2017-08-09 22:21:09 +0200: Rack app error handling request { GET/}
#<RuntimeError: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:510:in `validate_secret_key_config!'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:247:in `env_config'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:692:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:518:in `build_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/engine.rb:521:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'
/home/knut/projets/RoR_Postrgre/vendor/bundle/gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
はあなたがルビーマイン経由で接続しようとしたとき、またはあなたも、あなたのアプリケーションを起動している場合にのみ、このエラーが発生していますか? –
ウェブ上でlocalhostを設定すると、却下されます: – Kriss
'2017-08-09 22:18:12 +0200:ラックアプリケーションエラー処理要求{GET /} # /home/knut/projets/RoR_Postrgre/vendor/bundle/gems/railties-5.1.3/lib/rails/application.rb:510:in' validate_secret_key_config ! ' ' –
Kriss