Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Docker - mcbserver - Gamedig FAIL - Server restart in loop

オープン
#166 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
51/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, shell
領域
devops

調査の方向性

Start with the mcbserver LinuxGSM monitor and Gamedig configuration; the report includes repeated failed queries to localhost, the container's LAN address, and the public address, while the Bedrock server starts and accepts a local game connection. Reproduce the Gamedig failure using the reported gamedig --type mbe --debug command and inspect the remaining debug output. Done means identifying why queries fail and preventing the monitor from restarting a reachable server.

索引モデルが issue の本文から書いたものです。

説明

Hi there,

I'm facing an issue with the docker image for Mincraft Bedrock edition where the Gamedig detection fails and the server keep on restarting.
It used to work just fine for a long time and now it keeps on failing.
I've deleted the container, pulled the new image, recreated a container and it's still failing.
I've enven deleted the whole folder to recreated a new empty container (re-pulling the image again after deleting it), and the behaviour is the same.

When the server is started, I can locally connect to it from the official Minecraft Bedrock game, so it means that the server runs with no issues.

Here are the logs in the console:

Support LinuxGSM
=================================
Been using LinuxGSM?
Consider sponsoring to support development.
* GitHub: https://github.com/sponsors/dgibbs64
* Patreon: https://linuxgsm.com/patreon
* PayPal: https://linuxgsm.com/paypal
LinuxGSM est. 2012
Starting Update Checks
=================================
Warning: Step size 60 higher than possible maximum of 59
update will check every 60 minutes
Checking for Update mcbserver
=================================

[ .... ] Updating mcbserver: 
Installing Gamedig
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0
100    746 100    746   0      0   8583      0                              0
100    746 100    746   0      0   8580      0                              0
100    746 100    746   0      0   8577      0                              0
npm warn deprecated [email protected]: Use promise-toolbox/fromEvent instead
npm warn deprecated [email protected]: See https://github.com/mvdan/sh/issues/1145
added 66 packages, and audited 67 packages in 1s
25 packages are looking for funding
  run `npm fund` for details
found 0 vulnerabilities

[ .... ] Updating mcbserver: Checking for update
[ .... ] Updating mcbserver: Checking for update: minecraft.net
[ .... ] Updating mcbserver: Checking local build: minecraft.net
[  OK  ] Updating mcbserver: Checking local build: minecraft.net
[ .... ] Updating mcbserver: Checking remote build: minecraft.net
[  OK  ] Updating mcbserver: Checking remote build: minecraft.net
[ .... ] Updating mcbserver: Checking for update: minecraft.net
[  OK  ] Updating mcbserver: Checking for update: minecraft.net
No update available
* Local build: 1.26.60.6
* Remote build: 1.26.60.6
Starting mcbserver
=================================

[ .... ] Starting mcbserver: 
[ .... ] Starting mcbserver: LinuxGSM
[  OK  ] Starting mcbserver: LinuxGSM
[  OK  ] Starting mcbserver: LinuxGSM
Distro Details
================================================================================
Date:         Thu Oct 29 08:37:40 AM UTC 2026
Distro:       Ubuntu 26.04.1 LTS
Arch:         x86_64
Kernel:       6.12.113+deb13-amd64
Hostname:     c263a8b8dd5f
Environment:  docker
Uptime:       1d, 11h, 55m
tmux:         3.6
glibc:        2.43
Server Resource
================================================================================
CPU         
Model:      Intel(R) Core(TM) i5-10500T CPU @ 2.30GHz
Cores:      4
Threads:    4
Frequency:  2304.03MHz per logical CPU
Avg Load:   0.64, 0.30, 0.27
Memory                                  
Mem:       total  used   free   cached  available
Physical:  16GB   3.8GB  12GB   12GB    12GB
Swap:      5.2GB  767MB  4.4GB          
Storage      
Filesystem:  overlay
Total:       93G
Used:        17G
Available:   73G
Network       
IP:           0.0.0.0
Internet IP:  MY.PUB.LIC.IP
Minecraft Bedrock Resource Usage
================================================================================
CPU Used:  27.6%  
Mem Used:  2.1%   339MB
Storage       
Total:        23M
Serverfiles:  330M
Minecraft Bedrock Server Details
================================================================================
Server name:  LinuxGSM
Server IP:    0.0.0.0:19132
Internet IP:  MY.PUB.LIC.IP:19132
Maxplayers:   10
Game mode:    survival
Status:       STARTED
Query Check:  https://ismygameserver.online/mbe/MY.PUB.LIC.IP:19132
mcbserver Script Details
================================================================================
Script name:       mcbserver
LinuxGSM version:  v26.4.0
glibc required:    2.27
Update on start:   off
User:              linuxgsm
Location:          /app
Config file:       /data/serverfiles/server.properties
Backups
================================================================================
No Backups created
Command-line Parameters
================================================================================
 /data/serverfiles/bedrock_server 
