CIT Forum Index

Support => General Support / Questions => Resolved Questions => Topic started by: Uzaki on 03 04, 2022, 05:12:00 pm

Title: Disconnected and Cannot reconnect
Post by: Uzaki on 03 04, 2022, 05:12:00 pm
Idk I was not doing anything aside from watching youtube when I switch tab to see how my account is happening, I saw it was disconnectedd and when I tried to reconnect It wont let me.

Key changes :
- Server name wont appear only its IP Address.
- It cannot search for new servers
- It cannot connect
- Basically my MTA has lost internet connectivity
- In my MTA Home UI, you can see that "Latest news" dont show any news anymore.
- My internet is perfectly fine.
- I have restarted my pc
- I have reinstalled MTA multiple times

Images : https://imgur.com/a/stj30En4
Show content
(https://i.imgur.com/WSrq4xm.png)
Show content
(https://i.imgur.com/3sa84Hm.png)
Title: Re: Disconnected and Cannot reconnect
Post by: Vampire on 03 04, 2022, 06:58:26 pm
"connection timed out/lost" and not showing server browser/list point to networking problems.

Download and run as administrator the netfix (https://www.dropbox.com/s/8kyfbievryrmyz1/netfix.bat?dl=1) (this was shared by MTA AC Team). It usually helps to fix this kind of problem, if not, open this: https://discord.com/channels/278474088903606273/278521065435824128/599929249868283908 (it should forward you to Dutchman's guide on MTA discord)
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 03 04, 2022, 07:15:48 pm
"connection timed out/lost" and not showing server browser/list point to networking problems.

Download and run as administrator the netfix (https://www.dropbox.com/s/8kyfbievryrmyz1/netfix.bat?dl=1) (this was shared by MTA AC Team). It usually helps to fix this kind of problem, if not, open this: https://discord.com/channels/278474088903606273/278521065435824128/599929249868283908 (it should forward you to Dutchman's guide on MTA discord)

Ive run the
Show content
Quote
ECHO ON
ECHO Attempting to fix your problem.
netsh online
netsh winsock reset
netsh winhttp reset proxy
netsh interface ipv4 reset
netsh interface ipv6 reset
netsh int ip reset c:\resetLog.txt
netsh interface tcp reset
netsh interface portproxy reset
netsh interface httpstunnel reset
netsh rpc reset
netsh http flush logbuffer
netsh winsock reset all
netsh int 6to4 reset all
netsh int ipv4 reset all
netsh firewall delete
netsh int ipv6 reset all
netsh advfirewall reset
netsh int httpstunnel reset all
netsh int isatap reset all
netsh int portproxy reset all
netsh int tcp reset all
netsh int teredo reset all
netsh int tcp set global autotuninglevel=normal
netsh interface tcp set heuristics disabled
Reset Winsock control
netsh branchcache reset
netsh branchcache flush
fsutil resource setautoreset true C:\
fsutil resource setautoreset true
ipconfig /flushdns
PAUSE
this and saved it as netflix.bat

After running the .bat file do I expect it to be fixed or is there another step after that, cause I runned it and gave me a printed diagnostic but the problem still persist
Title: Re: Disconnected and Cannot reconnect
Post by: IDriver on 03 04, 2022, 08:38:51 pm
Resetting the TCP/IP stack can be a useful way to clear any issues that might be preventing your computer from accessing the Internet or network. In Windows, there are lots of things that could screw up a systems TCP/IP stack and lead to connectivity issues. This is because Microsoft Windows stores most network information including the TCP/IP stack details in the registry and there are lots of ways for third party applications to modify this information.

Luckily Microsoft also implemented a way to reset the TCP/IP stack back to defaults which can clear up a variety of issues. The command to clear and reset the TCP/IP stack (on Windows XP, 7, 8 and 10) is:

netsh int ip reset c:\resetlog.txt
The command must be run in an elevated command prompt windows (WIN+X) and it can be destructive in terms of IPv4 info set on an adapter, so…like don’t run it remotely on a server with a static IP.

But I digress. The issue I’m really getting to is related to Homegroup membership and the Windows 10 upgrade. I found that if you’re upgrading from Windows 7 to Windows 10 and the original system you’re upgrading was joined to a homegroup, then the upgraded system might have issues with the TCP/IP stack (I.e. obtaining an IP address via DHCP).

[the problem]
I spent hours troubleshooting this on several freshly upgraded systems running Windows 10 that couldn’t connect to the network because they couldn’t obtain an IP from the DHCP server. All machines exhibited the same issue and all machines were previously joined to a homegroup (not a domain). Here are the symptoms:

The system is upgraded from Windows 7 to Windows 10 build 1511 and works as expected but cannot obtain an IP address via Ethernet or Wi-Fi.
The system works normally if a static IP is assigned.

Resetting the TCP/IP stack results in the following information:
netsh int ipv4 reset
Resetting interface, OK!
Resetting Unicast Address, OK!
Resetting Neighbor, OK!
Resetting Path, OK!
Resetting , failed.
Access is denied.Resetting , OK!
Restart the computer to complete this action




[the solution]
In essence having had the systems joined to a homegroup somehow messed up the TCP/IP stack in windows 10 after the upgrade to the point that the system cannot obtain an IP address from DHCP. Here’s how to fix the issue:

Open Regedit.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi and expand that folder.
Expand the subfolder named {eb004a00-9b1a-11d4-9123-0050047759bc} and right-click the subfolder named 26. Select Permissions… and ensure that for Everyone the Full Control box is checked.

(https://davidvielmetter.com/wp-content/uploads/2016/11/Change_Network_Key_Permission_Registry_Editor-300x149.png)

Press WIN+X to open a command prompt with elevated permissions. Type netsh int ip reset and hit enter. Now you should see the following results:
Resetting , OK!Restart the computer to complete this action
Reboot the system.

That’s it maybe



I founded one YoutTube video tutorial, maybe it helps you

https://www.youtube.com/watch?v=kNQICeilR7o

If not, better solution than wasting ur time to "fix it" re-install your windows. Tell me if this helps you  :)
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 04 04, 2022, 04:09:26 am
Resetting the TCP/IP stack can be a useful way to clear any issues that might be preventing your computer from accessing the Internet or network. In Windows, there are lots of things that could screw up a systems TCP/IP stack and lead to connectivity issues. This is because Microsoft Windows stores most network information including the TCP/IP stack details in the registry and there are lots of ways for third party applications to modify this information.

Luckily Microsoft also implemented a way to reset the TCP/IP stack back to defaults which can clear up a variety of issues. The command to clear and reset the TCP/IP stack (on Windows XP, 7, 8 and 10) is:

netsh int ip reset c:\resetlog.txt
The command must be run in an elevated command prompt windows (WIN+X) and it can be destructive in terms of IPv4 info set on an adapter, so…like don’t run it remotely on a server with a static IP.

But I digress. The issue I’m really getting to is related to Homegroup membership and the Windows 10 upgrade. I found that if you’re upgrading from Windows 7 to Windows 10 and the original system you’re upgrading was joined to a homegroup, then the upgraded system might have issues with the TCP/IP stack (I.e. obtaining an IP address via DHCP).

[the problem]
I spent hours troubleshooting this on several freshly upgraded systems running Windows 10 that couldn’t connect to the network because they couldn’t obtain an IP from the DHCP server. All machines exhibited the same issue and all machines were previously joined to a homegroup (not a domain). Here are the symptoms:

The system is upgraded from Windows 7 to Windows 10 build 1511 and works as expected but cannot obtain an IP address via Ethernet or Wi-Fi.
The system works normally if a static IP is assigned.

Resetting the TCP/IP stack results in the following information:
netsh int ipv4 reset
Resetting interface, OK!
Resetting Unicast Address, OK!
Resetting Neighbor, OK!
Resetting Path, OK!
Resetting , failed.
Access is denied.Resetting , OK!
Restart the computer to complete this action




[the solution]
In essence having had the systems joined to a homegroup somehow messed up the TCP/IP stack in windows 10 after the upgrade to the point that the system cannot obtain an IP address from DHCP. Here’s how to fix the issue:

Open Regedit.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi and expand that folder.
Expand the subfolder named {eb004a00-9b1a-11d4-9123-0050047759bc} and right-click the subfolder named 26. Select Permissions… and ensure that for Everyone the Full Control box is checked.

(https://davidvielmetter.com/wp-content/uploads/2016/11/Change_Network_Key_Permission_Registry_Editor-300x149.png)

Press WIN+X to open a command prompt with elevated permissions. Type netsh int ip reset and hit enter. Now you should see the following results:
Resetting , OK!Restart the computer to complete this action
Reboot the system.

That’s it maybe



I founded one YoutTube video tutorial, maybe it helps you

https://www.youtube.com/watch?v=kNQICeilR7o

If not, better solution than wasting ur time to "fix it" re-install your windows. Tell me if this helps you  :)

I did what the video shown, still my MTA doesnt work.
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 04 04, 2022, 08:54:59 am
I believe I found a similiar situation and tried everything that has been suggested in that previous post
But he didnt update if he was able to fix it or found a solution, instead I believed he got frustrated and left the server/game.

I am in dire need of help, anyone pls if you experienced this before please help me out here.

LINK : CLICK HERE TO VIEW SIMILIAR PROBLEM (https://cit.gg/index.php?topic=360645.msg5284391#msg5284391)
Title: Re: Disconnected and Cannot reconnect
Post by: Drago. on 04 04, 2022, 09:44:09 am
This might or might not work, but I would like to suggest you to do two things and try.

Restart your router/modem or whatever device is routing your internet.

If the above doesn't work ^ try to use a VPN and check if your MTA detects internet and shows the list of the servers.
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 04 04, 2022, 12:14:55 pm
This might or might not work, but I would like to suggest you to do two things and try.

Restart your router/modem or whatever device is routing your internet.

If the above doesn't work ^ try to use a VPN and check if your MTA detects internet and shows the list of the servers.

I have done and restarted my Modem/router.

About VPN, what VPN would you suggest. I have proton but it doesnt seem to work
Title: Re: Disconnected and Cannot reconnect
Post by: Revo. on 07 04, 2022, 06:35:17 pm
Solved? @Uzaki
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 07 04, 2022, 07:11:45 pm
Partially but I am still looking for a permanent fix.

VPN works but I need to fix it that I wont be needing VPN so I can perform my duties as Guide better.
Title: Re: Disconnected and Cannot reconnect
Post by: Shark. on 08 04, 2022, 05:26:57 pm
The best solution way is to reset your computer and do a clean installation for MTA. If you try to solve it by cmd or etc. you will put a lot of effort and you can't fix %90.
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 08 04, 2022, 05:30:36 pm
The best solution way is to reset your computer and do a clean installation for MTA. If you try to solve it by cmd or etc. you will put a lot of effort and you can't fix %90.

I already did that nothing happened
Title: Re: Disconnected and Cannot reconnect
Post by: Shark. on 08 04, 2022, 05:40:45 pm
If you are using a network cable, try to use WI-FI. Else you can use a network cable
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 08 04, 2022, 05:42:25 pm
If you are using a network cable, try to use WI-FI. Else you can use a network cable

I am using a wifi connection as LAN cable are not available in my area rn
Title: Re: Disconnected and Cannot reconnect
Post by: fr3o0on on 08 04, 2022, 05:55:40 pm
I already did that nothing happened
This problem happened to me in the past, but it was resolved for a long time
There are some solutions that helped me

Re-download the MTA and reinstall again

Reboot the router and try logging in again
And this problem occurs most of the time if you have a problem with the Internet

Make sure that the internet is connected to the computer and is working properly

Try accessing some websites and browsers to make sure that there is no problem
Because sometimes there is a problem from the Internet company, which is that you cannot enter some sites, so this problem stops you from entering any server


After reinstalling the game, try searching for servers

And tell me if it doesn't work, I'll tell you another solution

NOTE : I didn't read the other solutions I just posted this after reading your trouble
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 08 04, 2022, 07:22:08 pm
This problem happened to me in the past, but it was resolved for a long time
There are some solutions that helped me

Re-download the MTA and reinstall again

Reboot the router and try logging in again
And this problem occurs most of the time if you have a problem with the Internet

Make sure that the internet is connected to the computer and is working properly

Try accessing some websites and browsers to make sure that there is no problem
Because sometimes there is a problem from the Internet company, which is that you cannot enter some sites, so this problem stops you from entering any server


After reinstalling the game, try searching for servers

And tell me if it doesn't work, I'll tell you another solution

NOTE : I didn't read the other solutions I just posted this after reading your trouble

I already reinstalled 5x my MTA and even deleted the logs and other resources just to be sure that I am installing a fresh and new MTA server files.


I have also tried to reboot my router/modem, but its WIFI modem and I have no access to have my LAPTOP connected to the modem with a cable.

Title: Re: Disconnected and Cannot reconnect
Post by: fr3o0on on 09 04, 2022, 04:43:14 pm
I already reinstalled 5x my MTA and even deleted the logs and other resources just to be sure that I am installing a fresh and new MTA server files.


I have also tried to reboot my router/modem, but its WIFI modem and I have no access to have my LAPTOP connected to the modem with a cable.
if you make sure that you network is fine



So Check your firewall if it allows mtasa.

1. Click Start in the Search for Programs and Files box
2. Type: Firewall
3. Look for ''Allow an app or feature through Windows Firewall'' click it
4. It will look like this

(https://c.top4top.io/p_2290vjjti1.png)
5. Once you already changed it, re-install your MTA.
tell me if this didn't work because there is alot of reason
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 09 04, 2022, 05:58:24 pm
if you make sure that you network is fine



So Check your firewall if it allows mtasa.

1. Click Start in the Search for Programs and Files box
2. Type: Firewall
3. Look for ''Allow an app or feature through Windows Firewall'' click it
4. It will look like this

(https://c.top4top.io/p_2290vjjti1.png)
5. Once you already changed it, re-install your MTA.
tell me if this didn't work because there is alot of reason

Already did this and installed my MTA for nTH times. still only VPN Works
Title: Re: Disconnected and Cannot reconnect
Post by: fr3o0on on 09 04, 2022, 06:57:23 pm
Already did this and installed my MTA for nTH times. still only VPN Works
Okey can you try to share WiFi Hotspot from your phone to your PC / Laptop and tell if this wokting or no
If only vpn working so maybe this trouble will be from your network
Btw I will help you but try this
Title: Re: Disconnected and Cannot reconnect
Post by: fr3o0on on 09 04, 2022, 07:00:36 pm
Sorry for double post but I cant edit my post
Another solution try to change your DNS  and put your WIFI IP in your windows network
If you didn't understand I will show you with SS how to do that but now iam posting from my phone
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 09 04, 2022, 07:15:34 pm
Sorry for double post but I cant edit my post
Another solution try to change your DNS  and put your WIFI IP in your windows network
If you didn't understand I will show you with SS how to do that but now iam posting from my phone

I havent tried this one. My internet is perfectly fine with other device and other programs
Title: Re: Disconnected and Cannot reconnect
Post by: fr3o0on on 10 04, 2022, 05:53:11 pm
I havent tried this one. My internet is perfectly fine with other device and other programs

This video from YouTube because I can't open my pc iam. Not in my home
https://youtu.be/F-byRj7xjZg
Try this and tell me
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 12 04, 2022, 08:49:35 am
I am very certain now that it was my ISP that was causing the problem, not my Laptop. I am here in the City and connected to another set of WIFI connection and it can work perfectly fine.

Any fix for this?
Title: Re: Disconnected and Cannot reconnect
Post by: Drago. on 12 04, 2022, 10:38:04 am
I am very certain now that it was my ISP that was causing the problem, not my Laptop. I am here in the City and connected to another set of WIFI connection and it can work perfectly fine.

Any fix for this?
Usually, if it's an issue from ISP end and all other games are working, then somehow they are blocking mtasa. (Because you said VPN works fine on the same machine). Did you try connecting directly using CIT's ip address? -> mtasa://s0.cit.gg:22003

I have also tried to reboot my router/modem, but its WIFI modem and I have no access to have my LAPTOP connected to the modem with a cable.
Whilst connected to the modem, go to 192.168.1.1; Hopefully a login page will popup, enter "admin" as username, "password" as password or just leave it empty (unless it has pre configured logins by your isp). If you get to login, play around the page a bit and find "restart modem/router" option in the "Maintenance" or other similar section.

Note: Don't change other things, it might cause you trouble.

Title: Re: Disconnected and Cannot reconnect
Post by: fr3o0on on 18 04, 2022, 06:24:23 am
Any news about your problem? @Uzaki
Did you solve it ?
Title: Re: Disconnected and Cannot reconnect
Post by: Darwin97 on 18 04, 2022, 01:38:57 pm
I'll suggest you rewind your PC back to the last point MTA was working fine for you, that usually fixes any problem with any program.

here's a video that can help you know how https://www.youtube.com/watch?v=KsMD1VBTl_M
How will you do it? just look at the backup dates your PC made and look for a one that's before your started having this issue (should be more than 2-3 days before just to be safe) and then rewind your PC back to that point

WARNING
This will delete everything you did from now t the point you rewind your PC to so I suggest you backup everything you want to an external hard drive
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 19 04, 2022, 09:22:04 am
I'll suggest you rewind your PC back to the last point MTA was working fine for you, that usually fixes any problem with any program.

here's a video that can help you know how https://www.youtube.com/watch?v=KsMD1VBTl_M
How will you do it? just look at the backup dates your PC made and look for a one that's before your started having this issue (should be more than 2-3 days before just to be safe) and then rewind your PC back to that point

WARNING
This will delete everything you did from now t the point you rewind your PC to so I suggest you backup everything you want to an external hard drive

Im kinda scared to do this kind of fix since im also using my laptop for my work and project as a programmer
Title: Re: Disconnected and Cannot reconnect
Post by: GaMeFeR on 27 04, 2022, 05:52:23 am
Im kinda scared to do this kind of fix since im also using my laptop for my work and project as a programmer
There's no risk on losing anything unless the data u want to rewind back will make you lost anything you recently downloaded, got me?
Title: Re: Disconnected and Cannot reconnect
Post by: fr3o0on on 28 04, 2022, 12:35:10 am
Hello ,@Uzaki
Did you tried to change your DNS server or IP
There was someone with the same problem that happened to you, but solved it with this way
You can try this and it will not harm you in any way because you can return everything easy.
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 01 05, 2022, 03:19:05 pm
PROBLEM SOLVES.

THANK YOU @fr3o0on  For the solution. Took me a while but its solved now.

(http://blob:https://imgur.com/2ee1a0a9-6501-4a12-94f5-a866ee7fb1a4)
Title: Re: Disconnected and Cannot reconnect
Post by: Uzaki on 01 05, 2022, 03:25:44 pm
PROBLEM SOLVES.

THANK YOU @fr3o0on  For the solution. Took me a while but its solved now.

(https://i.imgur.com/AFKD3c4.png)
Title: Re: Disconnected and Cannot reconnect
Post by: Vermouth on 01 05, 2022, 03:26:38 pm
Good Job, fr3o0on

Locked