fix: Update graphQL endpoint configuration to use ChaosGraphQLEndpoint#5416
Open
r6mez wants to merge 2 commits intolitmuschaos:masterfrom
Open
fix: Update graphQL endpoint configuration to use ChaosGraphQLEndpoint#5416r6mez wants to merge 2 commits intolitmuschaos:masterfrom
r6mez wants to merge 2 commits intolitmuschaos:masterfrom
Conversation
litmuschaos#5369) Signed-off-by: Ramez Medhat <iramezdev@gmail.com>
d161d24 to
a47f234
Compare
Contributor
|
Hi @r6mez, thanks for the PR. Have you tested these changes? Will the user have to make any additional changes when setting up Litmus on local setup? If yes, can you please also document that |
Author
Yes, I have tested it, and it's working fine. The user does not need to do any additional changes; in fact, this fix removes some extra steps in the setup process because of the failure of the subscriber pod |
SarthakJain26
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Summary:
Fixes subscriber pod CrashLoopBackOff by ensuring the correct server endpoint is set in the subscriber-config ConfigMap.
Problem:
When users access Litmus UI via localhost, the GraphQL server uses the HTTP Referer header (localhost:8080) to set SERVER_ADDR in the ConfigMap. This results in subscriber pods trying to connect to localhost, which fails inside Kubernetes.
Fix:
Default to http://litmusportal-server-service:9002/query for SERVER_ADDR, ensuring subscribers connect to the correct service in production environments.
Closes: #5369
Types of changes
Checklist
Dependency
Special notes for your reviewer: