Connection attempt from node rabbit_ctl_46@ubuntu rejected. Invalid challenge reply

937 views
Skip to first unread message

Brady Harper

unread,
Mar 9, 2021, 11:49:34 AM3/9/21
to rabbitmq-users
I've currently got Minikube setup on my host machine with a RabbitMQ cluster operator installed and deployed. I have a script that sends messages from the host machine to Minikube, however when I run it I get the error:

"Connection attempt from node rabbit_ctl_46@ubuntu rejected. Invalid challenge reply"

My deployment YAML file is:

kind: RabbitmqCluster
metadata:
  name: rabbitmq-cluster
spec:
  persistence:
    storageClassName: standard
    storage: 5Gi
  service:
    type: NodePort
  override:
    statefulSet:
      spec:
        template:
          spec:
            containers:
              - name: rabbitmq
                image: rabbitmq:3.8-management
                ports:
                - containerPort: 5672
                  name: amqp
                env:
                - name: RABBITMQ_ERLANG_COOKIE
                  valueFrom:
                    secretKeyRef:
                      name: rabbitmq-secret
                      key: RABBITMQ_ERLANG_COOKIE
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: rabbimq-pvc
spec:
  resources:
    requests:
      storage: 5Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
---
apiVersion: v1
kind: PersistentVolume
metadata:
  name: rabbitmq-pv
spec:
  capacity:
    storage: 5Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Recycle
  storageClassName: standard
  hostPath:
    path: /mnt/app/rabbitmq
    type: DirectoryOrCreate

The cookie being copied over is definitely the same as the one on the host machine (I verified it using the Minikube dashboard), what else could be causing the connection to be refused?
Reply all
Reply to author
Forward
0 new messages