atheme-legacy / iris

web irc client for the atheme platform
Other
38 stars 22 forks source link

Exception on connect #18

Closed virtualmarc closed 11 years ago

virtualmarc commented 11 years ago

When I want to connect to the irc network with the newest version of IRIS I'm getting the following exception:

2013-03-01 20:23:07+0100 [TimeoutHTTPChannel,0,XX.XXX.XXX.XX] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 1371, in dataReceived
            finishCallback(data[contentLength:])
          File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 1585, in _finishRequestBody
            self.allContentReceived()
          File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 1641, in allContentReceived
            req.requestReceived(command, path, version)
          File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 807, in requestReceived
            self.process()
        --- <exception caught here> ---
          File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 125, in process
            self.render(resrc)
          File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 132, in render
            body = resrc.render(self)
          File "/usr/lib/python2.6/dist-packages/twisted/web/resource.py", line 210, in render
            return m(request)
          File "/home/ircwebchat/iris/qwebirc/engines/ajaxengine.py", line 34, in decorator
            x = fn(*args, **kwargs)
          File "/home/ircwebchat/iris/qwebirc/engines/ajaxengine.py", line 181, in render_POST
            return handler(self, request)
          File "/home/ircwebchat/iris/qwebirc/engines/ajaxengine.py", line 235, in newConnection
            proceed(None)
          File "/home/ircwebchat/iris/qwebirc/engines/ajaxengine.py", line 231, in proceed
            client = ircclient.createIRC(session, **kwargs)
          File "/home/ircwebchat/iris/qwebirc/ircclient.py", line 229, in createIRC
            bind_ip = config.irc["bind_ip"]
        exceptions.KeyError: 'bind_ip'

It doesn't matter if I connect over SSL or not. I'm using the latest UnrealIRCd version as IRC Server and run the IRIS Wehchat on the latest 64Bit Version of Debian Squeeze (all updates installed)!

mrflea commented 11 years ago

You need to add the bind_ip configuration item to the [irc] section of your configuration file. This option may already be in the [execution] section of your config file, in which case you should move it to [irc] and delete the bind_port option.