menu
#10302481 SQL CONNECT error: Connection timed out

Submitted by PocketMine-MP 5.11.0

General information

Version: 5.11.0
Git commit: ce8fecc6
Plugin involvement: Direct
Report date: 2024-02-12 18:37:35 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 5 seconds

System Information

PHP version: 8.2.13
JIT status: Not available
Operating system: linux
System banner: Linux e8f0921d-8fc2-490c-a6a9-68235c23cbce 5.15.0-70-generic #77-Ubuntu SMP Tue Mar 21 14:02:37 UTC 2023 x86_64

Error information

Warning: the EssentialBans plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: SQL CONNECT error: Connection timed out
File: plugins/EssentialBans/src/poggit/libasynql/libasynql
Line: #144
Type: poggit\libasynql\SqlError
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
		if(!isset($dialect, $factory, $sqlMap[$dialect])){
throw new ConfigException("Unsupported datasource type \"$type\". Try \"" . implode("\" or \"", array_keys($sqlMap)) . "\".");
}

$pool = new SqlThreadPool($factory, $configData["worker-limit"] ?? 1);
while(!$pool->connCreated()){
usleep(1000);
}
if($pool->hasConnError()){
throw new SqlError(SqlError::STAGE_CONNECT, $pool->getConnError());
}

$connector = new DataConnectorImpl($plugin, $pool, $placeHolder, $logQueries ?? !libasynql::isPackaged());
foreach(is_string($sqlMap[$dialect]) ? [$sqlMap[$dialect]] : $sqlMap[$dialect] as $file){
$resource = $plugin->getResource($file);
if($resource===null){
throw new InvalidArgumentException("resources/$file does not exist");
}
$connector->loadQueryFile($resource);
}
#0 plugins/Practice/src/bitpvp/practice/datasource/SQLDataStorer(33): poggit\libasynql\libasynql::create(string[32] object(bitpvp\practice\Practice), array[4], array[2])
#1 plugins/Practice/src/bitpvp/practice/Practice(122): bitpvp\practice\datasource\SQLDataStorer->init()
#2 pmsrc/src/plugin/PluginBase(119): bitpvp\practice\Practice->onEnable()
#3 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1407): pocketmine\plugin\PluginManager->enablePlugin(string[32] object(bitpvp\practice\Practice))
#5 pmsrc/src/Server(1036): pocketmine\Server->enablePlugins(string[43] object(pocketmine\plugin\PluginEnableOrder))
#6 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(string[47] object(pocketmine\thread\ThreadSafeClassLoader), string[35] object(pocketmine\utils\MainLogger), string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/PocketMine(364): pocketmine\server()
#8 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show