# Houdini AS3 Start up issue

**URL:** <https://solero.me/t/houdini-as3-start-up-issue/256>\
**Category:** Support\
**Created:** [December 7, 2019, 9:43pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256 "2019-12-07T21:43:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cooperstar6](https://solero.me/user_avatar/solero.me/cooperstar6/32/356_2.png) [@cooperstar6](https://solero.me/u/cooperstar6)\
**Post date:** [December 7, 2019, 9:43pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256/1 "2019-12-07T21:43:38Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![rsakeys](https://solero.me/user_avatar/solero.me/rsakeys/32/480_2.png) [@rsakeys](https://solero.me/u/rsakeys)\
**Post date:** [December 7, 2019, 10:03pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256/2 "2019-12-07T22:03:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cooperstar6](https://solero.me/user_avatar/solero.me/cooperstar6/32/356_2.png) [@cooperstar6](https://solero.me/u/cooperstar6)\
**Post date:** [December 7, 2019, 10:19pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256/3 "2019-12-07T22:19:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rsakeys](https://solero.me/user_avatar/solero.me/rsakeys/32/480_2.png) [@rsakeys](https://solero.me/u/rsakeys)\
**Post date:** [December 7, 2019, 10:22pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256/4 "2019-12-07T22:22:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cooperstar6](https://solero.me/user_avatar/solero.me/cooperstar6/32/356_2.png) [@cooperstar6](https://solero.me/u/cooperstar6)\
**Post date:** [December 7, 2019, 10:30pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256/5 "2019-12-07T22:30:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rsakeys](https://solero.me/user_avatar/solero.me/rsakeys/32/480_2.png) [@rsakeys](https://solero.me/u/rsakeys)\
**Post date:** [December 7, 2019, 10:33pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256/6 "2019-12-07T22:33:49Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![cooperstar6](https://solero.me/user_avatar/solero.me/cooperstar6/32/356_2.png) [@cooperstar6](https://solero.me/u/cooperstar6)\
**Post date:** [December 7, 2019, 10:40pm UTC](https://solero.me/t/houdini-as3-start-up-issue/256/7 "2019-12-07T22:40:28Z")

</div>

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