#no connection could be made because the target machine actively refused it

143 messages · Page 1 of 1 (latest)

granite cedar
#

So I was able to fix it before, but since I'm stupid I cannot remember how I fixed it. the launch page is completely white but the text is still there. I cannot screenshot it because for some reason my PC is shitting itself. I think I have everything else figured out I just need help lolol

#

hope this adds perspective???

tawdry pagoda
granite cedar
#

I followed the instructions but it was still the same

#

wait nvm I got it back I think

#

still having issues after

tawdry pagoda
#

You'll either have to extract manually (if you cancelled the extraction midway) or download manually, your resources will only be 3.0 if you use the Cultivation ones, but will be 3.1 if you download manually

granite cedar
#

thank you bestie

tawdry pagoda
#

No problem

granite cedar
#

aaand im back. i looked at other threads for my problems and did pretty much everything. So i created a user and a uid but it says system error when i put it in

#

when i put the username into the client i mean

tawdry pagoda
#

System error is answered in the pinned post "List of common issues", you need to disable encryption and restart the server

#

You must also be connecting to localhost on 443 with 'use https' unchecked

granite cedar
#

yup i did all of that

tawdry pagoda
#

The only other cause for system error is if your server is not running, such as if it exited due to an error like the one above

granite cedar
#

everything seems to check out but i might be doing something wrong when logging in?

#

do i use the uid as the password or can i just use a random one

tawdry pagoda
#

use anything as password, there are no set passwords

granite cedar
#

alright

tawdry pagoda
#

as long as anything at all is in the box you will log in

granite cedar
#

this all checks out right?

tawdry pagoda
#

No, your server has exited due to port in use

#

Close all grasscutter consoles

granite cedar
#

okay

tawdry pagoda
#

Once they are all closed, then start the server again

#

If you get the same error, then close that one and open task manager, look under "Background processes" for java tm se platform binary and end it, then start the server again

granite cedar
#

everything seems to be checking out. everything looks good except for it saying connection failed

tawdry pagoda
#

Proxy issue probably, assuming you've set your Cultivation connection settings correctly by the launch button

#

make sure 'use internal proxy' is on in Cultivation settings, and if you turned off your windows proxy it needs to be turned on again

granite cedar
tawdry pagoda
#

those are good to go

#

your connection attempt will show up in the grasscutter console when you try to login if it is correct

granite cedar
#

still not loading kms

tawdry pagoda
#

are you seeing the connection in console like mentioned above

#

if not, proxy issue most likely

#

but could still be related to https/encryption (but less likely)

granite cedar
#

I'm not seeing the connection

granite cedar
#

how do i figure out the issue with the proxy?

tawdry pagoda
#

Use Fiddler instead of Cultivation would be my suggestion

granite cedar
#

okay and is it safe to use my main account?

tawdry pagoda
#

You can't use your real account on private servers, if that's what you mean

granite cedar
#

ohhh okay

#

im getting a 505 error

tawdry pagoda
#

Did you follow the full fiddler setup and turned off internal proxy in Cultivation settings?

#

Or launch the game exe directly instead of using Culti at all

granite cedar
#

whoops i did not turn off internal proxy

#

now its a 502. trned off internal proxy and running the exe

tawdry pagoda
#

Ok you need to enable encryption and restart the server

#

You can go to your config.json in your grasscutter folder and set useEncryption and useInRouting to true

granite cedar
#

the encryption toggle isnt working for some reason. i keep on clicking it and it wont enable

tawdry pagoda
#

Right, so you'll need to go to your config.json in your grasscutter folder and set useEncryption and useInRouting both to true, and restart the server

granite cedar
#

via fiddler?

tawdry pagoda
#

Fiddler is a proxy, you'll want to change the settings in your config.json then restart the grasscutter server

tawdry pagoda
granite cedar
#

i did all of that but its stil throwing a 502

tawdry pagoda
#

Did you follow all of the fiddler setup

granite cedar
#

yup

tawdry pagoda
#

You will probably need to restart fiddler if you had internal proxy on, since that will fight with fiddler for proxy settings

#

You'll also need to make 100% sure you restart the server after enabling encryption

granite cedar
#

okay im about to sound really dumb rn so bear with me, restarting is just closing and reopening or am i being stupid

tawdry pagoda
#

Closing and reopening the grasscutter console is restarting it, yes

granite cedar
#

thanks lol

tawdry pagoda
#

Some people think reloading it counts, so I just have to make sure that it gets restarted

granite cedar
#

alright cool got out of the 502 nightmare and now it is saying i have a account/ password error

tawdry pagoda
#

