nats: cannot connect to ipv6 host #12373
Answered
by
jszwedko
jbergstroem
asked this question in
Q&A
-
Hello, after the auth fixes in [sources.my_nats]
type = "nats"
url = "nats://[::1]:4222"
connection_name = "logs" Gives: 2022-04-22T18:56:08.769003Z INFO vector::app: Log level is enabled. level="vector=info,codec=info,vrl=info,file_source=info,tower_limit=trace,rdkafka=info,buffers=info,kube=info"
2022-04-22T18:56:08.769115Z INFO vector::app: Loading configs. paths=["/etc/vector/vector.toml"]
2022-04-22T18:54:44.030456Z ERROR vector::topology: Configuration error. error=Source "my_nats": NATS Connect Error: failed to lookup address information: Name does not resolve I've tried variations of the host but are running out of options. Any input much appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Apr 22, 2022
Replies: 1 comment 1 reply
-
Hmm, I would think that that should work fine. I do see nats-io/nats.rs#322 but that should be fixed in the version of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jszwedko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm, I would think that that should work fine. I do see nats-io/nats.rs#322 but that should be fixed in the version of
nats
we are using. I'll try to verify and reply on that upstream issue if needed.