Ports
================================================================================
Change ports by editing the parameters in:
/data/serverfiles/server.properties
Useful port diagnostic command:
ss -tuplwn | grep bedrock_server
DESCRIPTION  PORT     PROTOCOL  LISTEN
Game         19132    udp       0
Game         NOT SET  udp6      0
Status:	STARTED
Tail log files
=================================
==> /data/log/console/mcbserver-console.log <==
[2026-10-29 08:37:20:285 INFO] Signed in to signaling service successfully
[2026-10-29 08:37:20:923 INFO] Waiting for Minecraft services...
[2026-10-29 08:37:21:123 INFO] Server started.
[2026-10-29 08:37:21:123 INFO] ================ TELEMETRY MESSAGE ===================
[2026-10-29 08:37:21:123 INFO] Server Telemetry is currently not enabled. 
[2026-10-29 08:37:21:123 INFO] Enabling this telemetry helps us improve the game.
[2026-10-29 08:37:21:123 INFO] 
[2026-10-29 08:37:21:123 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2026-10-29 08:37:21:123 INFO] to the server.properties file in the handheld/src-server directory
[2026-10-29 08:37:21:123 INFO] ======================================================
==> /data/log/script/mcbserver-script.log <==
Oct 29 08:37:26.944 mcbserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:19132 : 1 : QUERYING
Oct 29 08:37:27.865 mcbserver: DETAILS: PASS: Using cached IP as public IP address
Oct 29 08:37:28.596 mcbserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:19132 : 1 : DELAY
Oct 29 08:37:28.632 mcbserver: MONITOR: INFO: Query bypassed: mcbserver started less than 1 minutes ago
Oct 29 08:37:28.733 mcbserver: MONITOR: INFO: Server started: Thu Oct 29 08:37:20 AM UTC 2026
Oct 29 08:37:28.803 mcbserver: MONITOR: INFO: Current time: Thu Oct 29 08:37:28 AM UTC 2026
Oct 29 08:37:28.923 mcbserver: MONITOR: INFO: LinuxGSM version: v26.4.0
Oct 29 08:37:28.958 mcbserver: MONITOR: PASS: core_exit.sh exiting with code: 0
Oct 29 08:37:40.679 mcbserver: DETAILS: INFO: LinuxGSM version: v26.4.0
Oct 29 08:37:40.683 mcbserver: DETAILS: PASS: core_exit.sh exiting with code: 0
Oct 29 08:38:24.151 mcbserver: CORE: PASS: Using cached IP as public IP address
Oct 29 08:38:24.741 mcbserver: DETAILS: PASS: Using cached IP as public IP address
Oct 29 08:38:25.992 mcbserver: DETAILS: PASS: Using cached IP as public IP address
Oct 29 08:38:28.199 mcbserver: CORE: PASS: Using cached IP as public IP address
Oct 29 08:38:29.379 mcbserver: MONITOR: PASS: Using cached IP as public IP address
Oct 29 08:38:30.137 mcbserver: MONITOR: PASS: Using cached IP as public IP address
Oct 29 08:38:31.966 mcbserver: MONITOR: PASS: Checking details: Details is running
Oct 29 08:38:31.977 mcbserver: MONITOR: INFO: LinuxGSM version: v26.4.0
Oct 29 08:38:31.980 mcbserver: MONITOR: PASS: core_exit.sh exiting with code: 0
Oct 29 08:38:38.794 mcbserver: DETAILS: INFO: LinuxGSM version: v26.4.0
Oct 29 08:38:38.798 mcbserver: DETAILS: PASS: core_exit.sh exiting with code: 0
Oct 29 08:39:32.854 mcbserver: CORE: PASS: Using cached IP as public IP address
Oct 29 08:39:32.921 mcbserver: MONITOR: PASS: Using cached IP as public IP address
Oct 29 08:39:34.116 mcbserver: MONITOR: PASS: Using cached IP as public IP address
Oct 29 08:39:35.636 mcbserver: MONITOR: INFO: Checking session: CHECKING
Oct 29 08:39:35.853 mcbserver: MONITOR: PASS: Checking session: OK
Oct 29 08:39:37.466 mcbserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:19132 : 1 : QUERYING
Oct 29 08:39:41.921 mcbserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:19132 : 1 : FAIL
Oct 29 08:39:43.533 mcbserver: MONITOR: INFO: Querying port: gamedig: 192.168.1.83:19132 : 1 : QUERYING
Oct 29 08:39:47.971 mcbserver: MONITOR: WARN: Querying port: gamedig: 192.168.1.83:19132 : 1 : FAIL
Oct 29 08:39:49.583 mcbserver: MONITOR: INFO: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 1 : QUERYING
Oct 29 08:39:54.234 mcbserver: MONITOR: WARN: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 1 : FAIL
Oct 29 08:40:13.761 mcbserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:19132 : 2 : QUERYING
Oct 29 08:40:18.205 mcbserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:19132 : 2 : FAIL
Oct 29 08:40:19.817 mcbserver: MONITOR: INFO: Querying port: gamedig: 192.168.1.83:19132 : 2 : QUERYING
Oct 29 08:40:24.266 mcbserver: MONITOR: WARN: Querying port: gamedig: 192.168.1.83:19132 : 2 : FAIL
Oct 29 08:40:25.878 mcbserver: MONITOR: INFO: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 2 : QUERYING
Oct 29 08:40:30.334 mcbserver: MONITOR: WARN: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 2 : FAIL
Oct 29 08:40:50.704 mcbserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:19132 : 3 : QUERYING
Oct 29 08:40:54.514 mcbserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:19132 : 3 : FAIL
Oct 29 08:40:56.126 mcbserver: MONITOR: INFO: Querying port: gamedig: 192.168.1.83:19132 : 3 : QUERYING
Oct 29 08:41:00.565 mcbserver: MONITOR: WARN: Querying port: gamedig: 192.168.1.83:19132 : 3 : FAIL
Oct 29 08:41:02.177 mcbserver: MONITOR: INFO: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 3 : QUERYING
Oct 29 08:41:06.614 mcbserver: MONITOR: WARN: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 3 : FAIL
Oct 29 08:41:26.353 mcbserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:19132 : 4 : QUERYING
Oct 29 08:41:30.805 mcbserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:19132 : 4 : FAIL
Oct 29 08:41:32.416 mcbserver: MONITOR: INFO: Querying port: gamedig: 192.168.1.83:19132 : 4 : QUERYING
Oct 29 08:41:36.857 mcbserver: MONITOR: WARN: Querying port: gamedig: 192.168.1.83:19132 : 4 : FAIL
Oct 29 08:41:38.469 mcbserver: MONITOR: INFO: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 4 : QUERYING
Oct 29 08:41:42.908 mcbserver: MONITOR: WARN: Querying port: gamedig: MY.PUB.LIC.IP:19132 : 4 : FAIL
Oct 29 08:42:02.645 mcbserver: MONITOR: INFO: Querying port: gamedig: 127.0.0.1:19132 : 5 : QUERYING
Oct 29 08:42:07.978 mcbserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:19132 : 5 : FAIL
Oct 29 08:42:07.306 mcbserver: MONITOR: WARN: Querying port: gamedig: 127.0.0.1:19132 : 5 : FAIL
Oct 29 08:42:07.518 mcbserver: MONITOR: PASS: Using cached IP as public IP address
Oct 29 08:42:07.538 mcbserver: MONITOR: INFO: Sending alert: Unable to query mcbserver. Game server has been restarted
Oct 29 08:42:08.837 mcbserver: RESTART: PASS: Using cached IP as public IP address
Oct 29 08:42:11.450 mcbserver: RESTART: PASS: Using cached IP as public IP address
Oct 29 08:42:12.215 mcbserver: STOP: PASS: Using cached IP as public IP address
Oct 29 08:42:13.331 mcbserver: STOP: PASS: Using cached IP as public IP address
Oct 29 08:42:14.576 mcbserver: STOP: INFO: Graceful: sending "stop"
==> /data/log/console/mcbserver-console.log <==
stop
[2026-10-29 08:42:14:737 ERROR] Unknown command: . Please check that the command exists and that you have permission to use it.
[2026-10-29 08:42:14:737 INFO] Server stop requested.
[2026-10-29 08:42:14:768 INFO] Stopping server...
Quit correctly

