Skip to content

/series calls stuck if redis is not running #1134

@andreasgerstmayr

Description

@andreasgerstmayr

I was just testing for common misconfigurations, and noticed if I temporary stop the redis server and run for example

curl  "http://localhost:44322/series/query?expr=disk.dev.read"

the request stays open forever, i.e. no response is sent. I guess pmproxy is waiting for some callback (with the response) to be executed, which never happens as the connection to redis wasn't established. Can we return some HTTP 50x response here?

Interestingly I get

$ curl -s "http://localhost:44322/series/ping"
{"success":true}

however - is the response cached (redis was running when I started pmproxy initially)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions