Issue
When deploying Xray via ArgoCD, the startup may fail with the following error:
2025-10-14T14:23:04.949Z [33m[jfxr ][0m [31m[WARN ][0m [d67882897dbe073b] [health_metrics_service:293 ] [MainServer ] Could not get port from RabbitMq connection string:failed to get parse rabbitmq connection string
--- at /go/src/jfrog.com/xray/xray/backend/backend/service/metrics/healthmetrics/health_metrics_service.go:315 (getRabbitMqPort) ---
Caused by: parse "amqp://**:***@xray-rabbitmq:5672/%2F": net/url: invalid userinfo
This is caused by special characters (e.g., @, :, /) in the RabbitMQ username or password. Within the ArgoCD/Helm deployment context, these characters are interpreted as reserved characters and break the URL parsing logic for the connection string.
Resolution
Update the RabbitMQ credentials in your ArgoCD/Helm values file to be strictly alphanumeric.
Example values.yaml:
rabbitmq:
auth:
# Ensure these values contain ONLY letters and numbers (a-z, A-Z, 0-9)
username: guest
password: SecurePassword402064