do you have fiddler open?

granite cedar
#

si

tawdry pagoda
#

close and reopen

granite cedar
#

same thing

tawdry pagoda
#

your proxy isn't on if you're getting that

granite cedar
#

?

tawdry pagoda
#

Yep says at the top of Fiddler, it's not connected because something changed your proxy settings

#

Click the yellow bar

granite cedar
#

did that

#

is there any way we can hop in vc and i can screenshare

tawdry pagoda
#

If the yellow bar reappears it means something else is using your proxy settings and it won't work, you'll need to close whatever else is trying to use it

granite cedar
#

nothing else is running other than fidder, the exe, and my settings and its throwing a 502 again

tawdry pagoda
#

Relaunch the game, something else took over your proxy so you should just reset and try again. Also when you get to the login screen fiddler will have a popup saying invalid cert chain, you must say yes to it

granite cedar
#

i did not get the pop up

tawdry pagoda
#

the way you have it set up, the port is already in the address field so the port box should be empty

granite cedar
#

okay i fixed it and im still getting the same thing. whenever i turn off the proxy in the settings the request seems to go through but i get the username/passowrd error and when i have it on i get the 502 error

tawdry pagoda
#

Where exactly are you saying you're turning off the proxy, in windows settings?

granite cedar
#

yuh

tawdry pagoda
#

That would indeed give you an account error, since you're just connecting to official servers if you do that

#

Ok lets get a few things out of the way, close fiddler and re-open it. Do not touch your windows proxy settings

#

Launch the game from the game exe directly, Cultivation should be closed

#

Your server needs useEncryption and useInRouting both set to true, saved, and then server restarted

#

Another way to do it would be to stop the server, delete config.json, then start the server again

#

Then you can connect. Do not touch your windows proxy settings still

#

Fiddler will have a pop up when the connection is made, you must say yes to it

#

During the duration that you are playing on the private server, Fiddler must stay open and your windows proxy settings must remain untouched

#

Once you're done playing and have closed the game then you can close fiddler without issue

granite cedar
#

should i just unistall cultivation?

tawdry pagoda
#

You can if you want, if you're going to end up not using it then you may as well

granite cedar
#

looks like im getting a boatload of errors

tawdry pagoda
#

They're all blocked, you can double click on one of them and see what the header says next to 502

granite cedar
tawdry pagoda
#

Ok go ahead and stop your server, delete config.json, then start the server again

#

The next thing to do if that still 502 after doing that and making sure that your proxy settings were fixed would be to open the ports 80, 443, 8888, 22102 in windows defender firewall with advanced security under inbound rules

granite cedar
#

im in the inbound rules and cannot find where to open the ports

#

nvm

#

ughh still getting the 502 errors

#

i deleted the json file and opened the ports

tawdry pagoda
#

Did you fix the proxy settings

#

Or rather, are they still messed up

#

Restarting Fiddler should have fixed it

granite cedar
#

do i just check my windows proxy setting or what settings should i check

tawdry pagoda
#

yeah look at your windows proxy settings

granite cedar
tawdry pagoda
#

ok good it is set correctly now

#

Ok do this for me, in your fiddler script change localhost to cherrymint.live and then run the game again and try to log in

granite cedar
#

i did it and it said unable to connect to server

tawdry pagoda
#

You closed and reopened the game after changing it in the fiddler script right?

granite cedar
#

yup

tawdry pagoda
#

And what does fiddler say about the connection requests

granite cedar
tawdry pagoda
#

All the logs, not just a 404

#

there are a couple 404s that are intentional

granite cedar
tawdry pagoda
#

The logs are correct, 200 OK means the connection was made without issue

#

You put in a name and any password right

granite cedar
#

yup

tawdry pagoda
#

Ok so what error did you get

granite cedar
#

4214

tawdry pagoda
#

Ok so you haven't patched userassembly, you need to do that before you can play on any private server

granite cedar
#

after i download the zip what do i do

tawdry pagoda
#

Follow the instructions in the link above

granite cedar
#

it worked

#

omg

#

thank you so much

#

apparently netflix hates the proxy

#

no more greys anatomy and genshin

tawdry pagoda
#

some sites don't like there being proxies unfortunately, but at least you're in now

granite cedar
#

can i use the same commands n stufff ?

tawdry pagoda
#

Yes

granite cedar
#

cool and i was able to find the commands before but cannot find them now

tawdry pagoda
#

#resources message

granite cedar
#

is there any way to use domains? they dont seems to be working for me

tawdry pagoda
#

Any domains that are currently working will be accessible by walking up to the door like you would on official