LoginSignup
27
30

More than 5 years have passed since last update.

Cannot render console from 10.0.2.2!と言われました

Posted at

remote: trueな呼び出しをしていたら、コンソールにCannot render consoleという表示がでました。

Started GET "/events/404" for 10.0.2.2 at 2015-05-05 04:21:25 +0000
Cannot render console from 10.0.2.2! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by EventsController#show as JS

config/application.rbにwhitelistを追加したら表示がでなくなりました。

whitelisted_ipsを追加
config.web_console.whitelisted_ips = '10.0.2.2'

参考

27
30
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
27
30