I tried to console in the container and run Gamedig, it fails as well with this :

root@4380d8d78328:/app# gamedig --type mbe --debug 192.168.1.83:19132
Q#0 Starting
Q#0 Protocol: minecraft
Q#0 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83'
}
Q#0 DNS Lookup: 192.168.1.83
Q#0 Raw IP Address: 192.168.1.83
Q#1 Starting
Q#1 Protocol: minecraftvanilla
Q#1 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83',
  address: '192.168.1.83'
}
Q#1 192.168.1.83:19132 TCP Connecting
Q#2 Starting
Q#2 Protocol: gamespy3
Q#2 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83',
  address: '192.168.1.83',
  encoding: 'utf8'
}
Q#3 Starting
Q#3 Protocol: minecraftbedrock
Q#3 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83',
  address: '192.168.1.83'
}
192.168.1.83:19132 UDP(40039)-->
Buffer length: 11 bytes
fe fd 09 00 00 00 01 00 00 00 00 
                                 

192.168.1.83:19132 UDP(40039)-->
Buffer length: 33 bytes
01 11 22 33 44 55 66 77 88 00 ff ff 00 fe fe fe fe fd fd fd fd 
      "  3  D  U  f  w                                         
12 34 56 78 00 00 00 00 00 00 00 00 
   4  V  x                          

