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

Chaos manifest file subscriber fails to establish connection #4798

Open
bagmeg opened this issue Jul 30, 2024 · 0 comments
Open

Chaos manifest file subscriber fails to establish connection #4798

bagmeg opened this issue Jul 30, 2024 · 0 comments
Assignees

Comments

@bagmeg
Copy link

bagmeg commented Jul 30, 2024

What happened:
From litmus helm v3.9.0,
After installing litmus and enabling chaos, subscriber fails to establish connection.

time="2024-07-30T04:34:03Z" level=info msg="Go Version: go1.22.5" 
time="2024-07-30T04:34:03Z" level=info msg="Go OS/Arch: linux/amd64" 
time="2024-07-30T04:34:03Z" level=info msg="All infra deployments are up" 
time="2024-07-30T04:34:03Z" level=info msg="Starting the subscriber" 
time="2024-07-30T04:34:03Z" level=info msg="Connecting to ws:" 
time="2024-07-30T04:34:03Z" level=fatal msg="Failed to established websocket connection" error="dial tcp :80: connect: connection refused"

What you expected to happen:
all services to work without error and connection status on web to be 'CONNECTED'

Where can this issue be corrected? (optional)

I've tried changing SERVER_ADDR on subscriber-config
from <ip>:<frontend nodeport>/api/query to http://<chaos-litmus-server-service>:9002/query and worked.

apiVersion: v1
kind: ConfigMap
metadata:
  name: subscriber-config
  namespace: nginx
data:
  SERVER_ADDR: localhost:33663/api/query # http://<chaos-litmus-server-service>:9002/query
  INFRA_SCOPE: namespace
  VERSION: 3.9.1
  START_TIME: "1721551003427"
  SKIP_SSL_VERIFY: "false"
  CUSTOM_TLS_CERT: ""
  IS_INFRA_CONFIRMED: "true"
  COMPONENTS: |
    DEPLOYMENTS: ["app=chaos-exporter", "name=chaos-operator", "app=event-tracker", "app=workflow-controller"]
---

How to reproduce it (as minimally and precisely as possible):

  1. Install Litmus using Helm with the following command:
    helm install chaos litmuschaos/litmus --namespace=litmus --set portal.frontend.service.type=NodePort
  2. Download (or redownload) the chaos manifest file from /environment
  3. apply manifest file

Anything else we need to know?:
Test Environment

  1. minikube version: v1.33.1
  2. litmus helm v3.9.0, v3.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants