Page 1 of 1

IRC not connecting

Posted: 07 Jan 2015, 23:45
by geniodiabolico
I've been using and liking TT-RSS so on a lark I tried to set up IRC. I am attempting to connect to my local hackerspace's IRC server, and it is not connecting. I keep getting the logs below. I tried connecting to Freenode and I could use it just fine there, so my basic setup is working. The server I'm trying to reach is irc.subproto.com:7000 . I can connect with the same nickname via Adium, and I tried to clone the parameters precisely between the two setups. Using SSL in both. It looks like something is hitting a 60 second timeout in there but I don't have any insight into it.

Does anyone have any ideas on this?


INFO: Spawning connection 3
Jan 07, 2015 3:19:57 PM org.fox.ttirc.Master checkHandlers
INFO: Sleeping to prevent flood...
Jan 07, 2015 3:19:57 PM org.fox.ttirc.NativeConnectionHandler initConnection
INFO: [3] Establishing database connection...
Jan 07, 2015 3:19:57 PM org.fox.ttirc.NativeConnectionHandler lock
INFO: [3] Lock acquired successfully (handle.conn-3.lock).
Jan 07, 2015 3:19:57 PM org.fox.ttirc.NativeConnectionHandler sendPing
INFO: [3] Sending ping [1420661997527]
Jan 07, 2015 3:19:57 PM org.fox.ttirc.NativeConnectionHandler periodicWho
INFO: [3] Sending WHO to active channels [1420661997527]
Jan 07, 2015 3:20:57 PM org.fox.ttirc.NativeConnectionHandler periodicWho
INFO: [3] Sending WHO to active channels [1420662057763]
Jan 07, 2015 3:20:58 PM org.fox.ttirc.NativeConnectionHandler cleanup
INFO: [3] Connection loop terminating.
java.lang.NullPointerException
at org.schwering.irc.lib.IRCConnection.send(IRCConnection.java:394)
at org.schwering.irc.lib.IRCConnection.doQuit(IRCConnection.java:1122)
at org.fox.ttirc.NativeConnectionHandler.cleanup(Unknown Source)
at org.fox.ttirc.NativeConnectionHandler.run(Unknown Source)
Jan 07, 2015 3:20:59 PM org.fox.ttirc.NativeConnectionHandler cleanup
INFO: [3] Lock released successfully.
Jan 07, 2015 3:20:59 PM org.fox.ttirc.NativeConnectionHandler cleanup
INFO: [3] Closing database connection...
Jan 07, 2015 3:21:02 PM org.fox.ttirc.Master checkHandlers
INFO: Connection 3 terminated.

Re: IRC not connecting

Posted: 08 Jan 2015, 00:45
by fabi280
This is the exact same Problem I faced today. I thought it'd be just a misconfiguration (maybe in TTIRC or even in my ZNC).
Did you try to change the IRC Library? I didn't try it yet, but maybe the API changed.
There are a few NPE Catch Phrases in the Sourcecode, but I'm not really into it now
https://github.com/gothfox/Tiny-Tiny-IR ... .java#L709

Re: IRC not connecting

Posted: 09 Jan 2015, 06:49
by geniodiabolico
I will see if I can talk to the administrator tomorrow. He might be able to provide me with the logs from the server side, if that helps. I did not try to change the library. I downloaded the newest one from the pointers provided. Is there an exact version that it should be?

Re: IRC not connecting

Posted: 09 Jan 2015, 17:33
by geniodiabolico
I am told that this problematic IRC server uses a self-signed SSL cert. Any chance that is what is causing the connection to abort? Is there a way to make the logging more verbose?

Re: IRC not connecting

Posted: 09 Jan 2015, 18:28
by fabi280
Then add the self signed SSL cert to your Java Truststore: http://stackoverflow.com/questions/3732 ... file-using

Re: IRC not connecting

Posted: 09 Jan 2015, 19:28
by fox
nah it should just work with self signed certificates i think