Grasscutters / Grasscutter

A server software reimplementation for a certain anime game.
https://grasscutter.io/
GNU Affero General Public License v3.0
16.21k stars 4.47k forks source link

[Issue] Can't log in on someone's server. #851

Closed Mat6Mat closed 2 years ago

Mat6Mat commented 2 years ago

Basically, I installed GrassClipper succesfully and I wanted to play with other people too so we attempted to use Hamachi. I added the Ipv4 as the ip address and left the port untouched. It all went FINE until the part with the door, where I clicked on it to start up the game but I was greeted by a White Screen and the error code says "Log In Failed, Try again" If I try again it's the same thing, a loop. I really want to play co-op with hacks to try builds and stuff.

Hutaohebao commented 2 years ago

I met the same issue yesterday. First, check if the UDP port on the server-side is enabled. If still not working, try Radmin or ZeroTier and see if it works.

diona-katzlein commented 2 years ago

I try make server using ZeroTier. All running fine but when try login in-game got message Erro Code: 4206 Logs on Grasscutter: 11:08:45 [Dispatch] Client 10.147.20.111 is trying to log in via token 11:08:45 [Dispatch] Client 10.147.20.111 logged in via token as 10002 11:08:46 [Dispatch] Client 10.147.20.111 succeed to exchange combo token

Logs on mitmproxy: 127.0.0.1:6471: GET https://10.147.20.111/combo/box/api/config/sdk/combo?biz_key=hk4e_global&client_type=3 << 200 OK 140b 127.0.0.1:6473: POST https://10.147.20.111/hk4e_global/combo/granter/api/compareProtocolVersion? << 200 OK 209b 127.0.0.1:6470: GET https://10.147.20.111/hk4e_global/mdk/shield/api/loadConfig?client=3&game_key=hk4e_global << 200 OK 533b 127.0.0.1:6469: POST https://10.147.20.111/sdk/dataUpload << 200 OK 10b 127.0.0.1:6472: GET https://10.147.20.111/hk4e_global/combo/granter/api/getConfig?app_id=4&channel_id=1&client_type… << 200 OK 392b

What i should do?

LaoSparrow commented 2 years ago

I got a similar issue like yours in #836 , try my solution in this issue

dongriiiii commented 2 years ago

edit "config.json" change all "Public Ip" from "127.0.0.1" to your server's IMG_20220513_180611.jpg

memetrollsXD commented 2 years ago

This is an issue tracker, not a support forum. Please visit the Discord for further support.

GitHub issue 不是技术支持论坛。需要技术支持请去 Discord,里面有专门的中文频道