Q#1 192.168.1.83:19132 TCP Connected
Q#1 Registered RTT: 5ms
Q#1 192.168.1.83:19132 TCP-->
Q#1 Buffer length: 21 bytes
12 00 2f 0c 31 39 32 2e 31 36 38 2e 31 2e 38 33 4a bc 01 01 00 
      /     1  9  2  .  1  6  8  .  1  .  8  3  J              

Q#2 UDP timeout detected
Q#2 Query failed with error Error: UDP - Timed out after 2000ms
    at Timeout.<anonymous> (file:///usr/lib/node_modules/gamedig/lib/Promises.js:7:18)
    at listOnTimeout (node:internal/timers:685:17)
    at process.processTimers (node:internal/timers:618:7)
Q#3 UDP timeout detected
Q#3 Query failed with error Error: UDP - Timed out after 2000ms
    at Timeout.<anonymous> (file:///usr/lib/node_modules/gamedig/lib/Promises.js:7:18)
    at listOnTimeout (node:internal/timers:685:17)
    at process.processTimers (node:internal/timers:618:7)
Q#1 Query failed with error Error: TCP - Timed out after 2000ms
    at Timeout.<anonymous> (file:///usr/lib/node_modules/gamedig/lib/Promises.js:7:18)
    at listOnTimeout (node:internal/timers:685:17)
    at process.processTimers (node:internal/timers:618:7)
Q#0 Query failed with error Error: No protocols succeeded
    at minecraft.run (file:///usr/lib/node_modules/gamedig/protocols/minecraft.js:50:13)
    at async minecraft.runOnce (file:///usr/lib/node_modules/gamedig/protocols/core.js:85:5)
    at async minecraft.runOnceSafe (file:///usr/lib/node_modules/gamedig/protocols/core.js:59:22)
    at async QueryRunner._attempt (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:120:12)
    at async QueryRunner.run (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:97:26)
    at async GameDig.query (file:///usr/lib/node_modules/gamedig/lib/gamedig.js:11:12)
Q#4 Starting
Q#4 Protocol: minecraft
Q#4 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83'
}
Q#4 DNS Lookup: 192.168.1.83
Q#4 Raw IP Address: 192.168.1.83
Q#5 Starting
Q#5 Protocol: minecraftvanilla
Q#5 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83',
  address: '192.168.1.83'
}
Q#5 192.168.1.83:19132 TCP Connecting
Q#6 Starting
Q#6 Protocol: gamespy3
Q#6 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83',
  address: '192.168.1.83',
  encoding: 'utf8'
}
Q#7 Starting
Q#7 Protocol: minecraftbedrock
Q#7 Options: {
  socketTimeout: 2000,
  attemptTimeout: 10000,
  maxRetries: 1,
  stripColors: true,
  portCache: true,
  noBreadthOrder: false,
  ipFamily: 0,
  requestPlayers: true,
  port: 19132,
  protocol: 'minecraft',
  pretty: false,
  debug: true,
  givenPortOnly: false,
  requestRules: false,
  requestRulesRequired: false,
  requestPlayersRequired: false,
  checkOldIDs: false,
  rejectUnauthorized: false,
  type: 'mbe',
  host: '192.168.1.83',
  address: '192.168.1.83'
}
192.168.1.83:19132 UDP(40039)-->
Buffer length: 11 bytes
fe fd 09 00 00 00 01 00 00 00 00 
                                 

192.168.1.83:19132 UDP(40039)-->
Buffer length: 33 bytes
01 11 22 33 44 55 66 77 88 00 ff ff 00 fe fe fe fe fd fd fd fd 
      "  3  D  U  f  w                                         
12 34 56 78 00 00 00 00 00 00 00 00 
   4  V  x                          

Q#5 192.168.1.83:19132 TCP Connected
Q#5 Registered RTT: 1ms
Q#5 192.168.1.83:19132 TCP-->
Q#5 Buffer length: 21 bytes
12 00 2f 0c 31 39 32 2e 31 36 38 2e 31 2e 38 33 4a bc 01 01 00 
      /     1  9  2  .  1  6  8  .  1  .  8  3  J              

Q#1 TCP Closed
Q#6 UDP timeout detected
Q#6 Query failed with error Error: UDP - Timed out after 2000ms
    at Timeout.<anonymous> (file:///usr/lib/node_modules/gamedig/lib/Promises.js:7:18)
    at listOnTimeout (node:internal/timers:685:17)
    at process.processTimers (node:internal/timers:618:7)
Q#7 UDP timeout detected
Q#7 Query failed with error Error: UDP - Timed out after 2000ms
    at Timeout.<anonymous> (file:///usr/lib/node_modules/gamedig/lib/Promises.js:7:18)
    at listOnTimeout (node:internal/timers:685:17)
    at process.processTimers (node:internal/timers:618:7)
Q#5 Query failed with error Error: TCP - Timed out after 2000ms
    at Timeout.<anonymous> (file:///usr/lib/node_modules/gamedig/lib/Promises.js:7:18)
    at listOnTimeout (node:internal/timers:685:17)
    at process.processTimers (node:internal/timers:618:7)
Q#4 Query failed with error Error: No protocols succeeded
    at minecraft.run (file:///usr/lib/node_modules/gamedig/protocols/minecraft.js:50:13)
    at async minecraft.runOnce (file:///usr/lib/node_modules/gamedig/protocols/core.js:85:5)
    at async minecraft.runOnceSafe (file:///usr/lib/node_modules/gamedig/protocols/core.js:59:22)
    at async QueryRunner._attempt (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:120:12)
    at async QueryRunner.run (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:97:26)
    at async GameDig.query (file:///usr/lib/node_modules/gamedig/lib/gamedig.js:11:12)
Error: Failed all 2 attempts
    at QueryRunner.run (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:108:17)
    at async GameDig.query (file:///usr/lib/node_modules/gamedig/lib/gamedig.js:11:12)
Attempt #1 - Port=19132 Retry=0:
Error: No protocols succeeded
    at minecraft.run (file:///usr/lib/node_modules/gamedig/protocols/minecraft.js:50:13)
    at async minecraft.runOnce (file:///usr/lib/node_modules/gamedig/protocols/core.js:85:5)
    at async minecraft.runOnceSafe (file:///usr/lib/node_modules/gamedig/protocols/core.js:59:22)
    at async QueryRunner._attempt (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:120:12)
    at async QueryRunner.run (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:97:26)
    at async GameDig.query (file:///usr/lib/node_modules/gamedig/lib/gamedig.js:11:12)
Attempt #2 - Port=19132 Retry=0:
Error: No protocols succeeded
    at minecraft.run (file:///usr/lib/node_modules/gamedig/protocols/minecraft.js:50:13)
    at async minecraft.runOnce (file:///usr/lib/node_modules/gamedig/protocols/core.js:85:5)
    at async minecraft.runOnceSafe (file:///usr/lib/node_modules/gamedig/protocols/core.js:59:22)
    at async QueryRunner._attempt (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:120:12)
    at async QueryRunner.run (file:///usr/lib/node_modules/gamedig/lib/QueryRunner.js:97:26)
    at async GameDig.query (file:///usr/lib/node_modules/gamedig/lib/gamedig.js:11:12)
Q#5 TCP Closed

If I run ss, here's what I get :

root@4380d8d78328:/app# ss -tuplwn
Netid                      State                       Recv-Q                       Send-Q                                             Local Address:Port                                              Peer Address:Port                      Process                      
udp                        UNCONN                      0                            0                                                     127.0.0.11:59174                                                  0.0.0.0:*                                                      
udp                        UNCONN                      0                            0                                                              *:7551                                                         *:*                                                      
tcp                        LISTEN                      0                            4096                                                  127.0.0.11:37525                                                  0.0.0.0:*                                                      
tcp                        LISTEN                      0                            64                                                             *:19132                                                        *:*                                                      

I also have a homepage docker that uses the gamedig widget, and it fails to find the server as well.

Would you have an idea on what's going on ?

Thanks !

MathFly_

主要言語
Shell
スター
345
フォーク
25
平均マージ
12時間 12分
マージ済み PR(30日)
9

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GameServerManagers/docker-gameserver のほかの issue

GameServerManagers/docker-gameserver の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。