openbooks icon indicating copy to clipboard operation
openbooks copied to clipboard

Cannot connect using TLS, can connect insecurely

Open dflat1 opened this issue 2 years ago • 8 comments

I've noticed when connecting with TLS enabled, the connections seem to terminate:

Connecting to irc.irchighway.net:6697.2023/02/27 05:13:15 EOF

However, with "--tls=false", I can connect successfully. Can the TLS connection please be fixed?

Thanks!

dflat1 avatar Feb 27 '23 04:02 dflat1

I was able to connect too but I'm unable to search or it just enters in a loop after sending the search command to the IRC

alfdav avatar Mar 02 '23 15:03 alfdav

I'm having the same issue. Anyone has a solution?

The-Error avatar Mar 06 '23 15:03 The-Error

Same issue. Was really excited, seems like a great project. However, is it still being actively maintained?

diogosilva30 avatar Mar 06 '23 22:03 diogosilva30

I've been using the latest release with TLS enabled a few times every week without any issues. I think the TLS enabled/disabled debate is unrelated to the actual cause, which is that the IRC server operators actively try to detect and ban users of this application.

My advice is to set the --useragent flag to a real IRC client's user agent so OpenBooks looks like any other standard IRC client.

evan-buss avatar Mar 07 '23 15:03 evan-buss

Thanks for the response @evan-buss . Can you give an example of --useragent usage?

diogosilva30 avatar Mar 07 '23 22:03 diogosilva30

I tried using: --useragent Mozilla and --useragent Chrome without any success.

However, I managed to successfully connect / download books using this: --tls=false -s irc.irchighway.net:6660

The-Error avatar Mar 08 '23 13:03 The-Error

Same issue for me. I was unable to download or even submit requests for several days and I was wondering why...

Fortunately, I came across this line in the main.go file which told to set the searchbot flag to searchook if ever the default one (search) was not working. I then added the following flag in the command :

--searchbot searchook

With this modification, I was able to get and download books again. In my case, it had nothing to do with the user agent.

ruihaut avatar Apr 20 '23 21:04 ruihaut

Could this be because irc.highway.net changed their ports? From their homepage:

The ports we support are 6660 to 6669 and 7000. For connections through SSL use port 6697 or 9999.

99linesofcode avatar Feb 05 '24 16:02 99linesofcode