http://api-dev.frivol.com/api/public/user/amateur/random?limit=6&withImageOnly=1

Exceptions

An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

Exceptions 4

Doctrine\DBAL\Exception\ ConnectionException

  1.             case 1370:
  2.             case 1429:
  3.             case 2002:
  4.             case 2005:
  5.             case 2054:
  6.                 return new ConnectionException($exception$query);
  7.             case 2006:
  8.                 return new ConnectionLost($exception$query);
  9.             case 1048:
  1.     private function handleDriverException(
  2.         Driver\Exception $driverException,
  3.         ?Query $query
  4.     ): DriverException {
  5.         $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6.         $exception                  $this->exceptionConverter->convert($driverException$query);
  7.         if ($exception instanceof ConnectionLost) {
  8.             $this->close();
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1886)
  1.     }
  2.     /** @internal */
  3.     final public function convertException(Driver\Exception $e): DriverException
  4.     {
  5.         return $this->handleDriverException($enull);
  6.     }
  7.     /**
  8.      * @param array<int, mixed>|array<string, mixed>                               $params
  9.      * @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in vendor/doctrine/dbal/src/Connection.php -> convertException (line 379)
  1.         }
  2.         try {
  3.             $this->_conn $this->_driver->connect($this->params);
  4.         } catch (Driver\Exception $e) {
  5.             throw $this->convertException($e);
  6.         }
  7.         if ($this->autoCommit === false) {
  8.             $this->beginTransaction();
  9.         }
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.',
  4.         );
  5.         $this->connect();
  6.         return $this->_conn;
  7.     }
  8.     /** @return resource|object */
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1081)
  1.     ): Result {
  2.         if ($qcp !== null) {
  3.             return $this->executeCacheQuery($sql$params$types$qcp);
  4.         }
  5.         $connection $this->getWrappedConnection();
  6.         $logger $this->_config->getSQLLogger();
  7.         if ($logger !== null) {
  8.             $logger->startQuery($sql$params$types);
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> executeQuery (line 901)
  1.      *
  2.      * @throws Exception
  3.      */
  4.     public function fetchAllAssociative(string $query, array $params = [], array $types = []): array
  5.     {
  6.         return $this->executeQuery($query$params$types)->fetchAllAssociative();
  7.     }
  8.     /**
  9.      * Prepares and executes an SQL query and returns the result as an associative array with the keys
  10.      * mapped to the first column and the values mapped to the second column.
Connection->fetchAllAssociative() in src/Service/User/Layer/AmateurLayer.php (line 101)
  1.     public function getSkipInListAmateurIds(): array
  2.     {
  3.         $conn $this->getEntityManager()->getConnection();
  4.         $prop self::PROPERTY_SKIP_IN_LISTS;
  5.         $result $conn->fetchAllAssociative('SELECT member_id FROM MemberProperty WHERE value = 1 and name = "'.$prop.'"');
  6.         $ids = [];
  7.         foreach ($result as $row) {
  8.             $ids[] = (int) $row['member_id'];
  9.         }
AmateurLayer->getSkipInListAmateurIds() in src/Controller/User/PublicAmateurController.php (line 114)
  1.     public function random(Request $request): JsonResponse
  2.     {
  3.         $limit $request->query->getInt('limit'18);
  4.         $withImage $request->query->getBoolean('withImageOnly'false);
  5.         $skipIds $this->service->getSkipInListAmateurIds();
  6.         $paginator $this->service->getRandomAmateurs($limit$withImage$skipIds);
  7.         $options = new StructOptions();
  8.         $options->loadMemberLikes(true);
  9.         $options->loadMemberProfileValues(true);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 56)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.                 $params['user'] ?? '',
  2.                 $params['password'] ?? '',
  3.                 $driverOptions,
  4.             );
  5.         } catch (PDOException $exception) {
  6.             throw Exception::new($exception);
  7.         }
  8.         return new Connection($pdo);
  9.     }
  1.      */
  2.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.         array $params
  2.     ) {
  3.         $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->logger,
  7.         );
  8.     }
  9.     /**
  1.      */
  2.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.     }
  2.     public function connect(array $params): Connection
  3.     {
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->debugDataHolder,
  7.             $this->stopwatch,
  8.             $this->connectionName,
  9.         );
  10.     }
  1.         if ($this->_conn !== null) {
  2.             return false;
  3.         }
  4.         try {
  5.             $this->_conn $this->_driver->connect($this->params);
  6.         } catch (Driver\Exception $e) {
  7.             throw $this->convertException($e);
  8.         }
  9.         if ($this->autoCommit === false) {
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.',
  4.         );
  5.         $this->connect();
  6.         return $this->_conn;
  7.     }
  8.     /** @return resource|object */
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1081)
  1.     ): Result {
  2.         if ($qcp !== null) {
  3.             return $this->executeCacheQuery($sql$params$types$qcp);
  4.         }
  5.         $connection $this->getWrappedConnection();
  6.         $logger $this->_config->getSQLLogger();
  7.         if ($logger !== null) {
  8.             $logger->startQuery($sql$params$types);
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> executeQuery (line 901)
  1.      *
  2.      * @throws Exception
  3.      */
  4.     public function fetchAllAssociative(string $query, array $params = [], array $types = []): array
  5.     {
  6.         return $this->executeQuery($query$params$types)->fetchAllAssociative();
  7.     }
  8.     /**
  9.      * Prepares and executes an SQL query and returns the result as an associative array with the keys
  10.      * mapped to the first column and the values mapped to the second column.
Connection->fetchAllAssociative() in src/Service/User/Layer/AmateurLayer.php (line 101)
  1.     public function getSkipInListAmateurIds(): array
  2.     {
  3.         $conn $this->getEntityManager()->getConnection();
  4.         $prop self::PROPERTY_SKIP_IN_LISTS;
  5.         $result $conn->fetchAllAssociative('SELECT member_id FROM MemberProperty WHERE value = 1 and name = "'.$prop.'"');
  6.         $ids = [];
  7.         foreach ($result as $row) {
  8.             $ids[] = (int) $row['member_id'];
  9.         }
AmateurLayer->getSkipInListAmateurIds() in src/Controller/User/PublicAmateurController.php (line 114)
  1.     public function random(Request $request): JsonResponse
  2.     {
  3.         $limit $request->query->getInt('limit'18);
  4.         $withImage $request->query->getBoolean('withImageOnly'false);
  5.         $skipIds $this->service->getSkipInListAmateurIds();
  6.         $paginator $this->service->getRandomAmateurs($limit$withImage$skipIds);
  7.         $options = new StructOptions();
  8.         $options->loadMemberLikes(true);
  9.         $options->loadMemberProfileValues(true);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 56)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

PDOException

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

  1.         $safeParams $params;
  2.         unset($safeParams['password'], $safeParams['url']);
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($safeParams),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  1.         $safeParams $params;
  2.         unset($safeParams['password'], $safeParams['url']);
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($safeParams),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  1.      */
  2.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.         array $params
  2.     ) {
  3.         $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->logger,
  7.         );
  8.     }
  9.     /**
  1.      */
  2.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.     }
  2.     public function connect(array $params): Connection
  3.     {
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->debugDataHolder,
  7.             $this->stopwatch,
  8.             $this->connectionName,
  9.         );
  10.     }
  1.         if ($this->_conn !== null) {
  2.             return false;
  3.         }
  4.         try {
  5.             $this->_conn $this->_driver->connect($this->params);
  6.         } catch (Driver\Exception $e) {
  7.             throw $this->convertException($e);
  8.         }
  9.         if ($this->autoCommit === false) {
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.',
  4.         );
  5.         $this->connect();
  6.         return $this->_conn;
  7.     }
  8.     /** @return resource|object */
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1081)
  1.     ): Result {
  2.         if ($qcp !== null) {
  3.             return $this->executeCacheQuery($sql$params$types$qcp);
  4.         }
  5.         $connection $this->getWrappedConnection();
  6.         $logger $this->_config->getSQLLogger();
  7.         if ($logger !== null) {
  8.             $logger->startQuery($sql$params$types);
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> executeQuery (line 901)
  1.      *
  2.      * @throws Exception
  3.      */
  4.     public function fetchAllAssociative(string $query, array $params = [], array $types = []): array
  5.     {
  6.         return $this->executeQuery($query$params$types)->fetchAllAssociative();
  7.     }
  8.     /**
  9.      * Prepares and executes an SQL query and returns the result as an associative array with the keys
  10.      * mapped to the first column and the values mapped to the second column.
Connection->fetchAllAssociative() in src/Service/User/Layer/AmateurLayer.php (line 101)
  1.     public function getSkipInListAmateurIds(): array
  2.     {
  3.         $conn $this->getEntityManager()->getConnection();
  4.         $prop self::PROPERTY_SKIP_IN_LISTS;
  5.         $result $conn->fetchAllAssociative('SELECT member_id FROM MemberProperty WHERE value = 1 and name = "'.$prop.'"');
  6.         $ids = [];
  7.         foreach ($result as $row) {
  8.             $ids[] = (int) $row['member_id'];
  9.         }
AmateurLayer->getSkipInListAmateurIds() in src/Controller/User/PublicAmateurController.php (line 114)
  1.     public function random(Request $request): JsonResponse
  2.     {
  3.         $limit $request->query->getInt('limit'18);
  4.         $withImage $request->query->getBoolean('withImageOnly'false);
  5.         $skipIds $this->service->getSkipInListAmateurIds();
  6.         $paginator $this->service->getRandomAmateurs($limit$withImage$skipIds);
  7.         $options = new StructOptions();
  8.         $options->loadMemberLikes(true);
  9.         $options->loadMemberProfileValues(true);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 56)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

PDOException

PDO::__construct(): php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

  1.         $safeParams $params;
  2.         unset($safeParams['password'], $safeParams['url']);
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($safeParams),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  1.         $safeParams $params;
  2.         unset($safeParams['password'], $safeParams['url']);
  3.         try {
  4.             $pdo = new PDO(
  5.                 $this->constructPdoDsn($safeParams),
  6.                 $params['user'] ?? '',
  7.                 $params['password'] ?? '',
  8.                 $driverOptions,
  9.             );
  1.      */
  2.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.         array $params
  2.     ) {
  3.         $this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->logger,
  7.         );
  8.     }
  9.     /**
  1.      */
  2.     public function connect(
  3.         #[SensitiveParameter]
  4.         array $params
  5.     ) {
  6.         return $this->wrappedDriver->connect($params);
  7.     }
  8.     /**
  9.      * {@inheritDoc}
  10.      */
  1.     }
  2.     public function connect(array $params): Connection
  3.     {
  4.         return new Connection(
  5.             parent::connect($params),
  6.             $this->debugDataHolder,
  7.             $this->stopwatch,
  8.             $this->connectionName,
  9.         );
  10.     }
  1.         if ($this->_conn !== null) {
  2.             return false;
  3.         }
  4.         try {
  5.             $this->_conn $this->_driver->connect($this->params);
  6.         } catch (Driver\Exception $e) {
  7.             throw $this->convertException($e);
  8.         }
  9.         if ($this->autoCommit === false) {
  1.             'https://github.com/doctrine/dbal/issues/4966',
  2.             'Connection::getWrappedConnection() is deprecated.'
  3.                 ' Use Connection::getNativeConnection() to access the native connection.',
  4.         );
  5.         $this->connect();
  6.         return $this->_conn;
  7.     }
  8.     /** @return resource|object */
