subway icon indicating copy to clipboard operation
subway copied to clipboard

Can't connect to (znc) bouncers

Open tlaundal opened this issue 10 years ago • 0 comments

I'm doing some testing to help you finish up subway, and the first problem is that subway can't connect to ZNC bouncers. Connecting to bouncer should be pretty much the same as connecting to normal IRC servers, so this could potentionally also affect some servers.

Here is the log from running "./subway": https://dpaste.de/2ozo I have pasted it below too. There was nothing suspicious in the firefox web developer console.

    (refactor= ab3af6e)[tobias@tobias-arch subway]$ ./subway
    Fetching Subway plugins...
    Downloading dependencies...
    Compiling static resources...
    Running "clean:0" (clean) task
    Cleaning tmp/...OK
    Running "symlink:main" (symlink) task
    >> Created 5 symbolic links.
    Running "jade:compile" (jade) task
    File "tmp/index.ejs" created.
    Running "react:main" (react) task
    [react] Compiling src/components/app/messageInput.jsx --> tmp/components/components.js
    [react] Compiling src/components/app/messages.jsx --> tmp/components/components.js
    [react] Compiling src/components/app/userList.jsx --> tmp/components/components.js
    [react] Compiling src/components/menu.jsx --> tmp/components/components.js
    [react] Compiling src/components/settings/general.jsx --> tmp/components/components.js
    [react] Compiling src/components/settings/highlight.jsx --> tmp/components/components.js
    [react] Compiling src/components/settings/plugins.jsx --> tmp/components/components.js
    [react] Compiling src/components/irc.jsx --> tmp/components/components.js
    [react] File tmp/components/components.js created.
    Running "styl:dist" (styl) task
    Done, without errors.
       info  - socket.io started
       debug - client authorized
       info  - handshake authorized 28rZ4OIRn9sQzJ727CMb
       debug - setting request GET /socket.io/1/websocket/28rZ4OIRn9sQzJ727CMb
       debug - set heartbeat interval for client 28rZ4OIRn9sQzJ727CMb
       debug - client authorized for
       debug - websocket writing 1::
       debug - emitting heartbeat for client 28rZ4OIRn9sQzJ727CMb
       debug - websocket writing 2::
       debug - set heartbeat timeout for client 28rZ4OIRn9sQzJ727CMb
       debug - got heartbeat packet
       debug - cleared heartbeat timeout for client 28rZ4OIRn9sQzJ727CMb
       debug - set heartbeat interval for client 28rZ4OIRn9sQzJ727CMb
       debug - emitting heartbeat for client 28rZ4OIRn9sQzJ727CMb
       debug - websocket writing 2::
       debug - set heartbeat timeout for client 28rZ4OIRn9sQzJ727CMb
       debug - got heartbeat packet
       debug - cleared heartbeat timeout for client 28rZ4OIRn9sQzJ727CMb
       debug - set heartbeat interval for client 28rZ4OIRn9sQzJ727CMb
       debug - emitting heartbeat for client 28rZ4OIRn9sQzJ727CMb
       debug - websocket writing 2::
       debug - set heartbeat timeout for client 28rZ4OIRn9sQzJ727CMb
       debug - got heartbeat packet
       debug - cleared heartbeat timeout for client 28rZ4OIRn9sQzJ727CMb
       debug - set heartbeat interval for client 28rZ4OIRn9sQzJ727CMb
    13 May 16:12:39 - SEND: PASS Sorry - I won't tell
    13 May 16:12:39 - SEND: NICK totokaka
    13 May 16:12:39 - SEND: USER totokaka 8 * Tobias
    { prefix: 'availo.esper.net',
      server: 'availo.esper.net',
      command: 'rpl_welcome',
      rawCommand: '001',
      commandType: 'reply',
      args:
       [ 'totokaka',
         'Welcome to the EsperNet Internet Relay Chat Network totokaka' ],
      client_server: 'irc.totokaka.io' }
    /tmp/subway/node_modules/irc/lib/irc.js:664
                        throw err;
                              ^
    TypeError: Cannot call method 'set' of undefined
        at util.handle_irc (/tmp/subway/src/js/handle_irc.js:169:14)
        at Client. (/tmp/subway/lib/connection.js:69:7)
        at Client.EventEmitter.emit (events.js:117:20)
        at /tmp/subway/node_modules/irc/lib/irc.js:661:22
        at Array.forEach (native)
        at Socket. (/tmp/subway/node_modules/irc/lib/irc.js:655:15)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket. (_stream_readable.js:745:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:407:10)
    (refactor= ab3af6e)[tobias@tobias-arch subway]$ 

tlaundal avatar May 13 '14 14:05 tlaundal