#Getting error 4206 after following all guides
65 messages · Page 1 of 1 (latest)
Cultivation is grasscutter, but you need to be more specific about your setup
Local? External? Game version?
External server, Game version 3.2, using this server
#resources message
It's a windows 10 virtual machine, which is behind a NAT router vm to access the internet, all ports have been forwarded in that too
Ok hold on, you're hosting that server on an external network and connecting to it from your normal machine?
yup, that's the plan
Ok you first should not use Cultivation for it then, use mitm or fiddler
Then did you configure the server to be hosted that way?
If you left on it default then it's hosting on localhost still
It has a local mongodb installed, but i didn't yet install either fiddler or mitm
So do i change the "accessAddress" to be the IP of the server?
Yes
the public one or the one given to it via dhcp
That is answered in the pinned post by the way, though the solution there is using hamachi the steps are exactly the same if you host it on a different ip
okay, i will try to use fiddler
You change it to whatever you are connecting to
if you're connecting to the public ip then change it to that, etc
You will need to enable useEncryption and useInRouting again
You can reference the pinned post "[READ THIS FIRST] List of common issues" for "How to play with friends / 4206" https://discord.com/channels/965284035985305680/1025543438604710018
Pinned post in #1019987283593674883, not pinned messages in this thread
okay now it's 4214, i'll check what that is and reply back if i can solve it
Just need to patch game, the pinned post has the instructions at the top of the list
unclear if i should put the UA in client or on server client
It's client, there is no UA on the server
okay now it times out, that's a start
Did you change both the server and the game access addresses? If you only changed server you'll time out trying to reach game
The game access address is just lower down in the config
I did change both of them, however i didn't set the accessPort, do i need to set those too?
the bindAddress is still 0.0.0.0 with the ports set
I assigned the server a public static IP instead of a private NATed IP
Leave everything else on default, only change accessAddresses
both are on the 148.251.xx.xx address
then make sure you also have useEncryption and useInRouting set to true, and are connecting with either fiddler or mitm fully set up
is fiddler to be installed on the client side or the server side? Can you maybe link me a guide to it that i can follow?
proxy is for the client, server doesn't need anything other than grasscutter and its prereqs of java/mongodb
you can follow this but leave out the cultivation parts #1035621998677741579 message
or follow the one from the grasscutter github, fiddler bullet point https://github.com/Grasscutters/Grasscutter#connecting-with-the-client
it uses the old script though
okay now what do i do about 504
i did set the encryption to true and installed fiddler, added the script and launched it
did you restart the server after changing useEncryption and useInRouting? Won't apply until restart
That is correct
okay, still getting a white screen and then a timeout, despite using the regular client, i accepted the warnings in the fiddler too
You will see the connection requests in your server console
ok that is good at least, if you got the cert chain warnings then the connection is being made
No that is for mitm
okay so both useEncryption and useInrouting are true, the server has been restarted between that change and fiddler is running
does the address in oS.host.Equals need to be changed?
it needs to be the same as the accessAddress you've set the server to host on
oh you mean in there, no
just the oS.host = localhost needs to be changed
yea that's done
if you change the other ones (the ones being redirected) you won't connect at all
i see some requests being made to the server, all returning 200
but still timing out after a few seconds