in vendor/doctrine/dbal/src/Connection.php -> getWrappedConnection (line 1081)
  1.     ): Result {
  2.         if ($qcp !== null) {
  3.             return $this->executeCacheQuery($sql$params$types$qcp);
  4.         }
  5.         $connection $this->getWrappedConnection();
  6.         $logger $this->_config->getSQLLogger();
  7.         if ($logger !== null) {
  8.             $logger->startQuery($sql$params$types);
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> executeQuery (line 901)
  1.      *
  2.      * @throws Exception
  3.      */
  4.     public function fetchAllAssociative(string $query, array $params = [], array $types = []): array
  5.     {
  6.         return $this->executeQuery($query$params$types)->fetchAllAssociative();
  7.     }
  8.     /**
  9.      * Prepares and executes an SQL query and returns the result as an associative array with the keys
  10.      * mapped to the first column and the values mapped to the second column.
Connection->fetchAllAssociative() in src/Service/User/Layer/AmateurLayer.php (line 101)
  1.     public function getSkipInListAmateurIds(): array
  2.     {
  3.         $conn $this->getEntityManager()->getConnection();
  4.         $prop self::PROPERTY_SKIP_IN_LISTS;
  5.         $result $conn->fetchAllAssociative('SELECT member_id FROM MemberProperty WHERE value = 1 and name = "'.$prop.'"');
  6.         $ids = [];
  7.         foreach ($result as $row) {
  8.             $ids[] = (int) $row['member_id'];
  9.         }
AmateurLayer->getSkipInListAmateurIds() in src/Controller/User/PublicAmateurController.php (line 114)
  1.     public function random(Request $request): JsonResponse
  2.     {
  3.         $limit $request->query->getInt('limit'18);
  4.         $withImage $request->query->getBoolean('withImageOnly'false);
  5.         $skipIds $this->service->getSkipInListAmateurIds();
  6.         $paginator $this->service->getRandomAmateurs($limit$withImage$skipIds);
  7.         $options = new StructOptions();
  8.         $options->loadMemberLikes(true);
  9.         $options->loadMemberProfileValues(true);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 56)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

Level Channel Message
INFO 02:12:35 deprecation User Deprecated: Since symfony/monolog-bridge 6.4: The "Symfony\Bridge\Monolog\Logger" class is deprecated, use HttpKernel's DebugLoggerConfigurator instead.
{
    "exception": {}
}
INFO 02:12:35 deprecation User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead.
{
    "exception": {}
}
INFO 02:12:35 deprecation User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
{
    "exception": {}
}
INFO 02:12:35 deprecation User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead.
{
    "exception": {}
}

Stack Traces 4

[4/4] ConnectionException
Doctrine\DBAL\Exception\ConnectionException:
An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1938)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1886)
  at Doctrine\DBAL\Connection->convertException()
     (vendor/doctrine/dbal/src/Connection.php:379)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1654)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1081)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/dbal/src/Connection.php:901)
  at Doctrine\DBAL\Connection->fetchAllAssociative()
     (src/Service/User/Layer/AmateurLayer.php:101)
  at App\Service\User\Layer\AmateurLayer->getSkipInListAmateurIds()
     (src/Controller/User/PublicAmateurController.php:114)
  at App\Controller\User\PublicAmateurController->random()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:56)                
[3/4] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:40)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
     (vendor/doctrine/dbal/src/Logging/Driver.php:34)
  at Doctrine\DBAL\Logging\Driver->connect()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect()
     (vendor/doctrine/dbal/src/Connection.php:377)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1654)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1081)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/dbal/src/Connection.php:901)
  at Doctrine\DBAL\Connection->fetchAllAssociative()
     (src/Service/User/Layer/AmateurLayer.php:101)
  at App\Service\User\Layer\AmateurLayer->getSkipInListAmateurIds()
     (src/Controller/User/PublicAmateurController.php:114)
  at App\Controller\User\PublicAmateurController->random()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:56)                
[2/4] PDOException
PDOException:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

  at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33
  at PDO->__construct()
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
     (vendor/doctrine/dbal/src/Logging/Driver.php:34)
  at Doctrine\DBAL\Logging\Driver->connect()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect()
     (vendor/doctrine/dbal/src/Connection.php:377)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1654)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1081)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/dbal/src/Connection.php:901)
  at Doctrine\DBAL\Connection->fetchAllAssociative()
     (src/Service/User/Layer/AmateurLayer.php:101)
  at App\Service\User\Layer\AmateurLayer->getSkipInListAmateurIds()
     (src/Controller/User/PublicAmateurController.php:114)
  at App\Controller\User\PublicAmateurController->random()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:56)                
[1/4] PDOException
PDOException:
PDO::__construct(): php_network_getaddresses: getaddrinfo for mainlb.interquest.nl failed: No address associated with hostname

  at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33
  at PDO->__construct()
     (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)
  at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
     (vendor/doctrine/dbal/src/Logging/Driver.php:34)
  at Doctrine\DBAL\Logging\Driver->connect()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29)
  at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect()
     (vendor/doctrine/dbal/src/Connection.php:377)
  at Doctrine\DBAL\Connection->connect()
     (vendor/doctrine/dbal/src/Connection.php:1654)
  at Doctrine\DBAL\Connection->getWrappedConnection()
     (vendor/doctrine/dbal/src/Connection.php:1081)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/dbal/src/Connection.php:901)
  at Doctrine\DBAL\Connection->fetchAllAssociative()
     (src/Service/User/Layer/AmateurLayer.php:101)
  at App\Service\User\Layer\AmateurLayer->getSkipInListAmateurIds()
     (src/Controller/User/PublicAmateurController.php:114)
  at App\Controller\User\PublicAmateurController->random()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:56)