Files
michaelschiemer/resources/views/errors/error.view.php
Michael Schiemer 36ef2a1e2c
Some checks failed
🚀 Build & Deploy Image / Determine Build Necessity (push) Failing after 10m14s
🚀 Build & Deploy Image / Build Runtime Base Image (push) Has been skipped
🚀 Build & Deploy Image / Build Docker Image (push) Has been skipped
🚀 Build & Deploy Image / Run Tests & Quality Checks (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Staging (push) Has been skipped
🚀 Build & Deploy Image / Auto-deploy to Production (push) Has been skipped
Security Vulnerability Scan / Check for Dependency Changes (push) Failing after 11m25s
Security Vulnerability Scan / Composer Security Audit (push) Has been cancelled
fix: Gitea Traefik routing and connection pool optimization
- Remove middleware reference from Gitea Traefik labels (caused routing issues)
- Optimize Gitea connection pool settings (MAX_IDLE_CONNS=30, authentication_timeout=180s)
- Add explicit service reference in Traefik labels
- Fix intermittent 504 timeouts by improving PostgreSQL connection handling

Fixes Gitea unreachability via git.michaelschiemer.de
2025-11-09 14:46:15 +01:00

93 lines
2.9 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ $title }}</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
color: #333;
max-width: 800px;
margin: 0 auto;
padding: 2rem;
background: #f5f5f5;
}
.error-container {
background: white;
border-radius: 8px;
padding: 2rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h1 {
color: #d32f2f;
margin-top: 0;
}
.error-message {
background: #fff3cd;
border-left: 4px solid #ffc107;
padding: 1rem;
margin: 1rem 0;
}
</style>
<style if="$isDebugMode">
.debug-info {
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 4px;
padding: 1rem;
margin-top: 2rem;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
}
.debug-info pre {
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
}
.context-item {
margin: 0.5rem 0;
}
.context-label {
font-weight: bold;
color: #666;
}
</style>
</head>
<body>
<div class="error-container">
<h1>{{ $title }}</h1>
<div class="error-message">
<p>{{ $message }}</p>
</div>
<div class="debug-info" if="$isDebugMode">
<h3>Debug Information</h3>
<div class="context-item">
<span class="context-label">Exception:</span> {{ $exceptionClass }}
</div>
<div class="context-item" if="$debug">
<span class="context-label">File:</span> {{ $debug['file'] }}:{{ $debug['line'] }}
</div>
<div class="context-item" if="$context">
<span class="context-label">Operation:</span> {{ $context['operation'] }}
</div>
<div class="context-item" if="$context">
<span class="context-label">Component:</span> {{ $context['component'] }}
</div>
<div class="context-item" if="$context">
<span class="context-label">Request ID:</span> {{ $context['request_id'] }}
</div>
<div class="context-item" if="$context">
<span class="context-label">Occurred At:</span> {{ $context['occurred_at'] }}
</div>
<div if="$debug['trace']">
<h4>Stack Trace:</h4>
<pre>{{ $debug['trace'] }}</pre>
</div>
</div>
</div>
</body>
</html>