Skip to content

relay service is in an unhealthy state #4045

@ramazankayis

Description

@ramazankayis

Self-Hosted Version

25.8.0

CPU Architecture

x86_64

Docker Version

28.5.1

Docker Compose Version

2.40.2

Machine Specification

  • My system meets the minimum system requirements of Sentry

Steps to Reproduce

We installed Sentry, but the relay service is unhealthy.

Error Message => authentication encountered error error=upstream request returned error 407 Proxy Authentication Required error.sources=[no error details] tags.attempts=15
docker.compose.yml

 relay:
    <<: *restart_policy
    image: "$RELAY_IMAGE"
    volumes:
      - type: bind
        read_only: true
        source: ./relay
        target: /work/.relay
      - type: bind
        read_only: true
        source: ./geoip
        target: /geoip
    depends_on:
      kafka:
        <<: *depends_on-healthy
      redis:
        <<: *depends_on-healthy
      web:
        <<: *depends_on-healthy
    healthcheck:
      <<: *healthcheck_defaults
      test: ["CMD", "/bin/relay", "healthcheck"] 

relay config.yml:

     relay:
  upstream: "http://web:9000/"
  host: 0.0.0.0
  port: 3000
logging:
  level: WARN
processing:
  enabled: true
  kafka_config:
    - {name: "bootstrap.servers", value: "kafka:9092"}
    - {name: "message.max.bytes", value: 50000000} # 50MB
  redis: redis://redis:6379
  geoip_path: "/geoip/GeoLite2-City.mmdb" 

The log records are as shown in the image below:

Image

Expected Result

We expect the relay to be healthy and all relay logs must be successful.

Actual Result

We expect the relay to be healthy and all relay logs must be successful.

Event ID

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions