Перейти к содержанию
SoulFire LogoSoulFire

Cannot connect or times out

Fix client login failures, connection refused and timed out errors, and bots that get kicked.

Это руководство доступно только на английском.

Identify the failed connection

First, identify which connection fails:

  1. your GUI or CLI cannot connect to the SoulFire server
  2. SoulFire is running, but the bots cannot stay connected to the target Minecraft server

Use the matching section below.

If the GUI or CLI cannot connect to the SoulFire server

Make sure that the server URL is correct

Make sure the client is using the actual server URL for the access mode you deployed:

  • https://your-domain or https://your-server-ip for HTTPS frontends such as Traefik or Cloudflared
  • http://host:38765 only when you intentionally deployed plain HTTP

Do not paste /docs, /mcp, or /webdav into the normal server login field.

Use a new access token

Generate a fresh token. Run this in the SoulFire server console, or in the app Terminal if you can still log in another way:

generate-token api

Then retry with that token. A token stops working after an administrator invalidates the user's sessions.

Make sure that the deployment works

If this is a dedicated server:

  • re-run the setup script management menu
  • view the container health and logs
  • make sure that the shown access URL matches the address in the client

If you chose HTTP-only mode, the client must use an http:// URL. An https:// URL fails against an HTTP-only server.

If the bots connect to SoulFire but time out on the target Minecraft server

Remove proxies first

Remove the proxies and test with one or two bots. If the timeouts disappear, see Proxies.

Reduce load

Test with fewer bots and a higher Min Join Delay (ms) and Max Join Delay (ms) in Bot settings. If fewer bots connect, the server or network limits the join rate.

Review bot settings

Make sure that these values are correct:

  • Address of the target server
  • Protocol Version
  • Connect Timeout and Read Timeout. Both default to 30 seconds.

If a local test server also fails, the cause is your SoulFire setup, not the remote target.

Read the project terminal

The project terminal shows the disconnect reason. It tells you whether the cause is a timeout, a proxy failure, authentication, or a kick after join. For kick messages, see the next section.

If the Minecraft server kicks the bots

Read the first kick or disconnect message in the project terminal. Later messages often come from reconnect attempts.

Message containsLikely causeNext check
Connection refusedWrong address or port, or the Minecraft server is not runningJoin the same address with a normal client, then check the target address in Bot settings
timed outThe server, proxy, or network stopped respondingTest without proxies and with fewer bots
Connection throttledThe server limits how fast one address can joinIncrease the join delay
Outdated client or Outdated serverThe protocol version does not match the serverSet the protocol version and see Supported versions
Failed to verify usernameThe server uses online mode, but the bot uses an offline accountUse a Microsoft account, see Accounts and authentication
not white-listedThe server whitelist does not include the botAdd the bot names to the whitelist on your test server
A register or login promptAn authentication plugin such as AuthMe waits for chat inputConfigure auto login and register
An AFK or idle messageThe server kicks players that do not moveEnable the anti-afk built-in plugin

The built-in Auto reconnect plugin (auto-reconnect) is on by default. It reconnects a kicked or timed-out bot after a random delay of 1 to 5 seconds. Repeated reconnects can trigger the server's join throttle, so turn the plugin off while you find the first kick reason.

If only some bots fail

The usual causes are bad proxies, bad accounts, server rate limits, or scripts that run on some bots only. Test with one bot, one account, no proxies, and no scripts. If that works, add the parts back one at a time.

What to capture before you report it

  • exact SoulFire version
  • exact timeout or disconnect text
  • whether localhost also fails
  • whether the issue happens with proxies disabled
  • the smallest bot count that still reproduces it

If the timeout started after an update, record the old and new SoulFire versions. This information helps developers reproduce a regression.

Последнее обновление:

Полезна ли эта страница?