Actions
Bug #95
closed[GlitchTip] PDOException: SQLSTATE[HY000] [2002] Connection refused
Start date:
10/30/2026
Due date:
% Done:
0%
Estimated time:
GlitchTip ID:
396
Description
GlitchTip error event
Source: https://gt.base.the-corona.net
Instance: https://gt.base.the-corona.net
Organization: xfh-engineering
Issue ID: 396
Event ID: 01a18d3f531d719a94f2cb535860fc46
Event URL: https://gt.base.the-corona.net/ultimanager-production/issues/396
Raw event JSON:
{
"platform": "php",
"errors": null,
"id": "01a18d3f531d719a94f2cb535860fc46",
"eventID": "e16de2e795f9489a9a821abad771243c",
"projectID": 5,
"groupID": "396",
"dateCreated": "2026-10-30T14:38:19.831Z",
"dateReceived": "2026-10-30T14:38:19.933Z",
"dist": null,
"culprit": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php in PDO::__construct",
"packages": {
"psr/log": "3.0.2",
"psr/clock": "1.0.0",
"psy/psysh": "v0.12.24",
"brick/math": "0.14.8",
"league/uri": "7.8.1",
"laravel/mcp": "v0.5.9",
"nette/utils": "v4.1.5",
"nyholm/psr7": "1.8.2",
"ramsey/uuid": "4.9.4",
"symfony/uid": "v7.4.20",
"dasprid/enum": "1.0.7",
"nette/schema": "v1.3.6",
"symfony/mime": "v7.4.19",
"dompdf/dompdf": "v3.1.6",
"league/config": "v1.2.0",
"livewire/flux": "v2.20.1",
"nesbot/carbon": "3.14.2",
"psr/container": "2.0.2",
"sentry/sentry": "4.34.0",
"symfony/clock": "v7.4.8",
"doctrine/lexer": "3.0.3",
"laravel/tinker": "v2.11.1",
"symfony/finder": "v7.4.20",
"symfony/mailer": "v7.4.19",
"symfony/string": "v7.4.19",
"guzzlehttp/psr7": "2.13.1",
"laravel/fortify": "v1.41.0",
"laravel/prompts": "v0.3.25",
"monolog/monolog": "3.12.1",
"psr/http-client": "1.0.3",
"symfony/console": "v7.4.20",
"symfony/process": "v7.4.19",
"symfony/routing": "v7.4.20",
"laravel/passkeys": "v0.2.1",
"league/flysystem": "3.36.0",
"nikic/php-parser": "v5.9.0",
"php-http/httplug": "2.4.1",
"php-http/promise": "1.3.1",
"psr/http-factory": "1.1.0",
"psr/http-message": "2.0",
"psr/simple-cache": "3.0.0",
"vlucas/phpdotenv": "v5.7.0",
"webmozart/assert": "2.5.0",
"guzzlehttp/guzzle": "7.15.5",
"laravel/framework": "v12.69.3",
"league/commonmark": "2.10.3",
"livewire/livewire": "v4.4.7",
"masterminds/html5": "2.11.0",
"ramsey/collection": "2.1.1",
"symfony/type-info": "v7.4.20",
"web-auth/cose-lib": "4.8.2",
"doctrine/inflector": "2.1.0",
"dompdf/php-svg-lib": "1.0.2",
"fruitcake/php-cors": "v1.4.0",
"php-http/discovery": "1.20.0",
"pragmarx/google2fa": "v9.1.0",
"symfony/serializer": "v7.4.20",
"symfony/var-dumper": "v7.4.18",
"bacon/bacon-qr-code": "v3.1.1",
"dompdf/php-font-lib": "1.0.2",
"guzzlehttp/promises": "2.5.3",
"minishlink/web-push": "v11.0.0",
"nunomaduro/termwind": "v2.4.0",
"phpoption/phpoption": "1.10.0",
"symfony/http-kernel": "v7.4.20",
"symfony/translation": "v7.4.17",
"voku/portable-ascii": "2.1.1",
"psr/event-dispatcher": "1.0.0",
"spomky-labs/cbor-php": "3.4.2",
"symfony/css-selector": "v7.4.18",
"doctrine/deprecations": "1.1.6",
"league/uri-interfaces": "7.8.1",
"phpstan/phpdoc-parser": "2.3.6",
"sentry/sentry-laravel": "4.29.0",
"spomky-labs/base64url": "v2.0.4",
"symfony/error-handler": "v7.4.20",
"symfony/polyfill-uuid": "v1.43.0",
"symfony/property-info": "v7.4.20",
"web-auth/webauthn-lib": "5.3.9",
"web-token/jwt-library": "4.2.3",
"league/flysystem-local": "3.35.3",
"symfony/polyfill-ctype": "v1.37.0",
"symfony/polyfill-php80": "v1.43.0",
"symfony/polyfill-php81": "v1.38.1",
"symfony/polyfill-php83": "v1.43.0",
"symfony/polyfill-php84": "v1.43.0",
"symfony/polyfill-php85": "v1.43.0",
"barryvdh/laravel-dompdf": "v3.1.2",
"dflydev/dot-access-data": "v3.0.3",
"egulias/email-validator": "4.0.4",
"guzzlehttp/uri-template": "v1.0.11",
"ralouphie/getallheaders": "3.0.3",
"symfony/http-foundation": "v7.4.20",
"symfony/property-access": "v7.4.16",
"symfony/event-dispatcher": "v7.4.17",
"symfony/options-resolver": "v7.4.8",
"sabberworm/php-css-parser": "v9.5.0",
"spomky-labs/pki-framework": "1.6.3",
"symfony/polyfill-intl-idn": "v1.43.0",
"symfony/polyfill-mbstring": "v1.43.0",
"symfony/service-contracts": "v3.7.3",
"league/mime-type-detection": "1.17.0",
"graham-campbell/result-type": "v1.2.0",
"phpdocumentor/type-resolver": "2.1.0",
"laravel/livewire-starter-kit": "1.0.0+no-version-set",
"laravel/serializable-closure": "v2.1.0",
"dragonmantank/cron-expression": "v3.6.0",
"symfony/deprecation-contracts": "v3.7.1",
"symfony/translation-contracts": "v3.7.1",
"jean85/pretty-package-versions": "2.1.1",
"symfony/polyfill-intl-grapheme": "v1.43.0",
"carbonphp/carbon-doctrine-types": "3.2.1",
"phpdocumentor/reflection-common": "2.2.1",
"symfony/psr-http-message-bridge": "v7.4.8",
"paragonie/constant_time_encoding": "v3.1.3",
"symfony/polyfill-intl-normalizer": "v1.43.0",
"phpdocumentor/reflection-docblock": "6.0.3",
"tijsverkoyen/css-to-inline-styles": "v2.4.0",
"symfony/event-dispatcher-contracts": "v3.7.1",
"laravel-notification-channels/webpush": "13.0.1"
},
"type": "error",
"message": "PDOException: SQLSTATE[HY000] [2002] Connection refused",
"metadata": {
"type": "PDOException",
"value": "SQLSTATE[HY000] [2002] Connection refused",
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"function": "PDO::__construct"
},
"tags": [
{
"key": "command",
"value": "queue:work"
},
{
"key": "os.name",
"value": "Linux"
},
{
"key": "release",
"value": "scm.base.the-corona.net/mbecker/ultimanager:master-latest"
},
{
"key": "environment",
"value": "production"
},
{
"key": "server_name",
"value": "1b363bb1a139"
}
],
"entries": [
{
"type": "exception",
"data": {
"values": [
{
"type": "PDOException",
"value": "SQLSTATE[HY000] [2002] Connection refused",
"mechanism": {
"type": "generic",
"handled": false
},
"stacktrace": {
"frames": [
{
"filename": "/artisan",
"context_line": "$status = $app->handleCommand(new ArgvInput);",
"inApp": false,
"absPath": "/var/www/html/artisan",
"lineNo": 16,
"context": [
[
11,
""
],
[
12,
"// Bootstrap Laravel and handle the command..."
],
[
13,
"/** @var Application $app */"
],
[
14,
"$app = require_once __DIR__.'/bootstrap/app.php';"
],
[
15,
""
],
[
16,
"$status = $app->handleCommand(new ArgvInput);"
],
[
17,
""
],
[
18,
"exit($status);"
],
[
19,
""
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
"function": "Illuminate\\Foundation\\Application::handleCommand",
"context_line": " $status = $kernel->handle(",
"raw_function": "Illuminate\\Foundation\\Application::handleCommand",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
"lineNo": 1235,
"context": [
[
1230,
" */"
],
[
1231,
" public function handleCommand(InputInterface $input)"
],
[
1232,
" {"
],
[
1233,
" $kernel = $this->make(ConsoleKernelContract::class);"
],
[
1234,
""
],
[
1235,
" $status = $kernel->handle("
],
[
1236,
" $input,"
],
[
1237,
" new ConsoleOutput"
],
[
1238,
" );"
],
[
1239,
""
],
[
1240,
" $kernel->terminate($input, $status);"
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput",
"output": "Object Symfony\\Component\\Console\\Output\\ConsoleOutput"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
"function": "Illuminate\\Foundation\\Console\\Kernel::handle",
"context_line": " return $this->getArtisan()->run($input, $output);",
"raw_function": "Illuminate\\Foundation\\Console\\Kernel::handle",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
"lineNo": 198,
"context": [
[
193,
" $this->bootstrapWithoutBootingProviders();"
],
[
194,
" }"
],
[
195,
""
],
[
196,
" $this->bootstrap();"
],
[
197,
""
],
[
198,
" return $this->getArtisan()->run($input, $output);"
],
[
199,
" } catch (Throwable $e) {"
],
[
200,
" $this->reportException($e);"
],
[
201,
""
],
[
202,
" $this->renderException($output, $e);"
],
[
203,
""
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput",
"output": "Object Symfony\\Component\\Console\\Output\\ConsoleOutput"
},
"filename": "/vendor/symfony/console/Application.php",
"function": "Symfony\\Component\\Console\\Application::run",
"context_line": " $exitCode = $this->doRun($input, $output);",
"raw_function": "Symfony\\Component\\Console\\Application::run",
"inApp": false,
"absPath": "/var/www/html/vendor/symfony/console/Application.php",
"lineNo": 195,
"context": [
[
190,
" $prevShellVerbosity = [$_ENV['SHELL_VERBOSITY'] ?? $empty, $_SERVER['SHELL_VERBOSITY'] ?? $empty, getenv('SHELL_VERBOSITY')];"
],
[
191,
""
],
[
192,
" try {"
],
[
193,
" $this->configureIO($input, $output);"
],
[
194,
""
],
[
195,
" $exitCode = $this->doRun($input, $output);"
],
[
196,
" } catch (\\Throwable $e) {"
],
[
197,
" if ($e instanceof \\Exception && !$this->catchExceptions) {"
],
[
198,
" throw $e;"
],
[
199,
" }"
],
[
200,
" if (!$e instanceof \\Exception && !$this->catchErrors) {"
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput",
"output": "Object Symfony\\Component\\Console\\Output\\ConsoleOutput"
},
"filename": "/vendor/symfony/console/Application.php",
"function": "Symfony\\Component\\Console\\Application::doRun",
"context_line": " $exitCode = $this->doRunCommand($command, $input, $output);",
"raw_function": "Symfony\\Component\\Console\\Application::doRun",
"inApp": false,
"absPath": "/var/www/html/vendor/symfony/console/Application.php",
"lineNo": 356,
"context": [
[
351,
" if ($command instanceof LazyCommand) {"
],
[
352,
" $command = $command->getCommand();"
],
[
353,
" }"
],
[
354,
""
],
[
355,
" $this->runningCommand = $command;"
],
[
356,
" $exitCode = $this->doRunCommand($command, $input, $output);"
],
[
357,
" $this->runningCommand = null;"
],
[
358,
""
],
[
359,
" return $exitCode;"
],
[
360,
" }"
],
[
361,
""
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput",
"output": "Object Symfony\\Component\\Console\\Output\\ConsoleOutput",
"command": "Object Illuminate\\Queue\\Console\\WorkCommand"
},
"filename": "/vendor/symfony/console/Application.php",
"function": "Symfony\\Component\\Console\\Application::doRunCommand",
"context_line": " $exitCode = $command->run($input, $output);",
"raw_function": "Symfony\\Component\\Console\\Application::doRunCommand",
"inApp": false,
"absPath": "/var/www/html/vendor/symfony/console/Application.php",
"lineNo": 1117,
"context": [
[
1112,
""
],
[
1113,
" try {"
],
[
1114,
" $this->dispatcher->dispatch($event, ConsoleEvents::COMMAND);"
],
[
1115,
""
],
[
1116,
" if ($event->commandShouldRun()) {"
],
[
1117,
" $exitCode = $command->run($input, $output);"
],
[
1118,
" } else {"
],
[
1119,
" $exitCode = ConsoleCommandEvent::RETURN_CODE_DISABLED;"
],
[
1120,
" }"
],
[
1121,
" } catch (\\Throwable $e) {"
],
[
1122,
" $event = new ConsoleErrorEvent($input, $output, $e, $command);"
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput",
"output": "Object Symfony\\Component\\Console\\Output\\ConsoleOutput"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"function": "Illuminate\\Console\\Command::run",
"context_line": " return parent::run(",
"raw_function": "Illuminate\\Console\\Command::run",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"lineNo": 180,
"context": [
[
175,
" $this->components = $this->laravel->make(Factory::class, ['output' => $this->output]);"
],
[
176,
""
],
[
177,
" $this->configurePrompts($input);"
],
[
178,
""
],
[
179,
" try {"
],
[
180,
" return parent::run("
],
[
181,
" $this->input = $input, $this->output"
],
[
182,
" );"
],
[
183,
" } finally {"
],
[
184,
" $this->untrap();"
],
[
185,
" }"
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput",
"output": "Object Illuminate\\Console\\OutputStyle"
},
"filename": "/vendor/symfony/console/Command/Command.php",
"function": "Symfony\\Component\\Console\\Command\\Command::run",
"context_line": " return $this->execute($input, $output);",
"raw_function": "Symfony\\Component\\Console\\Command\\Command::run",
"inApp": false,
"absPath": "/var/www/html/vendor/symfony/console/Command/Command.php",
"lineNo": 341,
"context": [
[
336,
""
],
[
337,
" if ($this->code) {"
],
[
338,
" return ($this->code)($input, $output);"
],
[
339,
" }"
],
[
340,
""
],
[
341,
" return $this->execute($input, $output);"
],
[
342,
" }"
],
[
343,
""
],
[
344,
" /**"
],
[
345,
" * Supplies suggestions when resolving possible completion options for input (e.g. option or argument)."
],
[
346,
" */"
]
]
},
{
"vars": {
"input": "Object Symfony\\Component\\Console\\Input\\ArgvInput",
"output": "Object Illuminate\\Console\\OutputStyle"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"function": "Illuminate\\Console\\Command::execute",
"context_line": " return (int) $this->laravel->call([$this, $method]);",
"raw_function": "Illuminate\\Console\\Command::execute",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
"lineNo": 211,
"context": [
[
206,
" }"
],
[
207,
""
],
[
208,
" $method = method_exists($this, 'handle') ? 'handle' : '__invoke';"
],
[
209,
""
],
[
210,
" try {"
],
[
211,
" return (int) $this->laravel->call([$this, $method]);"
],
[
212,
" } catch (ManuallyFailedException $e) {"
],
[
213,
" $this->components->error($e->getMessage());"
],
[
214,
""
],
[
215,
" return static::FAILURE;"
],
[
216,
" } finally {"
]
]
},
{
"vars": {
"callback": "Callable Illuminate\\Queue\\Console\\WorkCommand::handle []"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Container/Container.php",
"function": "Illuminate\\Container\\Container::call",
"context_line": " $result = BoundMethod::call($this, $callback, $parameters, $defaultMethod);",
"raw_function": "Illuminate\\Container\\Container::call",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php",
"lineNo": 799,
"context": [
[
794,
" $this->buildStack[] = $className;"
],
[
795,
""
],
[
796,
" $pushedToBuildStack = true;"
],
[
797,
" }"
],
[
798,
""
],
[
799,
" $result = BoundMethod::call($this, $callback, $parameters, $defaultMethod);"
],
[
800,
""
],
[
801,
" if ($pushedToBuildStack) {"
],
[
802,
" array_pop($this->buildStack);"
],
[
803,
" }"
],
[
804,
""
]
]
},
{
"vars": {
"callback": "Callable Illuminate\\Queue\\Console\\WorkCommand::handle []",
"container": "Object Illuminate\\Foundation\\Application",
"parameters": [],
"defaultMethod": "null"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"function": "Illuminate\\Container\\BoundMethod::call",
"context_line": " return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {",
"raw_function": "Illuminate\\Container\\BoundMethod::call",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"lineNo": 35,
"context": [
[
30,
""
],
[
31,
" if (static::isCallableWithAtSign($callback) || $defaultMethod) {"
],
[
32,
" return static::callClass($container, $callback, $parameters, $defaultMethod);"
],
[
33,
" }"
],
[
34,
""
],
[
35,
" return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {"
],
[
36,
" return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));"
],
[
37,
" });"
],
[
38,
" }"
],
[
39,
""
],
[
40,
" /**"
]
]
},
{
"vars": {
"default": "Lambda Illuminate\\Container\\{closure} []",
"callback": "Callable Illuminate\\Queue\\Console\\WorkCommand::handle []",
"container": "Object Illuminate\\Foundation\\Application"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"function": "Illuminate\\Container\\BoundMethod::callBoundMethod",
"context_line": " return Util::unwrapIfClosure($default);",
"raw_function": "Illuminate\\Container\\BoundMethod::callBoundMethod",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"lineNo": 96,
"context": [
[
91,
""
],
[
92,
" if ($container->hasMethodBinding($method)) {"
],
[
93,
" return $container->callMethodBinding($method, $callback[0]);"
],
[
94,
" }"
],
[
95,
""
],
[
96,
" return Util::unwrapIfClosure($default);"
],
[
97,
" }"
],
[
98,
""
],
[
99,
" /**"
],
[
100,
" * Normalize the given callback into a Class@method string."
],
[
101,
" *"
]
]
},
{
"vars": {
"args": [],
"value": "Lambda Illuminate\\Container\\{closure} []"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Container/Util.php",
"function": "Illuminate\\Container\\Util::unwrapIfClosure",
"context_line": " return $value instanceof Closure ? $value(...$args) : $value;",
"raw_function": "Illuminate\\Container\\Util::unwrapIfClosure",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php",
"lineNo": 43,
"context": [
[
38,
" * @param mixed ...$args"
],
[
39,
" * @return mixed"
],
[
40,
" */"
],
[
41,
" public static function unwrapIfClosure($value, ...$args)"
],
[
42,
" {"
],
[
43,
" return $value instanceof Closure ? $value(...$args) : $value;"
],
[
44,
" }"
],
[
45,
""
],
[
46,
" /**"
],
[
47,
" * Get the class name of the given parameter's type, if possible."
],
[
48,
" *"
]
]
},
{
"filename": "/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"function": "Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}",
"context_line": " return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));",
"raw_function": "Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
"lineNo": 36,
"context": [
[
31,
" if (static::isCallableWithAtSign($callback) || $defaultMethod) {"
],
[
32,
" return static::callClass($container, $callback, $parameters, $defaultMethod);"
],
[
33,
" }"
],
[
34,
""
],
[
35,
" return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {"
],
[
36,
" return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));"
],
[
37,
" });"
],
[
38,
" }"
],
[
39,
""
],
[
40,
" /**"
],
[
41,
" * Call a string reference to a class using Class@method syntax."
]
]
},
{
"filename": "/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php",
"function": "Illuminate\\Queue\\Console\\WorkCommand::handle",
"context_line": " return $this->runWorker(",
"raw_function": "Illuminate\\Queue\\Console\\WorkCommand::handle",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php",
"lineNo": 132,
"context": [
[
127,
" $this->components->info("
],
[
128,
" sprintf('Processing jobs from the [%s] %s.', $queue, (new Stringable('queue'))->plural(explode(',', $queue)))"
],
[
129,
" );"
],
[
130,
" }"
],
[
131,
""
],
[
132,
" return $this->runWorker("
],
[
133,
" $connection, $queue"
],
[
134,
" );"
],
[
135,
" }"
],
[
136,
""
],
[
137,
" /**"
]
]
},
{
"vars": {
"queue": "default",
"connection": "database"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php",
"function": "Illuminate\\Queue\\Console\\WorkCommand::runWorker",
"context_line": " ->{$this->option('once') ? 'runNextJob' : 'daemon'}(",
"raw_function": "Illuminate\\Queue\\Console\\WorkCommand::runWorker",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php",
"lineNo": 149,
"context": [
[
144,
" protected function runWorker($connection, $queue)"
],
[
145,
" {"
],
[
146,
" return $this->worker"
],
[
147,
" ->setName($this->option('name'))"
],
[
148,
" ->setCache($this->cache)"
],
[
149,
" ->{$this->option('once') ? 'runNextJob' : 'daemon'}("
],
[
150,
" $connection, $queue, $this->gatherWorkerOptions()"
],
[
151,
" );"
],
[
152,
" }"
],
[
153,
""
],
[
154,
" /**"
]
]
},
{
"vars": {
"queue": "default",
"options": "Object Illuminate\\Queue\\WorkerOptions",
"connectionName": "database"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Queue/Worker.php",
"function": "Illuminate\\Queue\\Worker::daemon",
"context_line": " $job = $this->getNextJob(",
"raw_function": "Illuminate\\Queue\\Worker::daemon",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Worker.php",
"lineNo": 212,
"context": [
[
207,
" }"
],
[
208,
""
],
[
209,
" // First, we will attempt to get the next job off of the queue. We will also"
],
[
210,
" // register the timeout handler and reset the alarm for this job so it is"
],
[
211,
" // not stuck in a frozen state forever. Then, we can fire off this job."
],
[
212,
" $job = $this->getNextJob("
],
[
213,
" $this->manager->connection($connectionName), $queue"
],
[
214,
" );"
],
[
215,
""
],
[
216,
" if ($supportsAsyncSignals) {"
],
[
217,
" $this->registerTimeoutHandler($job, $options);"
]
]
},
{
"vars": {
"queue": "default",
"connection": "Object Illuminate\\Queue\\DatabaseQueue"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Queue/Worker.php",
"function": "Illuminate\\Queue\\Worker::getNextJob",
"context_line": " if (! is_null($job = $popJobCallback($queue, $index))) {",
"raw_function": "Illuminate\\Queue\\Worker::getNextJob",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Worker.php",
"lineNo": 426,
"context": [
[
421,
" foreach (explode(',', $queue) as $index => $queue) {"
],
[
422,
" if ($this->queuePaused($connection->getConnectionName(), $queue)) {"
],
[
423,
" continue;"
],
[
424,
" }"
],
[
425,
""
],
[
426,
" if (! is_null($job = $popJobCallback($queue, $index))) {"
],
[
427,
" $this->raiseAfterJobPopEvent($connection->getConnectionName(), $job);"
],
[
428,
""
],
[
429,
" return $job;"
],
[
430,
" }"
],
[
431,
" }"
]
]
},
{
"vars": {
"param0": "default",
"param1": "0"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Queue/Worker.php",
"function": "Illuminate\\Queue\\Worker::Illuminate\\Queue\\{closure}",
"context_line": " return $connection->pop($queue, $index);",
"raw_function": "Illuminate\\Queue\\Worker::Illuminate\\Queue\\{closure}",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Queue/Worker.php",
"lineNo": 407,
"context": [
[
402,
" * @return \\Illuminate\\Contracts\\Queue\\Job|null"
],
[
403,
" */"
],
[
404,
" protected function getNextJob($connection, $queue)"
],
[
405,
" {"
],
[
406,
" $popJobCallback = function ($queue, $index = 0) use ($connection) {"
],
[
407,
" return $connection->pop($queue, $index);"
],
[
408,
" };"
],
[
409,
""
],
[
410,
" $this->raiseBeforeJobPopEvent($connection->getConnectionName(), $queue);"
],
[
411,
""
],
[
412,
" try {"
]
]
},
{
"vars": {
"queue": "default"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Queue/DatabaseQueue.php",
"function": "Illuminate\\Queue\\DatabaseQueue::pop",
"context_line": " return $this->database->transaction(function () use ($queue, &$jobRecord) {",
"raw_function": "Illuminate\\Queue\\DatabaseQueue::pop",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Queue/DatabaseQueue.php",
"lineNo": 292,
"context": [
[
287,
" $queue = $this->getQueue($queue);"
],
[
288,
""
],
[
289,
" $jobRecord = null;"
],
[
290,
""
],
[
291,
" try {"
],
[
292,
" return $this->database->transaction(function () use ($queue, &$jobRecord) {"
],
[
293,
" if ($jobRecord = $this->getNextAvailableJob($queue)) {"
],
[
294,
" return $this->marshalJob($queue, $jobRecord);"
],
[
295,
" }"
],
[
296,
" });"
],
[
297,
" } catch (Throwable $e) {"
]
]
},
{
"vars": {
"callback": "Lambda Illuminate\\Queue\\{closure} []"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"function": "Illuminate\\Database\\Connection::transaction",
"context_line": " $this->beginTransaction();",
"raw_function": "Illuminate\\Database\\Connection::transaction",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"lineNo": 29,
"context": [
[
24,
" * @throws \\Throwable"
],
[
25,
" */"
],
[
26,
" public function transaction(Closure $callback, $attempts = 1)"
],
[
27,
" {"
],
[
28,
" for ($currentAttempt = 1; $currentAttempt <= $attempts; $currentAttempt++) {"
],
[
29,
" $this->beginTransaction();"
],
[
30,
""
],
[
31,
" // We'll simply execute the given callback within a try / catch block and if we"
],
[
32,
" // catch any exception we can rollback this transaction so that none of this"
],
[
33,
" // gets actually persisted to a database or stored in a permanent fashion."
],
[
34,
" try {"
]
]
},
{
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"function": "Illuminate\\Database\\Connection::beginTransaction",
"context_line": " $this->createTransaction();",
"raw_function": "Illuminate\\Database\\Connection::beginTransaction",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"lineNo": 130,
"context": [
[
125,
" {"
],
[
126,
" foreach ($this->beforeStartingTransaction as $callback) {"
],
[
127,
" $callback($this);"
],
[
128,
" }"
],
[
129,
""
],
[
130,
" $this->createTransaction();"
],
[
131,
""
],
[
132,
" $this->transactions++;"
],
[
133,
""
],
[
134,
" $this->transactionsManager?->begin("
],
[
135,
" $this->getName(), $this->transactions"
]
]
},
{
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"function": "Illuminate\\Database\\Connection::createTransaction",
"context_line": " $this->handleBeginTransactionException($e);",
"raw_function": "Illuminate\\Database\\Connection::createTransaction",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"lineNo": 156,
"context": [
[
151,
" $this->reconnectIfMissingConnection();"
],
[
152,
""
],
[
153,
" try {"
],
[
154,
" $this->executeBeginTransactionStatement();"
],
[
155,
" } catch (Throwable $e) {"
],
[
156,
" $this->handleBeginTransactionException($e);"
],
[
157,
" }"
],
[
158,
" } elseif ($this->transactions >= 1 && $this->queryGrammar->supportsSavepoints()) {"
],
[
159,
" $this->createSavepoint();"
],
[
160,
" }"
],
[
161,
" }"
]
]
},
{
"vars": {
"e": "Object PDOException"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"function": "Illuminate\\Database\\Connection::handleBeginTransactionException",
"context_line": " $this->executeBeginTransactionStatement();",
"raw_function": "Illuminate\\Database\\Connection::handleBeginTransactionException",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php",
"lineNo": 190,
"context": [
[
185,
" protected function handleBeginTransactionException(Throwable $e)"
],
[
186,
" {"
],
[
187,
" if ($this->causedByLostConnection($e)) {"
],
[
188,
" $this->reconnect();"
],
[
189,
""
],
[
190,
" $this->executeBeginTransactionStatement();"
],
[
191,
" } else {"
],
[
192,
" throw $e;"
],
[
193,
" }"
],
[
194,
" }"
],
[
195,
""
]
]
},
{
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
"function": "Illuminate\\Database\\Connection::executeBeginTransactionStatement",
"context_line": " $this->getPdo()->beginTransaction();",
"raw_function": "Illuminate\\Database\\Connection::executeBeginTransactionStatement",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
"lineNo": 1545,
"context": [
[
1540,
" *"
],
[
1541,
" * @return void"
],
[
1542,
" */"
],
[
1543,
" protected function executeBeginTransactionStatement()"
],
[
1544,
" {"
],
[
1545,
" $this->getPdo()->beginTransaction();"
],
[
1546,
" }"
],
[
1547,
""
],
[
1548,
" /**"
],
[
1549,
" * Set the transaction manager instance on the connection."
],
[
1550,
" *"
]
]
},
{
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
"function": "Illuminate\\Database\\Connection::getPdo",
"context_line": " return $this->pdo = call_user_func($this->pdo);",
"raw_function": "Illuminate\\Database\\Connection::getPdo",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
"lineNo": 1257,
"context": [
[
1252,
" public function getPdo()"
],
[
1253,
" {"
],
[
1254,
" $this->latestPdoTypeRetrieved = 'write';"
],
[
1255,
""
],
[
1256,
" if ($this->pdo instanceof Closure) {"
],
[
1257,
" return $this->pdo = call_user_func($this->pdo);"
],
[
1258,
" }"
],
[
1259,
""
],
[
1260,
" return $this->pdo;"
],
[
1261,
" }"
],
[
1262,
""
]
]
},
{
"vars": {
"args": [],
"callback": "Lambda Illuminate\\Database\\Connectors\\{closure} []"
},
"filename": "[internal]",
"function": "call_user_func",
"inApp": false,
"absPath": "[internal]",
"lineNo": 0,
"context": []
},
{
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php",
"function": "Illuminate\\Database\\Connectors\\ConnectionFactory::Illuminate\\Database\\Connectors\\{closure}",
"context_line": " return $this->createConnector($config)->connect($config);",
"raw_function": "Illuminate\\Database\\Connectors\\ConnectionFactory::Illuminate\\Database\\Connectors\\{closure}",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php",
"lineNo": 186,
"context": [
[
181,
" return function () use ($config) {"
],
[
182,
" foreach (Arr::shuffle($this->parseHosts($config)) as $host) {"
],
[
183,
" $config['host'] = $host;"
],
[
184,
""
],
[
185,
" try {"
],
[
186,
" return $this->createConnector($config)->connect($config);"
],
[
187,
" } catch (PDOException $e) {"
],
[
188,
" continue;"
],
[
189,
" }"
],
[
190,
" }"
],
[
191,
""
]
]
},
{
"vars": {
"config": {
"host": "ultimanager_mariadb",
"name": "mysql",
"port": "3306",
"driver": "mysql",
"engine": "null",
"prefix": "",
"strict": "true",
"charset": "utf8mb4",
"options": [],
"database": "ultimanager",
"password": "l2aI4CBCTfc6yZVIR00kRJ-l",
"username": "ultimanager",
"collation": "utf8mb4_unicode_ci",
"unix_socket": "",
"prefix_indexes": "true"
}
},
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php",
"function": "Illuminate\\Database\\Connectors\\MySqlConnector::connect",
"context_line": " $connection = $this->createConnection($dsn, $config, $options);",
"raw_function": "Illuminate\\Database\\Connectors\\MySqlConnector::connect",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php",
"lineNo": 24,
"context": [
[
19,
" $options = $this->getOptions($config);"
],
[
20,
""
],
[
21,
" // We need to grab the PDO options that should be used while making the brand"
],
[
22,
" // new connection instance. The PDO options control various aspects of the"
],
[
23,
" // connection's behavior, and some might be specified by the developers."
],
[
24,
" $connection = $this->createConnection($dsn, $config, $options);"
],
[
25,
""
],
[
26,
" if (! empty($config['database']) &&"
],
[
27,
" (! isset($config['use_db_after_connecting']) ||"
],
[
28,
" $config['use_db_after_connecting'])) {"
],
[
29,
" $connection->exec(\"use `{$config['database']}`;\");"
]
]
},
{
"vars": {
"dsn": "mysql:host=ultimanager_mariadb;port=3306;dbname=ultimanager",
"config": {
"host": "ultimanager_mariadb",
"name": "mysql",
"port": "3306",
"driver": "mysql",
"engine": "null",
"prefix": "",
"strict": "true",
"charset": "utf8mb4",
"options": [],
"database": "ultimanager",
"password": "l2aI4CBCTfc6yZVIR00kRJ-l",
"username": "ultimanager",
"collation": "utf8mb4_unicode_ci",
"unix_socket": "",
"prefix_indexes": "true"
},
"options": {
"3": "2",
"8": "0",
"11": "0",
"17": "false",
"20": "false"
}
},
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"function": "Illuminate\\Database\\Connectors\\Connector::createConnection",
"context_line": " return $this->tryAgainIfCausedByLostConnection(",
"raw_function": "Illuminate\\Database\\Connectors\\Connector::createConnection",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"lineNo": 48,
"context": [
[
43,
" try {"
],
[
44,
" return $this->createPdoConnection("
],
[
45,
" $dsn, $username, $password, $options"
],
[
46,
" );"
],
[
47,
" } catch (Exception $e) {"
],
[
48,
" return $this->tryAgainIfCausedByLostConnection("
],
[
49,
" $e, $dsn, $username, $password, $options"
],
[
50,
" );"
],
[
51,
" }"
],
[
52,
" }"
],
[
53,
""
]
]
},
{
"vars": {
"e": "Object PDOException",
"dsn": "mysql:host=ultimanager_mariadb;port=3306;dbname=ultimanager",
"options": {
"3": "2",
"8": "0",
"11": "0",
"17": "false",
"20": "false"
},
"password": "Object SensitiveParameterValue",
"username": "ultimanager"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"function": "Illuminate\\Database\\Connectors\\Connector::tryAgainIfCausedByLostConnection",
"context_line": " return $this->createPdoConnection($dsn, $username, $password, $options);",
"raw_function": "Illuminate\\Database\\Connectors\\Connector::tryAgainIfCausedByLostConnection",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"lineNo": 85,
"context": [
[
80,
" * @throws \\Throwable"
],
[
81,
" */"
],
[
82,
" protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, #[\\SensitiveParameter] $password, $options)"
],
[
83,
" {"
],
[
84,
" if ($this->causedByLostConnection($e)) {"
],
[
85,
" return $this->createPdoConnection($dsn, $username, $password, $options);"
],
[
86,
" }"
],
[
87,
""
],
[
88,
" throw $e;"
],
[
89,
" }"
],
[
90,
""
]
]
},
{
"vars": {
"dsn": "mysql:host=ultimanager_mariadb;port=3306;dbname=ultimanager",
"options": {
"3": "2",
"8": "0",
"11": "0",
"17": "false",
"20": "false"
},
"password": "Object SensitiveParameterValue",
"username": "ultimanager"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"function": "Illuminate\\Database\\Connectors\\Connector::createPdoConnection",
"context_line": " ? new PDO($dsn, $username, $password, $options)",
"raw_function": "Illuminate\\Database\\Connectors\\Connector::createPdoConnection",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"lineNo": 66,
"context": [
[
61,
" * @return \\PDO"
],
[
62,
" */"
],
[
63,
" protected function createPdoConnection($dsn, $username, #[\\SensitiveParameter] $password, $options)"
],
[
64,
" {"
],
[
65,
" return version_compare(PHP_VERSION, '8.4.0', '<')"
],
[
66,
" ? new PDO($dsn, $username, $password, $options)"
],
[
67,
" : PDO::connect($dsn, $username, $password, $options); /** @phpstan-ignore staticMethod.notFound (PHP 8.4) */"
],
[
68,
" }"
],
[
69,
""
],
[
70,
" /**"
],
[
71,
" * Handle an exception that occurred during connect execution."
]
]
},
{
"vars": {
"dsn": "mysql:host=ultimanager_mariadb;port=3306;dbname=ultimanager",
"options": {
"3": "2",
"8": "0",
"11": "0",
"17": "false",
"20": "false"
},
"password": "Object SensitiveParameterValue",
"username": "ultimanager"
},
"filename": "/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"function": "PDO::__construct",
"context_line": " ? new PDO($dsn, $username, $password, $options)",
"raw_function": "PDO::__construct",
"inApp": false,
"absPath": "/var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php",
"lineNo": 66,
"context": [
[
61,
" * @return \\PDO"
],
[
62,
" */"
],
[
63,
" protected function createPdoConnection($dsn, $username, #[\\SensitiveParameter] $password, $options)"
],
[
64,
" {"
],
[
65,
" return version_compare(PHP_VERSION, '8.4.0', '<')"
],
[
66,
" ? new PDO($dsn, $username, $password, $options)"
],
[
67,
" : PDO::connect($dsn, $username, $password, $options); /** @phpstan-ignore staticMethod.notFound (PHP 8.4) */"
],
[
68,
" }"
],
[
69,
""
],
[
70,
" /**"
],
[
71,
" * Handle an exception that occurred during connect execution."
]
]
}
]
}
}
],
"hasSystemFrames": false
}
},
{
"type": "breadcrumbs",
"data": {
"values": [
{
"type": "default",
"category": "artisan.command",
"message": "Starting Artisan command: queue:work",
"data": {
"input": "'queue:work' --sleep=1 --backoff=3 --tries=3 --timeout=90 --max-time=3600"
},
"level": "info",
"timestamp": "2026-10-30T14:38:19.811Z",
"event_id": null
},
{
"type": "default",
"category": "cache",
"message": "Missed: illuminate:queue:restart",
"data": null,
"level": "info",
"timestamp": "2026-10-30T14:38:19.825Z",
"event_id": null
},
{
"type": "default",
"category": "cache",
"message": "Missed: illuminate:queue:paused:database:default",
"data": null,
"level": "info",
"timestamp": "2026-10-30T14:38:19.826Z",
"event_id": null
}
]
}
}
],
"contexts": {
"os": {
"type": "os",
"name": "Linux",
"version": "6.8.0-146-generic",
"build": "#146-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 3 16:12:30 UTC 2026",
"kernel_version": "Linux 1b363bb1a139 6.8.0-146-generic #146-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 3 16:12:30 UTC 2026 x86_64"
},
"trace": {
"type": "trace",
"trace_id": "56e77762579f462ab9475dfa7da65781",
"span_id": "f7146f4af9b64b02"
},
"runtime": {
"type": "runtime",
"name": "php",
"version": "8.2.35"
}
},
"context": null,
"user": {
"ip_address": "78.94.233.0"
},
"sdk": {
"name": "sentry.php.laravel",
"version": "4.29.0",
"packages": [
{
"name": "composer:sentry/sentry",
"version": "4.34.0"
}
]
},
"title": "PDOException: SQLSTATE[HY000] [2002] Connection refused",
"userReport": null,
"nextEventID": null,
"previousEventID": "01a18d3f4b0d705cacfdaba4e6229c69"
}
Sync key: homelab|xfh-engineering|396
Actions