Oracle Labs
DiscordGitHubTelegram
  • Welcome!
  • Why Oracle Labs?
  • Services
    • Chainlink node service provider
    • Consulting & development
  • Infrastructure Whitepaper
    • Supported Networks
    • Cloud setup
    • How do we monitor?
      • Monitoring Endpoints
  • Technical
    • Chainlink Guide
    • Chainlink Public Jobs
    • Solving common problems
    • Chainlink Node Logs
      • Log
      • Keystore
      • HeadTracker
      • GasEstimator
      • DirectRequest
      • Postgres
      • Client
      • BulletproofTxManager
      • BalanceMonitor
      • FluxMonitor
      • PeriodicBackups
      • OCR
  • Blog
    • Articles
      • External Initiators
      • Configuring logging in a kubernetes cluster
      • Integrate Chainlink Operator Contract with Chainlink Node
      • Setting up custom price feeds on chainlink node
      • Two-factor authentication to the server via ssh
      • Creating an L2TP vpn tunnel over IPSec
Powered by GitBook
On this page
  • [ERROR] could not get advisory lock for classID
  • [WARN] Postgres event broadcaster: disconnected, trying to reconnect…
  • [WARN] Postgres event broadcaster: reconnect attempt failed, trying again…
  1. Technical
  2. Chainlink Node Logs

Postgres

The Postgres service manages the connection and communication between the Chainlink node and its local or remote PostgreSQL database.

[ERROR] could not get advisory lock for classID

The advisory lock provides a mechanism that locks the database as an application-oriented session without simultaneously preventing write operations (e.g. manual editing of the database). This means that other applications can be in the queue and have full access to the database as soon as the lock is released. It can be used for automated Chainlink node failover architectures by enabling a secondary node to wait for the lock to be released to jump in whenever the primary node fails (this practice is no longer recommended). This log indicates that the lock could not be closed.

  • Make sure that the ETH_DATABASE_URL environmental variables of the primary and secondary Chainlink nodes are identical

  • Check if the PostgeSQL database settings for the advisory lock is enabled

[WARN] Postgres event broadcaster: disconnected, trying to reconnect…

The connection to the PostgreSQL database might have been interrupted and the Chainlink node tries to reconnect to resume the exchange with it.

  • Check the firewall settings of the Chainlink node’s host machine for outgoing traffic

  • Check the firewall settings of the PostgreSQL server for incoming traffic

  • Check the health and availability of the PostgreSQL server

[WARN] Postgres event broadcaster: reconnect attempt failed, trying again…

The Chainlink node was not able to reconnect to the PostgreSQL database. It will produce this log until it can successfully reconnect.

  • Check the firewall settings of the Chainlink node’s host machine for outgoing traffic

  • Check the firewall settings of the PostgreSQL server for incoming traffic

  • Check the health and availability of the PostgreSQL server

PreviousDirectRequestNextClient

Last updated 2 years ago