Houdini AS3 Start up issue

hello there im having an issue when i run Login.py and World.py it comes back with this error File “Login.py”, line 4, in
server.start()
File “/root/houdini/Houdini/HoudiniFactory.py”, line 229, in start
reactor.listenTCP(port, self)
File “/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py”, l ine 495, in listenTCP
p.startListening()
File “/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py”, line 13 63, in startListening
raise CannotListenError(self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn’t listen on any:6112: [Errno 98 ] Address already in use.
Exception in thread Thread-4 (most likely raised during interpreter shutdown):Ex ception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
File “/usr/local/lib/python2.7/dist-packages/watchdog/observers/api.py”, line 200, in run
<type ‘exceptions.AttributeError’>: ‘NoneType’ object has no attribute ‘Empty’

Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
File “/usr/local/lib/python2.7/dist-packages/watchdog/observers/api.py”, line

if anyone knows what this means your help would be awesome thanks!

That error is saying that something else is running on port 6112 (which is what the login server uses).

You need to kill whatever is running on port 6112. It’s most likely that you’ve ran the login server already and didn’t terminate the original process for whatever reason i.e. you closed the putty session but did not kill the login server properly.

Try executing: killall python and then re-run Houdini.

worked at first however responded with

File “/usr/local/lib/python2.7/dist-packages/twisted/python/log.py”, line 103, in callWithLogger
return callWithContext({“system”: lp}, func, *args, **kw)
File “/usr/local/lib/python2.7/dist-packages/twisted/python/log.py”, line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File “/usr/local/lib/python2.7/dist-packages/twisted/python/context.py”, line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File “/usr/local/lib/python2.7/dist-packages/twisted/python/context.py”, line 85, in callWithContext
return func(*args,**kw)
— —
File “/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py”, l ine 614, in _doReadOrWrite
why = selectable.doRead()
File “/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py”, line 24 3, in doRead
return self._dataReceived(data)
File “/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py”, line 24 9, in _dataReceived
rval = self.protocol.dataReceived(data)
File “/usr/local/lib/python2.7/dist-packages/twisted/protocols/basic.py”, line 454, in dataReceived
self.lineReceived(line)
File “/root/houdini/Houdini/Spheniscidae.py”, line 123, in lineReceived
self.handleXmlData(data)
File “/root/houdini/Houdini/Spheniscidae.py”, line 52, in handleXmlData
Handlers.HandleXML(self, action, bodyTag)
File “/root/houdini/Houdini/Handlers/init.py”, line 885, in HandleXML
xmlListener(clientObject, xmlData)
File “/root/houdini/Houdini/Handlers/init.py”, line 46, in call
self.function(*args, **kwargs)
File “/root/houdini/Houdini/Data/init.py”, line 14, in retryFunction
return f(callerObject, *args, **kwargs)
File “/root/houdini/Houdini/Handlers/Login/Login.py”, line 34, in handleLogin
if not bcrypt.checkpw(password, user.Password):
File “/usr/local/lib/python2.7/dist-packages/bcrypt/init.py”, line 107, in checkpw
ret = hashpw(password, hashed_password)
File “/usr/local/lib/python2.7/dist-packages/bcrypt/init.py”, line 86, in hashpw
raise ValueError(“Invalid salt”)
exceptions.ValueError: Invalid salt

Looks like an issue with your bcrypt hashed password. Are you using a register? If so, which one?

yes i am using a register this is the one here https://solero.me/t/cps-register-template-external-register/94

Could you check in your database if the passwords are being stored as bcrypt hashes?

The last time I saw an error like this was when the passwords were being stored in plain-text.

Are you definitely using the AS3 version of the register too? What salt is used in /ajax/encryption.php ?

yes the password is hased in bcrypt and i will check on the /ajax/encryption