Skip to content

Controller fails when we can't reach emap #19

Description

@thompson318

Waveform controller fails when it can't access emap database, like this

psycopg2.OperationalError: connection to server at "uclvldddtaeps02" (xxx.xxx.xxx.xxx), port xxxx failed: FATAL: the database system is in recovery mode
...
pika.exceptions.ChannelClosedByBroker: (406, 'PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used : 1800000 ms.

  • Decide what to do in this case. We could just keep restarting the controller until it works, or it would probably be better to just pause until we can access emap again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions