Ошибка 500. Ошибка приложения

Unable to complete network request to host "172.31.0.160". Failed to establish a connection.

В файле: /mnt/vd150/www/pskgu/library/X1/Db/Adapter/Firebird.php:69

Трассировка:

#0 /mnt/vd150/www/pskgu/library/X1/Db/Adapter.php(106): X1\Db\Adapter\Firebird->connect()
#1 /mnt/vd150/www/pskgu/library/X1/Db/Adapter/Firebird.php(202): X1\Db\Adapter->query(Object(X1\ORM\ModelQuery), NULL)
#2 /mnt/vd150/www/pskgu/library/X1/ORM/Query.php(335): X1\Db\Adapter\Firebird->fetchRow(Object(X1\ORM\ModelQuery), NULL, 2)
#3 /mnt/vd150/www/pskgu/library/X1/ORM/ModelQuery.php(218): X1\ORM\Query->fetchRow(2)
#4 /mnt/vd150/www/pskgu/webapps/pskgu/models/ModelExtended.php(111): X1\ORM\ModelQuery->fetchRow()
#5 /mnt/vd150/www/pskgu/webapps/pskgu/controllers/StructureController.php(65): Pskgu\ModelExtended->__construct('1C5E8DEE2CAFC6B...')
#6 /mnt/vd150/www/pskgu/library/X1/MVC/Control.php(98): Pskgu\StructureController->show()
#7 /mnt/vd150/www/pskgu/library/X1/MVC/Control.php(66): X1\MVC\Control->tryAction('show')
#8 /mnt/vd150/www/pskgu/library/X1/MVC/Controller.php(60): X1\MVC\Control->run(Object(X1\MVC\Request))
#9 /mnt/vd150/www/pskgu/library/X1/MVC/Dispatcher.php(82): X1\MVC\Controller->run(Object(X1\MVC\Request))
#10 /mnt/vd150/www/pskgu/library/X1/App/FrontController.php(274): X1\MVC\Dispatcher->dispatch()
#11 /mnt/vd150/www/pskgu/public/index.php(40): X1\App\FrontController->run()
#12 {main}

Последний sql запрос:

select "ROLE_ACL"."RESOURCEFK","RIGHTS"."ID" from "ROLE_ACL"
			inner join "RIGHTS" on ("ROLE_ACL"."RIGHTFK" = "RIGHTS"."SYS_GUID" and mod(coalesce("RIGHTS"."SYS_STATE",0),2)=0)
            where   "ROLE_ACL"."ALLOW" = 1 and mod(coalesce("ROLE_ACL"."SYS_STATE",0),2)=0
            and "ROLE_ACL"."RESOURCEFK" in ('pages') and "ROLE_ACL"."SYS_GUIDFK" in ('readonly')