Skip to content

"Blocked host" error after upgrading to 5.0.41 #2628

@hrak

Description

@hrak

Chef Supermarket Version

5.0.41

Platform Details

Ubuntu 18.04.6 LTS

Configuration

private supermarket using supermarket-omnibus-cookbook

Scenario

Last night our supermarket was automatically upgraded to 5.0.41 by supermarket-omnibus-cookbook and now it throws the following error:


Blocked host: supermarket.example.com
To allow requests to supermarket.example.com, add the following to your environment configuration:

config.hosts << "supermarket.example.com"


It worked fine before the upgrade (version 4.2.89)

We are using the stable channel, i don't expect major upgrades to happen in a channel called stable.

Our config:

{
  "features": "tools, gravatar, collaborator_groups",
  "ssl": {
    "certificate": "/etc/ssl/wildcard_example_com.crt",
    "certificate_key": "/etc/ssl/wildcard_example_com.key",
    "ssl_dhparam": "/etc/ssl/ffdhe2048.pem",
    "protocols": "TLSv1.2",
    "ciphers": "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"
  },
  "nginx": {
    "log_rotation": {
      "num_to_keep": 10
    }
  },
  "fqdn": "supermarket.example.com",
  "chef_server_url": "https://chef.example.com",
  "chef_oauth2_app_id": "<redacted>",
  "chef_oauth2_secret": "<redacted>",
  "chef_oauth2_verify_ssl": true
}

Steps to Reproduce

Upgrade a 4.2.89 installation using supermarket-omnibus-cookbook to 5.0.41

Expected Result

A working supermarket

Actual Result

red and black page with error mentioned above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage: ConfirmedIndicates and issue has been confirmed as described.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions