LCKB
[FIX]BAD_CONNECTION and Login Server Problem - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Release Zone (https://lckb.dev/forum/forumdisplay.php?fid=190)
+---- Forum: Episode 2 Releases (https://lckb.dev/forum/forumdisplay.php?fid=186)
+----- Forum: Server Side (https://lckb.dev/forum/forumdisplay.php?fid=143)
+----- Thread: [FIX]BAD_CONNECTION and Login Server Problem (/showthread.php?tid=911)

Pages: 1 2


- Viciten - 11-09-2012



Yeah , same for me, i tried everything. Even disabled firewalls, didnt work. 1 last thing to try, im gonna try to portforward from my router.

 

Please tell as if you have any sucess




- iFlash - 11-10-2012

Nop, didnt work. Its not because of the hash or any acc info. Because i can type in literally anything i want in user and password and it will still show that error.




- Accelerator - 11-12-2012

what do a dont have iptables




- BashVendetta - 11-12-2012



Hello all,

I decided to post guide cuz many of ppl not knows about it

 

FIX BAD_CONNECTION & FIX Login Server Problem

1. Open Terminal

2. Type: SU

3. Write: service iptables stop

4. Open Terminal

5. Type: vi /etc/sysconfig/iptables

6. Add:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 4001 -j ACCEPT

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 4101 -j ACCEPT

Save & Exit

 

FIX BAD_CONNECTION & FIX Login Server Problem (method 2)

1. Swich user

Username: root

Password: same for user

2. Go in Computer/etc/sysconfig/iptables

3. Open with Gedit

4. Add:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 4001 -j ACCEPT

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 4101 -j ACCEPT

5. Open Terminal

6. Write: service iptables stop

 

 

CREDITS: MaX, LUO, ME (METHOD 2, but took from MaX`s ide so can give credits max to MaX )

 

Why would the solution be to close down your only form of security? Sounds dumb and it didn't work.

 

I am currently using CSF and it is working fine the ports are opened when the gameserver and loginserver is launched so this shouldn't be an issue regarding connection, all processes are linked correctly as well, I have tried creating a registration script using the password encoding it gives the same result as Wizateks php page and the hash generator so again it isn't password related either.

 

I had this working on Ubuntu earlier and I didn't get this error until I switched to CentOS I am new to CentOS I know my linux distro's so it won't take too long to get comfortable but again.... it's becoming annoying.

 

I'm lost for ideas now lol




- BashVendetta - 11-12-2012


After double checking through all my work I done I decided to close in the db's so there wasn't 4 of them and just made 2

 

newproject_data

newproject_db

 

merging the post and auth db's into newproject_db then I went through the configs updated them and it fixed my issue for Bad Connection so double check your configs.




- Viciten - 11-12-2012

try username and password with small letters




- DrGenius - 04-16-2013

why you need stop iptables lol, just add all ports and thats all.




- lordzik112 - 04-16-2013


Use this :-)

http://toxic-l33t.ddns.net/forum/index.php?/topic/6643-fix-t-iplist/

this is Fix you problem :-)

 

or Change Port Login :-)