You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had similar issue. In my case it was because if you change release name (Helm) it changes SVC name and you need to adjust it in the nats url : --set jetstream.nats.url=nats://nats:4222 => --set jetstream.nats.url=<release-name>://<release-name>:4222
hi, anyone can help me, i have faced a problem of no such host error when i follow the setup on the read.me of the command kubectl apply -f https://raw.githubusercontent.com/nats-io/k8s/master/nats-server/nats-js-leaf.yml
[8] 2021/08/19 11:14:52.225665 [INF] Starting nats-server
[8] 2021/08/19 11:14:52.225707 [INF] Version: 2.3.5-beta.2
[8] 2021/08/19 11:14:52.225711 [INF] Git: [a5afa867]
[8] 2021/08/19 11:14:52.225723 [INF] Name: NBLIEZQN6UJEWD6Y7BJILKGCXSMW7YB7O72MM5VH3UTABMRDQGK3QECF
[8] 2021/08/19 11:14:52.225729 [INF] Node: ciFh09UR
[8] 2021/08/19 11:14:52.225732 [INF] ID: NBLIEZQN6UJEWD6Y7BJILKGCXSMW7YB7O72MM5VH3UTABMRDQGK3QECF
[8] 2021/08/19 11:14:52.225742 [INF] Using configuration file: /etc/nats-config/nats.conf
[8] 2021/08/19 11:14:52.227071 [INF] Starting JetStream
[8] 2021/08/19 11:14:52.229306 [INF] _ ___ _____ ___ _____ ___ ___ _ __ __
[8] 2021/08/19 11:14:52.229319 [INF] _ | | | / | | _ \ __| /\ | / |
[8] 2021/08/19 11:14:52.229322 [INF] | || | | | | _ \ | | | / | / _ | |/| |
[8] 2021/08/19 11:14:52.229324 [INF] _/|| || |/ || ||___// __| |_|
[8] 2021/08/19 11:14:52.229326 [INF]
[8] 2021/08/19 11:14:52.229329 [INF] https://docs.nats.io/jetstream
[8] 2021/08/19 11:14:52.229332 [INF]
[8] 2021/08/19 11:14:52.229334 [INF] ---------------- JETSTREAM ----------------
[8] 2021/08/19 11:14:52.229343 [INF] Max Memory: 5.46 GB
[8] 2021/08/19 11:14:52.229347 [INF] Max Storage: 953.67 MB
[8] 2021/08/19 11:14:52.229350 [INF] Store Directory: "/data/jetstream/store/jetstream"
[8] 2021/08/19 11:14:52.229353 [INF] -------------------------------------------
[8] 2021/08/19 11:14:52.230023 [INF] Starting http monitor on 0.0.0.0:8222
[8] 2021/08/19 11:14:52.230096 [INF] Listening for leafnode connections on 0.0.0.0:7422
[8] 2021/08/19 11:14:52.230808 [INF] Listening for client connections on 0.0.0.0:4222
[8] 2021/08/19 11:14:52.230943 [INF] Server is ready
[8] 2021/08/19 11:14:52.244034 [ERR] Error trying to connect as leafnode to remote server "nats-js:7422" (attempt 1): lookup for host "nats-js": lookup nats-js on 10.0.0.10:53: no such host
The text was updated successfully, but these errors were encountered: