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

SIF国区登录失败 #6

Open
walterclozet opened this issue Jul 8, 2023 · 15 comments
Open

SIF国区登录失败 #6

walterclozet opened this issue Jul 8, 2023 · 15 comments

Comments

@walterclozet
Copy link

walterclozet commented Jul 8, 2023

按照说明修改后, 安装并部署服务器以后, 可以创建账号并登录游戏. 在下载完成后, 按提示重启游戏, 之后每次启动游戏都会闪退. 根据honoka-chan显示的信息, 下载游戏包大概下载了99开头的那些包, 其他包没有下载. 游戏占用内存大约300多M.

@walterclozet
Copy link
Author

[xorm] [info] 2023/07/09 18:15:08.032940 PING DATABASE sqlite
[xorm] [info] 2023/07/09 18:15:08.033671 PING DATABASE sqlite
[GIN] 2023/07/09 - 18:15:09 | 200 | 27.572µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:09 | 200 | 27.516µs | 192.168.31.3 | GET "/agreement/all?appid=791000035&channelcode=GG103&platform=android&scene=ghome_reopen&version=0"
[GIN] 2023/07/09 - 18:15:09 | 200 | 4.556µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:09 | 200 | 43.035µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:09 | 200 | 15.631µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:09 | 200 | 12.443µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:09 | 200 | 28.486µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:09 | 200 | 2.63µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:09 | 200 | 13.19µs | 192.168.31.3 | GET "/integration/appReport/initialize?appchannel=GG103&appid=791000035&appversion=9.7.1&channel=A1&platform=0&sdkversion=8.5.5.0"
[GIN] 2023/07/09 - 18:15:09 | 200 | 16.323µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 11.547µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 6.514µs | 192.168.31.3 | POST "/v1/account/active"
[GIN] 2023/07/09 - 18:15:10 | 200 | 2.034µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 11.627µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 146.364µs | 192.168.31.3 | POST "/v1/basic/publickey"
[GIN] 2023/07/09 - 18:15:10 | 200 | 28.451µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 2.329µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 66.304µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 2.440703ms | 192.168.31.3 | POST "/v1/basic/handshake"
[GIN] 2023/07/09 - 18:15:10 | 200 | 4.098µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 116.934µs | 192.168.31.3 | POST "/v1/account/initialize"
[GIN] 2023/07/09 - 18:15:10 | 200 | 13.566µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 14.554µs | 192.168.31.3 | GET "/v1/basic/getcode?support_html=1&support_type=1%2C2%2C3&x-app-id=791000035&x-app-version=9.7.1&x-application-channel=GG103&x-channel=A1&x-platform=0"
[GIN] 2023/07/09 - 18:15:10 | 200 | 29.919µs | 192.168.31.3 | POST "/report/ge/app"
[GIN] 2023/07/09 - 18:15:10 | 200 | 12.283µs | 192.168.31.3 | POST "/report/ge/app"
以上是启动闪退的honoka-chan的输出信息.

@YumeMichi
Copy link
Owner

看下是不是99_0_115.zip这个包忘了加密了

@kotori8823
Copy link

@walterclozet
Copy link
Author

walterclozet commented Jul 10, 2023

我用honkypy无法加密, 只能解密, 就维持原样未修改了. 不过下载链接我劫持到自己服务器上去了, 不知道这样行不行?

@walterclozet
Copy link
Author

https://pan.8823.bio/aliyun/%E7%A7%81%E6%9C%8D%E9%83%A8%E7%BD%B2%E6%95%99%E7%A8%8B 建议跟着这里的文档来

as国际版按照这边的教程还是不行, 下载了部分db文件以后会卡在下载中. 国内版打包以后会闪退.

@YumeMichi
Copy link
Owner

我用honkypy无法加密, 只能解密, 就维持原样未修改了. 不过下载链接我劫持到自己服务器上去了, 不知道这样行不行?

没加密肯定闪退

@yuanhongyi
Copy link

大佬们,我执行honoka-chan.exe后输出:
[xorm] [info] 2023/07/19 11:51:12.579491 PING DATABASE sqlite
[xorm] [info] 2023/07/19 11:51:12.591879 PING DATABASE sqlite
就一直卡在这没动静了
这是咋回事啊?

@YumeMichi
Copy link
Owner

大佬们,我执行honoka-chan.exe后输出: [xorm] [info] 2023/07/19 11:51:12.579491 PING DATABASE sqlite [xorm] [info] 2023/07/19 11:51:12.591879 PING DATABASE sqlite 就一直卡在这没动静了 这是咋回事啊?

因为就是没动静,要你客户端连上来才有输出

@yuanhongyi
Copy link

yuanhongyi commented Jul 19, 2023

因为就是没动静,要你客户端连上来才有输出

客户端能进了,但是下载数据的时候提示 ** “发生连接错误,重试” **
可是我已经把数据包放在static/Android/archives,并且修改了config.yml里的url
我可能在哪出问题了?是客户端没改对呢,还是其它的问题?

@YumeMichi
Copy link
Owner

因为就是没动静,要你客户端连上来才有输出

客户端能进了,但是下载数据的时候提示 ** “发生连接错误,重试” ** 可是我已经把数据包放在static/Android/archives,并且修改了config.yml里的url 我可能在哪出问题了?是客户端没改对呢,还是其它的问题?

最新的代码配置文件换成config.json了,第一次启动会自动生成

@1235840
Copy link

1235840 commented Jul 26, 2023

大佬们,请问搭建好之后手机端登陆账号侯显示“发生连接错误 重试”,服务端这边显示

2023/07/27 00:35:43 [Recovery] 2023/07/27 - 00:35:43 panic recovered:
crypto/rsa: decryption error
D:/SIF/honoka-chan-master/encrypt/rsa.go:134 (0x3c089c)
RSA_Decrypt: panic(err)
D:/SIF/honoka-chan-master/middleware/authkey.go:20 (0xa32788)
AuthKey: dummyToken := encrypt.RSA_Decrypt(tDummyToken, "privatekey.pem")
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0xa333d0)
D:/SIF/honoka-chan-master/middleware/common.go:79 (0xa333b4)
Common: ctx.Next()
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0x9f2eb9)
C:/Users/Administrator/go/pkg/mod/github.com/gin-contrib/[email protected]/sessions.go:54 (0x9f2ea5)
Sessions.func1: c.Next()
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0x6d2921)
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102 (0x6d290c)
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0x6d1a46)
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:240 (0x6d1a29)
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174 (0x6d0aea)
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:620 (0x6d0771)
C:/Users/Administrator/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:576 (0x6d029c)
C:/Program Files/Go/src/net/http/server.go:2936 (0x497675)
serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
C:/Program Files/Go/src/net/http/server.go:1995 (0x492b91)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
C:/Program Files/Go/src/runtime/asm_amd64.s:1598 (0x1f7600)
goexit: BYTE $0x90 // NOP

[GIN] 2023/07/27 - 00:35:43 | 500 | 6.742ms | 192.168.1.3 | POST "/main.php/login/authkey"

请问这该怎么解决?

@walterclozet
Copy link
Author

rsa证书不对. 游戏端没有修改或服务端证书文件放错了.

@misaka10843
Copy link

我用honkypy无法加密, 只能解密, 就维持原样未修改了. 不过下载链接我劫持到自己服务器上去了, 不知道这样行不行?

没加密肯定闪退

honkypy似乎只暴露了解密的方法,并没有加密的方法(至少在__main__.py中没有写x

@YumeMichi
Copy link
Owner

我用honkypy无法加密, 只能解密, 就维持原样未修改了. 不过下载链接我劫持到自己服务器上去了, 不知道这样行不行?

没加密肯定闪退

honkypy似乎只暴露了解密的方法,并没有加密的方法(至少在__main__.py中没有写x

linux可以用我编译的HonokaMiku,windows的话用libhonoka

@kotori-ni
Copy link

[xorm] [info] 2023/07/09 18:15:08.032940 PING DATABASE sqlite [xorm] [info] 2023/07/09 18:15:08.033671 PING DATABASE sqlite [GIN] 2023/07/09 - 18:15:09 | 200 | 27.572µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:09 | 200 | 27.516µs | 192.168.31.3 | GET "/agreement/all?appid=791000035&channelcode=GG103&platform=android&scene=ghome_reopen&version=0" [GIN] 2023/07/09 - 18:15:09 | 200 | 4.556µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:09 | 200 | 43.035µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:09 | 200 | 15.631µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:09 | 200 | 12.443µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:09 | 200 | 28.486µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:09 | 200 | 2.63µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:09 | 200 | 13.19µs | 192.168.31.3 | GET "/integration/appReport/initialize?appchannel=GG103&appid=791000035&appversion=9.7.1&channel=A1&platform=0&sdkversion=8.5.5.0" [GIN] 2023/07/09 - 18:15:09 | 200 | 16.323µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 11.547µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 6.514µs | 192.168.31.3 | POST "/v1/account/active" [GIN] 2023/07/09 - 18:15:10 | 200 | 2.034µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 11.627µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 146.364µs | 192.168.31.3 | POST "/v1/basic/publickey" [GIN] 2023/07/09 - 18:15:10 | 200 | 28.451µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 2.329µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 66.304µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 2.440703ms | 192.168.31.3 | POST "/v1/basic/handshake" [GIN] 2023/07/09 - 18:15:10 | 200 | 4.098µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 116.934µs | 192.168.31.3 | POST "/v1/account/initialize" [GIN] 2023/07/09 - 18:15:10 | 200 | 13.566µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 14.554µs | 192.168.31.3 | GET "/v1/basic/getcode?support_html=1&support_type=1%2C2%2C3&x-app-id=791000035&x-app-version=9.7.1&x-application-channel=GG103&x-channel=A1&x-platform=0" [GIN] 2023/07/09 - 18:15:10 | 200 | 29.919µs | 192.168.31.3 | POST "/report/ge/app" [GIN] 2023/07/09 - 18:15:10 | 200 | 12.283µs | 192.168.31.3 | POST "/report/ge/app" 以上是启动闪退的honoka-chan的输出信息.

你好,我也遇到了这样的问题,请问你解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants