Skip to content
New issue

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

ubuntu18下运行Linux-amd64第一次登录需要验证,但是无法验证 #46

Open
HOKOORY opened this issue Sep 17, 2020 · 11 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@HOKOORY
Copy link

HOKOORY commented Sep 17, 2020

ubantu18下有部分字符会变成问号(?)

需要验证登录时,无法通过验证

@HOKOORY
Copy link
Author

HOKOORY commented Sep 17, 2020

2020-09-17 01:11:54 I/MiraiOK: MiraiOK 20200915.071520 linux-amd64
2020-09-17 01:11:54 I/MiraiOK: 此程序以Affero GPL3.0协议发布,使用时请遵守协议
2020-09-17 01:11:54 I/MiraiOK: 部分开源于: github.com/LXY1226/MiraiOK
2020-09-17 01:11:54 I/MiraiOK: java version "1.8.0_131"
2020-09-17 01:11:54 I/MiraiOK: Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
2020-09-17 01:11:54 I/MiraiOK: Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
2020-09-17 01:11:54 I/MiraiOK: 删除.lastupdate来在下次启动时强制检查更新
2020-09-17 01:11:54 I/MiraiOK: 启动Mirai...
2020-09-17 01:11:54 I/main: Starting mirai-console...
2020-09-17 01:11:55 I/main: Backend: version 1.0-M4, built on 2020-09-12 18:19:35.
2020-09-17 01:11:55 I/main: Frontend Pure: version 1.0-M4, provided by Mamoe Technologies
2020-09-17 01:11:55 V/main: Loading configurations...
2020-09-17 01:11:56 V/main: Loading JVM plugins...
2020-09-17 01:11:56 I/plugin: Successfully loaded plugin MiraiApiHttp
2020-09-17 01:11:56 V/main: 0 external PluginLoader(s) found.
2020-09-17 01:11:56 V/main: 1 plugin(s) loaded.
2020-09-17 01:11:56 V/main: Loading PermissionService...
2020-09-17 01:11:56 V/main: Reloaded PermissionService settings.
2020-09-17 01:11:56 V/main: Loading built-in commands...
2020-09-17 01:11:56 V/main: Prepared built-in commands: help, login, permission, stop
2020-09-17 01:11:56 V/main: Enabling plugins...
2020-09-17 01:11:56 I/MiraiApiHttp: Starting Mirai HTTP Server in 0.0.0.0:xxxx
2020-09-17 01:11:56 W/MiraiApiHttp: USING INITIAL KEY, please edit the key
2020-09-17 01:11:56 I/MiraiApiHttp: Starting Mirai HTTP Server in 0.0.0.0:xxxx
2020-09-17 01:11:56 I/Mirai HTTP API: Http api server is running with authKey: XXXXXXX
2020-09-17 01:11:56 I/MiraiApiHttp: ????????: true
2020-09-17 01:11:56 I/MiraiApiHttp: ????????: true
2020-09-17 01:11:56 I/main: 1 plugin(s) enabled.
2020-09-17 01:11:56 I/main: Auto-login 794584233
2020-09-17 01:11:59 I/Bot 794584233: Logging in...
2020-09-17 01:11:59 I/Bot 794584233: ?????????, ???? 4 ??
2020-09-17 01:12:00 I/Bot 794584233: ????????. ????????, ????? /tmp/tmp5495735626928105940.png
2020-09-17 01:12:00 I/Bot 794584233: # #
#######
######## ## ##### ###

##### ######

## ## ##

# ## ##

# ## ##

# # # ## ##

###### ## ##

##### ######## ## ##

########## ############# ## ## ##

## #### ## # ###
## #### ####### ##
######### #####

####### ## ###### ## # ################

## #### ## # #
## # ## # ##
## # ### # # ####
## ## # ### # ## ####
###### ## ### # ## ####
      #####  ## #######   ##   ####  #########
      #####  ##########   #########   ########
      #####  ##########   #########    #######
      #################   #########    #######
      #################   #########     ######
      #################   #########     ######
      #################  ##########      #####
       ################  ########
        ###############  #######
          ############# ########
          #####################
           ####################
            #################
                  ##########

2020-09-17 01:12:00 I/Bot 794584233: ??? 4 ??????. ???????, ?????
01:12:00 LOGIN>
LOGIN> >

具体输出如上

@LXY1226 LXY1226 added bug Something isn't working wontfix This will not be worked on labels Sep 17, 2020
@QvQQ
Copy link

QvQQ commented Sep 19, 2020

同样的问题。在输入正确的验证码后仍提示错误。
环境:WSL1 ubuntu18.04

@fun4wut
Copy link

fun4wut commented Nov 3, 2020

同上,
WSL2 ubuntu 18.04

@QvQQ
Copy link

QvQQ commented Nov 3, 2020

@fun4wut 问题我已解决。那串乱码原文是”当前版本过低“,详见这里
实际原因并不是版本问题,而是需要修改账号密码。
推测可能是tx的登录安全保护机制。

@fun4wut
Copy link

fun4wut commented Nov 3, 2020

@QvQQ 可行,感谢!

@fun4wut
Copy link

fun4wut commented Nov 3, 2020

@QvQQ 顺便想请教一下乱码问题有什么办法解决吗

@QvQQ
Copy link

QvQQ commented Nov 3, 2020

@fun4wut 那个提示信息自从成功登录一次后就再也没有出现过了,所以也没见过乱码了,抱歉。

@QvQQ
Copy link

QvQQ commented Nov 3, 2020

@fun4wut 对了,如果使用386的那个版本是正常显示的。可以在win环境下试试。

@fun4wut
Copy link

fun4wut commented Nov 3, 2020

@QvQQ 最后发现直接命令行java启动就正常显示了🤣,谢谢

@QvQQ
Copy link

QvQQ commented Feb 7, 2021

@fun4wut 你好,能请教一下如何使用java直接启动mirai-console吗,我对java的运行机制不太了解……

@fun4wut
Copy link

fun4wut commented Feb 8, 2021

@fun4wut 你好,能请教一下如何使用java直接启动mirai-console吗,我对java的运行机制不太了解……

@QvQQ 试试, ./libs 就是放jar包的目录

java -cp './libs/*' net.mamoe.mirai.console.pure.MiraiConsolePureLoader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants