We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
console显示bot登录成功,但netstat没找到api的端口
启动命令 sudo docker-compose run -d --rm mirai
sudo docker-compose run -d --rm mirai
console日志:
00:30:04 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 00:30:04 [INFO] Runtime: OpenJDK 64-Bit Server VM 11.0.16 (arch: 64) 00:30:04 [INFO] https://github.com/iTXTech/mirai-console-loader 00:30:04 [INFO] This program is licensed under GNU AGPL v3 00:30:06 [INFO] Mirai Console Loader Announcement: Mirai Console Loader 公告栏 如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本) `- 如 Unsupported image type for ExternalResource * ` considering use gif/png/bmp/jpg format. `- Tracker: https://github.com/mamoe/mirai/issues/new/choose 常用资源整合 `- https://mirai.mamoe.net/topic/653 MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。 00:30:06 [INFO] Verifying "net.mamoe:mirai-console" v2.13.4 00:30:07 [WARN] Package "net.mamoe:mirai-console" has newer version "2.16.0" 00:30:07 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.4 00:30:07 [WARN] Package "net.mamoe:mirai-console-terminal" has newer version "2.16.0" 00:30:07 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.4 00:30:08 [WARN] Package "net.mamoe:mirai-core-all" has newer version "2.16.0" 00:30:08 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 00:30:08 [INFO] Verifying "org.bouncycastle:bcprov-jdk15on" v1.64 00:30:08 [WARN] Run ./mcl -u to update packages. 2024-01-08 00:30:10 I/main: Starting mirai-console... 2024-01-08 00:30:10 I/main: ==================================[ Mirai consosle 2.13.4 ]=================================== __ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓ 2024-01-08 00:30:10 I/main: Backend: version 2.13.4, built on 2023-01-21 21:19:40. 2024-01-08 00:30:10 I/main: Frontend Terminal: version 2.13.4, provided by Mamoe Technologies 2024-01-08 00:30:10 I/main: Welcome to visit https://mirai.mamoe.net/ 2024-01-08 00:30:11 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2024-01-08 00:30:11 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2024-01-08 00:30:11 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2024-01-08 00:30:12 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2 2024-01-08 00:30:12 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2024-01-08 00:30:13 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2024-01-08 00:30:13 I/Mirai HTTP API: ******************************************************** 2024-01-08 00:30:13 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2024-01-08 00:30:13 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2024-01-08 00:30:13 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2024-01-08 00:30:13 I/http adapter: >>> [http adapter] is listening at http://localhost:8101 2024-01-08 00:30:13 I/Mirai HTTP API: Http api server is running with verifyKey: 123123123 2024-01-08 00:30:13 I/Mirai HTTP API: adaptors: [http] 2024-01-08 00:30:13 I/Mirai HTTP API: ******************************************************** 2024-01-08 00:30:14 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2024-01-08 00:30:14 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2024-01-08 00:30:14 I/main: 2 plugin(s) enabled. 2024-01-08 00:30:14 I/main: Auto-login ********, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB 2024-01-08 00:30:14 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core 2024-01-08 00:30:15 I/Bot.********: Loaded account secrets from local cache. 2024-01-08 00:30:15 I/Bot.********: Saved account secrets to local cache for fast login. 2024-01-08 00:30:15 I/Bot.********: Login successful. 2024-01-08 00:30:16 V/Bot.********: Event: BotOnlineEvent(bot=Bot(********)) 2024-01-08 00:30:16 I/Bot.********: Bot login successful. 2024-01-08 00:30:16 I/main: mirai-console started successfully.
docker-compose配置
dapters: - http - ws debug: false enableVerify: true verifyKey: '123123123' singleMode: false cacheSize: 4096 adapterSettings: ws: host: localhost port: 8100 reservedSyncId: -1 http: host: localhost port: 8101 cors: [*]
netstat 进程信息
The text was updated successfully, but these errors were encountered:
你给的配置不是docker-compose配置。看控制台 netstat 输出里有 ssh 我猜你看的是宿主机的网络。 没有正确配置 docker 容器,容器的网络不在宿主机上
ssh
Sorry, something went wrong.
No branches or pull requests
console显示bot登录成功,但netstat没找到api的端口
启动命令
sudo docker-compose run -d --rm mirai
console日志:
docker-compose配置
netstat 进程信息
The text was updated successfully, but these errors were encountered: