prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

Unable to connect intermittently. #885

Open ZombieProtectionAgency opened 8 years ago

ZombieProtectionAgency commented 8 years ago

After around 6 users connect to my IRC server using KiwiIRC we lose the ability to connect. It hangs at connecting for a period then displays "Error Connecting (Error: xhr post error)"

When viewing the console I see the following repeated over and over again.

POST https://irc.xxxxx.yyy/kiwi/transport/?EIO=3&transport=polling&t=1467919583596-62&sid=NRiG_K1oP8lUW-WqAADS 400 (Bad Request)
_kiwi.gateway.socket.on('open')
_kiwi.gateway.socket.on('reconnecting')  
_kiwi.gateway.socket.on('close')  

When I view the requests I see {"code":1,"message":"Session ID unknown"}

ZombieProtectionAgency commented 8 years ago

I noticed a bunch of issues regarding websocket stuff but after implementing the fixes mentioned in #592 and #499 I still have the same problem.

This issue also existed before I started using apache, I directly cloned KiwiIRC and set it up using the instructions on the site. The only changes i made to config were uncommenting the SSL section and changing the ports to 80/443