Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts not working with Consul 1.14.x #3

Open
Vrtak-CZ opened this issue Nov 27, 2022 · 2 comments
Open

scripts not working with Consul 1.14.x #3

Vrtak-CZ opened this issue Nov 27, 2022 · 2 comments
Assignees

Comments

@Vrtak-CZ
Copy link

Validate configuration
Config validation failed: the `ports.grpc` listener no longer supports TLS. Use `ports.grpc_tls` instead. This message is appearing because GRPC is configured to use TLS, but `ports.grpc_tls` is not defined
Configuration invalid. Exiting.
@shengzhou1216
Copy link

Validate configuration
Config validation failed: the `ports.grpc` listener no longer supports TLS. Use `ports.grpc_tls` instead. This message is appearing because GRPC is configured to use TLS, but `ports.grpc_tls` is not defined
Configuration invalid. Exiting.

you need to change ports.grpc to ports.grpc_tls in scripts/generate_consul_server_config.sh

ports {
  -- grpc  = 8502
  ++ grpc_tls  = 8502
  http  = 8500
  https = ${HTTPS_PORT}
  dns   = ${DNS_PORT}
}

@danielehc danielehc self-assigned this Dec 22, 2022
@danielehc
Copy link
Collaborator

@Vrtak-CZ thanks for opening the bug, ATM the scripts are made for Consul 1.13.x and below. There is a plan to update them to support Consul 1.14.x (new TLS config) but is not going to happen before a few weeks. For now you can use @shengzhou1216 suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants