Skip to content

Can't connect to irc network when using nodejs version v0.10.17 #268

Closed
theblazehen opened this Issue Aug 22, 2013 · 3 comments

4 participants

@theblazehen

I have installed this on a vps running CentOS.
I can access the web interface, however when I try to connect to irc(freenode) then it gets stuck with a spinner

It works fine on a fresh install of ubuntu which uses v0.6.12

There are no error to be seen in the log

@mlutfy
mlutfy commented Sep 13, 2013

I'm not very familiar with nodejs programming, but while debugging in ./node_modules/irc/lib/irc.js, I logged the exception by changing to:

self.conn.addListener("error", function(exception) {
    // added this
    if ( self.opt.debug ) {
        util.log(exception);
    }
    self.emit("netError", exception);
});

Also, in lib/irclink.js, I added "debug: true" in the call to "instance.client = new irc.Client".

On Freenode: even if I had not selected the "SSL" option when connecting, it was trying to connect to port 6667 and to validate the SSL client.

I modified the "new irc.Client" in lib/irclink.js to explicitely set the SSL flag to "false":

    secure: false, // userConn.ssl,

Doing a "console.log(userConn)" shows that userConn.ssl is an empty array.

@lukespragg

I noticed this as well. Your secure step at least allows working connections @mlutfy, so thanks!

@kparaju kparaju pushed a commit to kparaju/subway that referenced this issue Sep 27, 2013
Kshitij Parajuli Do getValue() of Boolean objects before comparing them
Closes #268.
a8ce920
@kparaju kparaju added a commit to kparaju/subway that referenced this issue Sep 27, 2013
@kparaju kparaju Do getValue() of Boolean objects before comparing them
Closes #268.
91d0d57
@Vektah
Vektah commented Oct 5, 2013

+1

Subway seems broken in master when using v0.10.20. This patch seems to fix it.

@thedjpetersen thedjpetersen closed this in #271 Oct 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.