Comments (12)
Hey @MrMunki 👋, can you share the config you're using to attempt to connect?
Also, running TF_LOG=debug terraform plan
might provide some more information into what's happening.
from terraform-provider-kafka.
Hi,
Thanks for the response. I've just tried against an unencrypted kafka cluster and it does work, so it's the certs causing the issue by the looks of it. I've looked in the authorizer logs on the kafka server but it does not appear in there so it seems it's not even attempting to connect to the server.
My provider config is below, I've also attached the error bit of the log. The server name, of course, is changed
provider "kafka" {
bootstrap_servers = ["kafkabroker.domain.net:9093"]
ca_cert_file = "/folder/ca-cert"
client_cert_file = "/folder/kafka_cert"
client_key_file = "/folder/kafka.key"
skip_tls_verify = false
tls_enabled = true
}
from terraform-provider-kafka.
Can you try with skip_tls_verify = true
... I wonder if something there is broken 😅
from terraform-provider-kafka.
I already tried that, and I've just tried it again, and no joy, still the same.
from terraform-provider-kafka.
Hi, have you had a chance to look at this again?
from terraform-provider-kafka.
Same problem here
from terraform-provider-kafka.
Same issue here with
skip_tls_verify = true
tls_enabled = false
Seems ok when we add this arguments setted: sasl_username, sasl_password et sasl_mechanism
from terraform-provider-kafka.
Has anyone able to find solution for Error: kafka: client has run out of available brokers to talk to (Is your cluster reachable?) for AWS MSK
from terraform-provider-kafka.
Alright, I believer there was an issue with how the CA chain was being set. This should be resolved in the latest release.
from terraform-provider-kafka.
Still getting the same error
Error: kafka: client has run out of available brokers to talk to (Is your cluster reachable?)
from terraform-provider-kafka.
@MrMunki I had the same issue as you, but I used the wrong port in combination with the wrong config. These are the configs which work for me.
For port 9091 I use
skip_tls_verify = true
tls_enabled = false
For port 9092 I use
skip_tls_verify = true
tls_enabled = true
AFAIK 9092 is the SSL port of Kafka.
from terraform-provider-kafka.
@mleuthold
Hi, the SSL port is 9093, I believe. 9092 is not even listening on my cluster as I have to have encryption.
from terraform-provider-kafka.
Related Issues (20)
- Import of Scram Credential Resource
- password changes in scram credentials not detected HOT 1
- AWS MSK fresh cluster first apply fails because SASLS SCRAM secrets association is delayed
- Enable the GSSAPI SASL mechanism for kerberos-based authentication
- Add support for oauthbearer as the sasl mechanism HOT 6
- Unable to use aws-iam with Apache Kafka version 2.5.1 HOT 1
- Provider not working since version 0.6 HOT 21
- Terraform Plan takes a long time waiting for topics (intermittent)
- Ho do I use a PKCS12 keystore for MSK authentication?
- Version 0.7.0 does error on aim auth in comparison to 0.6.0 HOT 6
- Version 0.7.0 and 0.6.0 not working for kafka TLS brokers to create topics
- Version 0.7.0 and 0.6.0 not working for kafka TLS brokers to create topics
- Using this provider with multiple AWS Kafka clusters in the same AWS account HOT 1
- Provider wants to replace existing kafka_acls when a new entry/ creating new resource is being added. HOT 7
- `terraform plan` returns unexpected diff if brokers have cluster-wide default config HOT 1
- Overrides for Topic Placement Policy HOT 1
- Kafka Compatibility Query HOT 2
- Kafka Broker Issue HOT 1
- Provider Cannot Assume Role From EKS HOT 1
- Empty Summary: This is always a bug in the provider and should be reported to the provider developers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-kafka.