Rails 6: 'Blocked host Error' when using qa tunnel
With the upgrade to rails 6, when using the qa tunnel for Auto DevOps on gdk it is required that the host address of the development environment is whitelisted via config.hosts
If this is not set you will be served a Blocked host Error
As a current workaround you can add a line to <path_to_gdk>/gitlab/config/environments/development.rb
:
config.hosts << "[PORT].qa-tunnel.gitlab.info"
but this should be automated as part of the setup when you run gdk reconfigure with autodevops enabled as a gitlab employee.
Edited by Allison Browne