https://yuanhuaren.com
An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused (500 Internal Server Error)
An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused (500 Internal Server Error) OK An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused 500 Internal Server Error - ConnectionException 2 linked Exceptions: PDOException » PDOException » [3/3] ConnectionException: An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php at line 103 case '1370': case '2002': case '2005': return new Exception\ConnectionException($message, $exception); case '1048': case '1121': at AbstractMySQLDriver ->convertException () in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php at line 145 $msg = "An exception occured in driver: " . $driverEx->getMessage(); if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) { return $driver->convertException($msg, $driverEx); } return new self($msg, 0, $driverEx); at DBALException ::driverException () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php at line 47 $driverOptions ); } catch (PDOException $e) { throw DBALException::driverException($this, $e); } return $conn; at Driver ->connect () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 360 $password = isset($this->_params['password']) ? $this->_params['password'] : null; $this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions); $this->_isConnected = true; if (null === $this->platform) { at Connection ->connect () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 833 return $this->executeCacheQuery($query, $params, $types, $qcp); } $this->connect(); $logger = $this->_config->getSQLLogger(); if ($logger) { at Connection ->executeQuery () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 785 */ public function fetchAll($sql, array $params = array(), $types = array()) { return $this->executeQuery($sql, $params, $types)->fetchAll(); } /** at Connection ->fetchAll () in vendor/codeages/biz-framework/src/Dao/GeneralDaoImpl.php at line 228 $marks = str_repeat('?,', count($values) - 1).'?'; $sql = "SELECT * FROM {$this->table} WHERE {$field} IN ({$marks});"; return $this->db()->fetchAll($sql, $values); } protected function findByFields($fields) at GeneralDaoImpl ->findInField () in src/Biz/System/Dao/Impl/CacheDaoImpl.php at line 23 return array(); } return $this->findInField('name', $names); } public function updateByName($name, $fields) at CacheDaoImpl ->findByNames () at call_user_func_array () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 337 protected function callRealDao($method, $arguments) { return call_user_func_array(array($this->dao, $method), $arguments); } protected function unserialize(&$row) at DaoProxy ->callRealDao () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 128 } } $rows = $this->callRealDao($method, $arguments); if (!empty($rows)) { $this->unserializes($rows); at DaoProxy ->search () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 115 protected function find($method, $arguments) { return $this->search($method, $arguments); } protected function search($method, $arguments) at DaoProxy ->find () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 47 { $proxyMethod = $this->getProxyMethod($method); if ($proxyMethod) { return $this->$proxyMethod($method, $arguments); } else { return $this->callRealDao($method, $arguments); } at DaoProxy ->__call () in src/Biz/System/Service/Impl/CacheServiceImpl.php at line 29 } $datas = array(); $caches = $this->getCacheDao()->findByNames($names); $now = time(); foreach ($caches as $cache) { if ($cache['expiredTime'] > 0 && $cache['expiredTime'] < $now) { at CacheServiceImpl ->gets () in src/Biz/System/Service/Impl/CacheServiceImpl.php at line 12 { public function get($name) { $datas = $this->gets(array($name)); if (empty($datas)) { return null; } at CacheServiceImpl ->get () at call_user_func_array () in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36 } } $result = call_user_func_array(array($this->class, $funcName), $arguments); foreach ($this->interceptorDatas as $interceptorName => $interceptorData) { if (!empty($interceptorData[$funcName])) { at ServiceProxy ->__call () in src/Biz/System/Service/Impl/SettingServiceImpl.php at line 69 public function get($name, $default = array()) { if (is_null($this->cached)) { $this->cached = $this->getCacheService()->get(self::CACHE_NAME); if (is_null($this->cached)) { $settings = $this->getSettingDao()->findAll(); at SettingServiceImpl ->get () at call_user_func_array () in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36 } } $result = call_user_func_array(array($this->class, $funcName), $arguments); foreach ($this->interceptorDatas as $interceptorName => $interceptorData) { if (!empty($interceptorData[$funcName])) { at ServiceProxy ->__call () in src/AppBundle/Listener/KernelRequestListener.php at line 33 $settingService = $this->getSettingService(); $blacklistIps = $settingService->get('blacklist_ip'); $whitelistIps = $settingService->get('whitelist_ip'); $clientIp = $request->getClientIp(); at KernelRequestListener ->onKernelRequest () at call_user_func () in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61 $e = $this->stopwatch->start($this->name, 'event_listener'); call_user_func($this->listener, $event, $eventName, $this->dispatcher ?: $dispatcher); if ($e->isStarted()) { $e->stop(); at WrappedListener ->__invoke () at call_user_func () in app/cache/dev/Jianmo/classes.php at line 1864 if ($event->isPropagationStopped()) { break; } call_user_func($listener, $event, $eventName, $this); } } private function sortListeners($eventName) at EventDispatcher ->doDispatch () in app/cache/dev/Jianmo/classes.php at line 1779 $event->setDispatcher($this); $event->setName($eventName); if ($listeners = $this->getListeners($eventName)) { $this->doDispatch($listeners, $eventName, $event); } return $event; } at EventDispatcher ->dispatch () in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 140 $e = $this->stopwatch->start($eventName, 'section'); $this->dispatcher->dispatch($eventName, $event); if ($e->isStarted()) { $e->stop(); at TraceableEventDispatcher ->dispatch () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 125 // request $event = new GetResponseEvent($this, $request, $type); $this->dispatcher->dispatch(KernelEvents::REQUEST, $event); if ($event->hasResponse()) { return $this->filterResponse($event->getResponse(), $request, $type); at HttpKernel ->handleRaw () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64 $request->headers->set('X-Php-Ob-Level', ob_get_level()); try { return $this->handleRaw($request, $type); } catch (\Exception $e) { if ($e instanceof ConflictingHeadersException) { $e = new BadRequestHttpException('The request headers contain conflicting information regarding the origin of this request.', $e); at HttpKernel ->handle () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69 $this->container->set('request', $request, 'request'); try { $response = parent::handle($request, $type, $catch); } catch (\Exception $e) { $this->container->set('request', null, 'request'); $this->container->leaveScope('request'); at ContainerAwareHttpKernel ->handle () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185 $this->boot(); } return $this->getHttpKernel()->handle($request, $type, $catch); } /** at Kernel ->handle () in web/app.php at line 36 $kernel->loadClassCache(); $request = Request::createFromGlobals(); $kernel->setRequest($request); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response); [2/3] PDOException: SQLSTATE[HY000] [2002] Connection refused in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php at line 47 $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array())); $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (\PDOException $exception) { throw new PDOException($exception); } } at PDOConnection ->__construct () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php at line 41 { try { $conn = new PDOConnection( $this->constructPdoDsn($params), $username, $password, $driverOptions at Driver ->connect () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 360 $password = isset($this->_params['password']) ? $this->_params['password'] : null; $this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions); $this->_isConnected = true; if (null === $this->platform) { at Connection ->connect () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 833 return $this->executeCacheQuery($query, $params, $types, $qcp); } $this->connect(); $logger = $this->_config->getSQLLogger(); if ($logger) { at Connection ->executeQuery () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 785 */ public function fetchAll($sql, array $params = array(), $types = array()) { return $this->executeQuery($sql, $params, $types)->fetchAll(); } /** at Connection ->fetchAll () in vendor/codeages/biz-framework/src/Dao/GeneralDaoImpl.php at line 228 $marks = str_repeat('?,', count($values) - 1).'?'; $sql = "SELECT * FROM {$this->table} WHERE {$field} IN ({$marks});"; return $this->db()->fetchAll($sql, $values); } protected function findByFields($fields) at GeneralDaoImpl ->findInField () in src/Biz/System/Dao/Impl/CacheDaoImpl.php at line 23 return array(); } return $this->findInField('name', $names); } public function updateByName($name, $fields) at CacheDaoImpl ->findByNames () at call_user_func_array () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 337 protected function callRealDao($method, $arguments) { return call_user_func_array(array($this->dao, $method), $arguments); } protected function unserialize(&$row) at DaoProxy ->callRealDao () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 128 } } $rows = $this->callRealDao($method, $arguments); if (!empty($rows)) { $this->unserializes($rows); at DaoProxy ->search () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 115 protected function find($method, $arguments) { return $this->search($method, $arguments); } protected function search($method, $arguments) at DaoProxy ->find () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 47 { $proxyMethod = $this->getProxyMethod($method); if ($proxyMethod) { return $this->$proxyMethod($method, $arguments); } else { return $this->callRealDao($method, $arguments); } at DaoProxy ->__call () in src/Biz/System/Service/Impl/CacheServiceImpl.php at line 29 } $datas = array(); $caches = $this->getCacheDao()->findByNames($names); $now = time(); foreach ($caches as $cache) { if ($cache['expiredTime'] > 0 && $cache['expiredTime'] < $now) { at CacheServiceImpl ->gets () in src/Biz/System/Service/Impl/CacheServiceImpl.php at line 12 { public function get($name) { $datas = $this->gets(array($name)); if (empty($datas)) { return null; } at CacheServiceImpl ->get () at call_user_func_array () in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36 } } $result = call_user_func_array(array($this->class, $funcName), $arguments); foreach ($this->interceptorDatas as $interceptorName => $interceptorData) { if (!empty($interceptorData[$funcName])) { at ServiceProxy ->__call () in src/Biz/System/Service/Impl/SettingServiceImpl.php at line 69 public function get($name, $default = array()) { if (is_null($this->cached)) { $this->cached = $this->getCacheService()->get(self::CACHE_NAME); if (is_null($this->cached)) { $settings = $this->getSettingDao()->findAll(); at SettingServiceImpl ->get () at call_user_func_array () in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36 } } $result = call_user_func_array(array($this->class, $funcName), $arguments); foreach ($this->interceptorDatas as $interceptorName => $interceptorData) { if (!empty($interceptorData[$funcName])) { at ServiceProxy ->__call () in src/AppBundle/Listener/KernelRequestListener.php at line 33 $settingService = $this->getSettingService(); $blacklistIps = $settingService->get('blacklist_ip'); $whitelistIps = $settingService->get('whitelist_ip'); $clientIp = $request->getClientIp(); at KernelRequestListener ->onKernelRequest () at call_user_func () in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61 $e = $this->stopwatch->start($this->name, 'event_listener'); call_user_func($this->listener, $event, $eventName, $this->dispatcher ?: $dispatcher); if ($e->isStarted()) { $e->stop(); at WrappedListener ->__invoke () at call_user_func () in app/cache/dev/Jianmo/classes.php at line 1864 if ($event->isPropagationStopped()) { break; } call_user_func($listener, $event, $eventName, $this); } } private function sortListeners($eventName) at EventDispatcher ->doDispatch () in app/cache/dev/Jianmo/classes.php at line 1779 $event->setDispatcher($this); $event->setName($eventName); if ($listeners = $this->getListeners($eventName)) { $this->doDispatch($listeners, $eventName, $event); } return $event; } at EventDispatcher ->dispatch () in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 140 $e = $this->stopwatch->start($eventName, 'section'); $this->dispatcher->dispatch($eventName, $event); if ($e->isStarted()) { $e->stop(); at TraceableEventDispatcher ->dispatch () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 125 // request $event = new GetResponseEvent($this, $request, $type); $this->dispatcher->dispatch(KernelEvents::REQUEST, $event); if ($event->hasResponse()) { return $this->filterResponse($event->getResponse(), $request, $type); at HttpKernel ->handleRaw () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64 $request->headers->set('X-Php-Ob-Level', ob_get_level()); try { return $this->handleRaw($request, $type); } catch (\Exception $e) { if ($e instanceof ConflictingHeadersException) { $e = new BadRequestHttpException('The request headers contain conflicting information regarding the origin of this request.', $e); at HttpKernel ->handle () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69 $this->container->set('request', $request, 'request'); try { $response = parent::handle($request, $type, $catch); } catch (\Exception $e) { $this->container->set('request', null, 'request'); $this->container->leaveScope('request'); at ContainerAwareHttpKernel ->handle () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185 $this->boot(); } return $this->getHttpKernel()->handle($request, $type, $catch); } /** at Kernel ->handle () in web/app.php at line 36 $kernel->loadClassCache(); $request = Request::createFromGlobals(); $kernel->setRequest($request); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response); [1/3] PDOException: SQLSTATE[HY000] [2002] Connection refused in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php at line 43 public function __construct($dsn, $user = null, $password = null, array $options = null) { try { parent::__construct($dsn, $user, $password, $options); $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array())); $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (\PDOException $exception) { at PDO ->__construct () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php at line 43 public function __construct($dsn, $user = null, $password = null, array $options = null) { try { parent::__construct($dsn, $user, $password, $options); $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array())); $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (\PDOException $exception) { at PDOConnection ->__construct () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php at line 41 { try { $conn = new PDOConnection( $this->constructPdoDsn($params), $username, $password, $driverOptions at Driver ->connect () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 360 $password = isset($this->_params['password']) ? $this->_params['password'] : null; $this->_conn = $this->_driver->connect($this->_params, $user, $password, $driverOptions); $this->_isConnected = true; if (null === $this->platform) { at Connection ->connect () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 833 return $this->executeCacheQuery($query, $params, $types, $qcp); } $this->connect(); $logger = $this->_config->getSQLLogger(); if ($logger) { at Connection ->executeQuery () in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php at line 785 */ public function fetchAll($sql, array $params = array(), $types = array()) { return $this->executeQuery($sql, $params, $types)->fetchAll(); } /** at Connection ->fetchAll () in vendor/codeages/biz-framework/src/Dao/GeneralDaoImpl.php at line 228 $marks = str_repeat('?,', count($values) - 1).'?'; $sql = "SELECT * FROM {$this->table} WHERE {$field} IN ({$marks});"; return $this->db()->fetchAll($sql, $values); } protected function findByFields($fields) at GeneralDaoImpl ->findInField () in src/Biz/System/Dao/Impl/CacheDaoImpl.php at line 23 return array(); } return $this->findInField('name', $names); } public function updateByName($name, $fields) at CacheDaoImpl ->findByNames () at call_user_func_array () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 337 protected function callRealDao($method, $arguments) { return call_user_func_array(array($this->dao, $method), $arguments); } protected function unserialize(&$row) at DaoProxy ->callRealDao () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 128 } } $rows = $this->callRealDao($method, $arguments); if (!empty($rows)) { $this->unserializes($rows); at DaoProxy ->search () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 115 protected function find($method, $arguments) { return $this->search($method, $arguments); } protected function search($method, $arguments) at DaoProxy ->find () in vendor/codeages/biz-framework/src/Dao/DaoProxy.php at line 47 { $proxyMethod = $this->getProxyMethod($method); if ($proxyMethod) { return $this->$proxyMethod($method, $arguments); } else { return $this->callRealDao($method, $arguments); } at DaoProxy ->__call () in src/Biz/System/Service/Impl/CacheServiceImpl.php at line 29 } $datas = array(); $caches = $this->getCacheDao()->findByNames($names); $now = time(); foreach ($caches as $cache) { if ($cache['expiredTime'] > 0 && $cache['expiredTime'] < $now) { at CacheServiceImpl ->gets () in src/Biz/System/Service/Impl/CacheServiceImpl.php at line 12 { public function get($name) { $datas = $this->gets(array($name)); if (empty($datas)) { return null; } at CacheServiceImpl ->get () at call_user_func_array () in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36 } } $result = call_user_func_array(array($this->class, $funcName), $arguments); foreach ($this->interceptorDatas as $interceptorName => $interceptorData) { if (!empty($interceptorData[$funcName])) { at ServiceProxy ->__call () in src/Biz/System/Service/Impl/SettingServiceImpl.php at line 69 public function get($name, $default = array()) { if (is_null($this->cached)) { $this->cached = $this->getCacheService()->get(self::CACHE_NAME); if (is_null($this->cached)) { $settings = $this->getSettingDao()->findAll(); at SettingServiceImpl ->get () at call_user_func_array () in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36 } } $result = call_user_func_array(array($this->class, $funcName), $arguments); foreach ($this->interceptorDatas as $interceptorName => $interceptorData) { if (!empty($interceptorData[$funcName])) { at ServiceProxy ->__call () in src/AppBundle/Listener/KernelRequestListener.php at line 33 $settingService = $this->getSettingService(); $blacklistIps = $settingService->get('blacklist_ip'); $whitelistIps = $settingService->get('whitelist_ip'); $clientIp = $request->getClientIp(); at KernelRequestListener ->onKernelRequest () at call_user_func () in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61 $e = $this->stopwatch->start($this->name, 'event_listener'); call_user_func($this->listener, $event, $eventName, $this->dispatcher ?: $dispatcher); if ($e->isStarted()) { $e->stop(); at WrappedListener ->__invoke () at call_user_func () in app/cache/dev/Jianmo/classes.php at line 1864 if ($event->isPropagationStopped()) { break; } call_user_func($listener, $event, $eventName, $this); } } private function sortListeners($eventName) at EventDispatcher ->doDispatch () in app/cache/dev/Jianmo/classes.php at line 1779 $event->setDispatcher($this); $event->setName($eventName); if ($listeners = $this->getListeners($eventName)) { $this->doDispatch($listeners, $eventName, $event); } return $event; } at EventDispatcher ->dispatch () in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 140 $e = $this->stopwatch->start($eventName, 'section'); $this->dispatcher->dispatch($eventName, $event); if ($e->isStarted()) { $e->stop(); at TraceableEventDispatcher ->dispatch () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 125 // request $event = new GetResponseEvent($this, $request, $type); $this->dispatcher->dispatch(KernelEvents::REQUEST, $event); if ($event->hasResponse()) { return $this->filterResponse($event->getResponse(), $request, $type); at HttpKernel ->handleRaw () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64 $request->headers->set('X-Php-Ob-Level', ob_get_level()); try { return $this->handleRaw($request, $type); } catch (\Exception $e) { if ($e instanceof ConflictingHeadersException) { $e = new BadRequestHttpException('The request headers contain conflicting information regarding the origin of this request.', $e); at HttpKernel ->handle () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69 $this->container->set('request', $request, 'request'); try { $response = parent::handle($request, $type, $catch); } catch (\Exception $e) { $this->container->set('request', null, 'request'); $this->container->leaveScope('request'); at ContainerAwareHttpKernel ->handle () in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185 $this->boot(); } return $this->getHttpKernel()->handle($request, $type, $catch); } /** at Kernel ->handle () in web/app.php at line 36 $kernel->loadClassCache(); $request = Request::createFromGlobals(); $kernel->setRequest($request); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response); Logs 1 error CRITICAL - Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException: "An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused" at /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 103 DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke". DEBUG - Notified event "kernel.controller" to listener "AppBundle\Listener\PermissionKernelControllerListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". Stack Trace (Plain Text) [1] Doctrine\DBAL\Exception\ConnectionException: An exception occured in driver: SQLSTATE[HY000] [2002] Connection refused at n/a in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 103 at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 145 at Doctrine\DBAL\DBALException::driverException() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php line 47 at Doctrine\DBAL\Driver\PDOMySql\Driver->connect() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 360 at Doctrine\DBAL\Connection->connect() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 833 at Doctrine\DBAL\Connection->executeQuery() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 785 at Doctrine\DBAL\Connection->fetchAll() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/GeneralDaoImpl.php line 228 at Codeages\Biz\Framework\Dao\GeneralDaoImpl->findInField() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Dao/Impl/CacheDaoImpl.php line 23 at Biz\System\Dao\Impl\CacheDaoImpl->findByNames() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 337 at Codeages\Biz\Framework\Dao\DaoProxy->callRealDao() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 128 at Codeages\Biz\Framework\Dao\DaoProxy->search() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 115 at Codeages\Biz\Framework\Dao\DaoProxy->find() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 47 at Codeages\Biz\Framework\Dao\DaoProxy->__call() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/CacheServiceImpl.php line 29 at Biz\System\Service\Impl\CacheServiceImpl->gets() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/CacheServiceImpl.php line 12 at Biz\System\Service\Impl\CacheServiceImpl->get() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Service/ServiceProxy.php line 36 at Codeages\Biz\Framework\Service\ServiceProxy->__call() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/SettingServiceImpl.php line 69 at Biz\System\Service\Impl\SettingServiceImpl->get() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Service/ServiceProxy.php line 36 at Codeages\Biz\Framework\Service\ServiceProxy->__call() in /www/wwwroot/yuanhuaren.com/src/AppBundle/Listener/KernelRequestListener.php line 33 at AppBundle\Listener\KernelRequestListener->onKernelRequest() in line at call_user_func() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61 at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() in line at call_user_func() in /www/wwwroot/yuanhuaren.com/app/cache/dev/Jianmo/classes.php line 1864 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() in /www/wwwroot/yuanhuaren.com/app/cache/dev/Jianmo/classes.php line 1779 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 140 at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 125 at Symfony\Component\HttpKernel\HttpKernel->handleRaw() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64 at Symfony\Component\HttpKernel\HttpKernel->handle() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185 at Symfony\Component\HttpKernel\Kernel->handle() in /www/wwwroot/yuanhuaren.com/web/app.php line 36 [2] Doctrine\DBAL\Driver\PDOException: SQLSTATE[HY000] [2002] Connection refused at n/a in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 47 at Doctrine\DBAL\Driver\PDOConnection->__construct() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php line 41 at Doctrine\DBAL\Driver\PDOMySql\Driver->connect() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 360 at Doctrine\DBAL\Connection->connect() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 833 at Doctrine\DBAL\Connection->executeQuery() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 785 at Doctrine\DBAL\Connection->fetchAll() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/GeneralDaoImpl.php line 228 at Codeages\Biz\Framework\Dao\GeneralDaoImpl->findInField() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Dao/Impl/CacheDaoImpl.php line 23 at Biz\System\Dao\Impl\CacheDaoImpl->findByNames() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 337 at Codeages\Biz\Framework\Dao\DaoProxy->callRealDao() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 128 at Codeages\Biz\Framework\Dao\DaoProxy->search() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 115 at Codeages\Biz\Framework\Dao\DaoProxy->find() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 47 at Codeages\Biz\Framework\Dao\DaoProxy->__call() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/CacheServiceImpl.php line 29 at Biz\System\Service\Impl\CacheServiceImpl->gets() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/CacheServiceImpl.php line 12 at Biz\System\Service\Impl\CacheServiceImpl->get() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Service/ServiceProxy.php line 36 at Codeages\Biz\Framework\Service\ServiceProxy->__call() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/SettingServiceImpl.php line 69 at Biz\System\Service\Impl\SettingServiceImpl->get() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Service/ServiceProxy.php line 36 at Codeages\Biz\Framework\Service\ServiceProxy->__call() in /www/wwwroot/yuanhuaren.com/src/AppBundle/Listener/KernelRequestListener.php line 33 at AppBundle\Listener\KernelRequestListener->onKernelRequest() in line at call_user_func() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61 at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() in line at call_user_func() in /www/wwwroot/yuanhuaren.com/app/cache/dev/Jianmo/classes.php line 1864 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() in /www/wwwroot/yuanhuaren.com/app/cache/dev/Jianmo/classes.php line 1779 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 140 at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 125 at Symfony\Component\HttpKernel\HttpKernel->handleRaw() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64 at Symfony\Component\HttpKernel\HttpKernel->handle() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185 at Symfony\Component\HttpKernel\Kernel->handle() in /www/wwwroot/yuanhuaren.com/web/app.php line 36 [3] PDOException: SQLSTATE[HY000] [2002] Connection refused at n/a in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 43 at PDO->__construct() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php line 43 at Doctrine\DBAL\Driver\PDOConnection->__construct() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php line 41 at Doctrine\DBAL\Driver\PDOMySql\Driver->connect() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 360 at Doctrine\DBAL\Connection->connect() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 833 at Doctrine\DBAL\Connection->executeQuery() in /www/wwwroot/yuanhuaren.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 785 at Doctrine\DBAL\Connection->fetchAll() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/GeneralDaoImpl.php line 228 at Codeages\Biz\Framework\Dao\GeneralDaoImpl->findInField() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Dao/Impl/CacheDaoImpl.php line 23 at Biz\System\Dao\Impl\CacheDaoImpl->findByNames() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 337 at Codeages\Biz\Framework\Dao\DaoProxy->callRealDao() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 128 at Codeages\Biz\Framework\Dao\DaoProxy->search() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 115 at Codeages\Biz\Framework\Dao\DaoProxy->find() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Dao/DaoProxy.php line 47 at Codeages\Biz\Framework\Dao\DaoProxy->__call() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/CacheServiceImpl.php line 29 at Biz\System\Service\Impl\CacheServiceImpl->gets() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/CacheServiceImpl.php line 12 at Biz\System\Service\Impl\CacheServiceImpl->get() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Service/ServiceProxy.php line 36 at Codeages\Biz\Framework\Service\ServiceProxy->__call() in /www/wwwroot/yuanhuaren.com/src/Biz/System/Service/Impl/SettingServiceImpl.php line 69 at Biz\System\Service\Impl\SettingServiceImpl->get() in line at call_user_func_array() in /www/wwwroot/yuanhuaren.com/vendor/codeages/biz-framework/src/Service/ServiceProxy.php line 36 at Codeages\Biz\Framework\Service\ServiceProxy->__call() in /www/wwwroot/yuanhuaren.com/src/AppBundle/Listener/KernelRequestListener.php line 33 at AppBundle\Listener\KernelRequestListener->onKernelRequest() in line at call_user_func() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61 at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() in line at call_user_func() in /www/wwwroot/yuanhuaren.com/app/cache/dev/Jianmo/classes.php line 1864 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() in /www/wwwroot/yuanhuaren.com/app/cache/dev/Jianmo/classes.php line 1779 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 140 at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 125 at Symfony\Component\HttpKernel\HttpKernel->handleRaw() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64 at Symfony\Component\HttpKernel\HttpKernel->handle() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() in /www/wwwroot/yuanhuaren.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185 at Symfony\Component\HttpKernel\Kernel->handle() in /www/wwwroot/yuanhuaren.com/web/app.php line 36
1730650501
https://yuanhuaren.com
Wax ka beddel goobtaada?
maxaad qabanaysaa