.MD

Copy the markdown below:

ActiveRecord::ConnectionNotEstablished

app/models/summary.rb:59

connection to server at "10.0.4.16", port 5432 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

Backtrace

app/models/summary.rb:59:in 'Summary.missing_or_stale_days'
app/controllers/concerns/summary_checker.rb:14:in 'SummaryChecker#missing_or_stale_summary_days'
app/controllers/concerns/summary_checker.rb:5:in 'SummaryChecker#load_missing_or_stale_summary_days'
app/controllers/balance/home_controller.rb:17:in 'Balance::HomeController#index'
app/controllers/concerns/auto_locale.rb:14:in 'ApplicationController#switch_locale'

Request

Name Balance::HomeController#index
Method GET
URL https://demo.solectrus.de/inverter_power/day
Browser ChromeChrome 146

Parameters

{
  "action": "index",
  "timeframe": "day",
  "controller": "balance/home",
  "sensor_name": "inverter_power"
}

Headers

Host demo.solectrus.de
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Cf-Ray 9ec092d42b7be0dd-MUC
Sec-Gpc 1
Cdn-Loop cloudflare; loops=1
Priority u=0, i
Sec-Ch-Ua "Chromium";v="146", "Not-A.Brand";v="24", "DuckDuckGo";v="146"
X-Real-Ip 172.68.110.234
Cf-Visitor {"scheme":"https"}
User-Agent Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Mobile Safari/537.36
Cf-Ipcountry DE
Sec-Ch-Ua-Arch ""
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site none
Sec-Fetch-User ?1
Accept-Encoding gzip, br
Accept-Language de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
Sec-Ch-Ua-Model "SM-A556B"
X-Forwarded-For 2a02:3033:6ca:8e74:ec6d:dbce:966c:5ac4, 172.68.110.234
Cf-Connecting-Ip 2a02:3033:6ca:8e74:ec6d:dbce:966c:5ac4
Sec-Ch-Ua-Mobile ?1
X-Forwarded-Host demo.solectrus.de
X-Forwarded-Port 443
X-Requested-With com.duckduckgo.mobile.android
Sec-Ch-Ua-Bitness ""
X-Forwarded-Proto https
Sec-Ch-Ua-Platform "Android"
X-Forwarded-Server app.traefik.completho.de
Sec-Ch-Ua-Full-Version "146.0.7680.177"
Upgrade-Insecure-Requests 1
Sec-Ch-Ua-Platform-Version "15.0.0"
Sec-Ch-Ua-Full-Version-List "Chromium";v="146.0.7680.177", "Not-A.Brand";v="24.0.0.0", "DuckDuckGo";v="146.0.7680.177"

Context

controller
#<Balance::HomeController:0x00007c7cd06d12c0>

Environment

os Linux 6.8.0-106-generic
cwd /app
pid 1
host app.demo.solectrus.de
ruby ruby 4.0.2 (2026-03-17 revision d3da9fec82) +YJIT +PRISM [x86_64-linux-musl]
rails 8.1.3
revision v1.1.1-128-gb3dee4b

Server

Load CPU RAM Swap Disk
app.demo.solectrus.de Load avg 24% CPU 29% RAM 82% Swap 74% Disk 14%

Deployments 1

v1.1.1-128-gb3dee4b 14 Apr 01:41