Comments (10)
I'll have to investigate that further, but for the time being you can disable the health check as described here
https://github.com/compose-spec/compose-spec/blob/master/spec.md#healthcheck
from docker-bungeecord.
So far I haven't able to recreate this issue. Using this compose file
https://github.com/itzg/docker-bungeecord/blob/master/docs/docker-compose-waterfall.yml
I see the health reported as
{
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2021-01-08T02:10:40.5938785Z",
"End": "2021-01-08T02:10:41.5267142Z",
"ExitCode": 0,
"Output": "localhost:25577 : version=Waterfall 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x online=0 max=1 motd=''"
}
]
}
May also want to compare with the config I'm using:
https://github.com/itzg/docker-bungeecord/blob/master/docs/config.yml
from docker-bungeecord.
It may be a plugin causing it. I had started adding them when the issue started, I'll remove them and test it without.
I'm not sure if I can ask some other questions here or if I should stay on the original topic but I'm working with dynmap plugin and I would like to add it to a MySQL db by just having the info in my compose file but I am having trouble getting the plugin to connect to the DB. The plugin is in one of the worlds that is setup in the bungeecord compose file.
db:
environment:
- MYSQL_USER=minecraft
- MYSQL_ROOT_PASSWORD=password
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=MCdb
bungeecord
- DB_USER=minecraft
- DB_HOST=localhost:3365
- DB_PORT=3365
- DB_NAME=MCdb
- DB_PASSWORD=password
plugin config
type: mysql
hostname: localhost
port: 3365
database: MCdb
userid: minecraft
password: password
from docker-bungeecord.
Feel free to post here if you identify which plugin it is, since that'll help others that come across this issue.
As for the other question: change "localhost" in the DB_HOST
to point at your "db" service by using "db:3365". localhost/127.0.0.1 within a container is namespaced to only be useful within the container (or pods in kubernetes).
from docker-bungeecord.
Okay I have compose files configured properly. Do the config files in the plugins need to point to the same compose information or should they have the default localhost:3306 and just add the userid/password?
from docker-bungeecord.
They all need to be changed since "db" is the hostname of your MySQL container. In Docker you pretty much want to treat "localhost" as being useless.
The rcon tool I provide is a notable exception since it hits the Minecraft server at localhost since you exec it within the container and therefore within same networking namespace.
from docker-bungeecord.
The plugin that was causing the issue was AdvancedNMotd. I noticed that the player count was not showing properly on the Minecraft server selection screen so I checked their documentation to see what the issue was.
The solution was to open the AdvancedNMotd plugin config.yml and change the "Version: true" to false.
As for my database issue, I am able to use the db for permissions with LuckPerms without changing anything else. I cannot however get dynmap or other plugins that have their own configuration files to use the database. Not sure what I am doing wrong but they just won't connect to it.
from docker-bungeecord.
As for my database issue, I am able to use the db for permissions with LuckPerms without changing anything else. I cannot however get dynmap or other plugins that have their own configuration files to use the database. Not sure what I am doing wrong but they just won't connect to it.
What logs, if any, do they provide when failing to connect?
from docker-bungeecord.
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.
from docker-bungeecord.
Hi, I encounter the same issue.
Failure count of 1457 after an uptime of 12h. I host a server with around 50 players
This is the error it shows:
failed to ping localhost:25577 : could not connect to Minecraft server: dial tcp 127.0.0.1:25577: connect: connection refused
# Proxy
mc-proxy:
image: itzg/bungeecord
ports:
- 25565:25577
restart: always
tty: true
stdin_open: true
environment:
TYPE: WATERFALL
MEMORY: "2G"
MAX_MEMORY: "8G"
REPLACE_ENV_VARIABLES: "TRUE"
ENV_VARIABLE_PREFIX: "CFG_"
CFG_DB_HOST: "db-proxy"
CFG_DB_NAME: "proxy"
CFG_DB_USERNAME: "proxy"
CFG_DB_PASSWORD: "${DB_PROXY_PASSWORD}"
volumes:
- "${MINECRAFT_PATH}/proxy/server:/server"
Does this health check refer to pinging the external port forward? Because it pings localhost:25577 and not mc-proxy:25577, it shall ultimately ping localhost:25565 or mc-proxy:25577
from docker-bungeecord.
Related Issues (20)
- bungeecord Type Velocity, can't connect to RCON CLI. Throws i/o timeout HOT 2
- Support GID, UID HOT 2
- Health status HOT 5
- SPIGET_PLUGINS not following redirects to Bukkit download page. HOT 6
- No response from RCON-CLI HOT 4
- Modrinth Plugin Support HOT 1
- RCON environment variables don't get into the config file HOT 1
- Support mounting kubernetes secrets HOT 8
- query port not exposed (udp) HOT 3
- Unable to mount velocity.toml into the container HOT 9
- [Server thread/ERROR]: Failed to validate profile key: Invalid signature for profile public key. HOT 2
- Healthcheck: "server not ready" HOT 2
- Copying plugin configs HOT 2
- Add support for config patching
- Request: Script similar to mc-send-to-console HOT 4
- Support more Java version HOT 3
- When specifying modrinth plugins on velocity the logs output that plugins are downlaoding but no plugins get loaded HOT 1
- Support 1.20.3 change to ping description structure
- Apply patches after related config file is created HOT 1
- Question : Using auto pause in docker-minecraft-server with docker-bungeecord and Velocity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-bungeecord.