SSH not allowed with this context
If your project's config.yml file includes contexts that are incorrectly set up or you do not have permission to access, you might see this error message pop up in the right bottom corner of the page when trying to re-run a job with SSH.
If this is the case, the SSH re-run will not start.
As a first step, if you are using restricted contexts, please confirm that your user is part of the security group that has access to every context in the config file.
Please verify that every context and environment variable within the context, referenced in the config file, are set up in the organization settings. You can find the contexts under
Organization Settings > Contexts.
Please make sure that every context and context environment variable have the exact same name in the config.yml as the name displayed on the contexts list in CircleCI. Look out for capitalization and blank spaces before and after the names.
Once this is done, please trigger a new build. This will now allow you to re-run the job with SSH in this build.
Article is closed for comments.