Greetings,

Q:
The Drupal 7 version does not seem to allow connection to a secure socket via the ssl:// prefix at admin/config/bot/core in the IRC server textfield. Was there a patch for the D7 version for that or does that patch need upgrade to the new version?

Thanks!

Comments

Morbus Iff’s picture

Status: Active » Postponed (maintainer needs more info)

It should - that is, I've run Drupal 7 and Bot whilst connecting to a private ssl://-only server. Are you sure that your PHP was actually compiled with SSL support? http://php.net/manual/en/openssl.installation.php There has been no deliberate support, or unsupport, for SSL within the bot. It's just "worked" when I tried it.

darrell_ulm’s picture

Thanks @Morbus Iff

Wondering if you used an IRC address like:
ssl://example.com
or just example.com

with the ssl://example.com

Oct 04 11:52:34 SmartIRC.php(942) DEBUG_CONNECTION: reconnecting...
Oct 04 11:52:34 SmartIRC.php(912) DEBUG_CONNECTION: disconnected
Oct 04 11:52:34 SmartIRC.php(920) DEBUG_CHANNELSYNCING: cleaned channel array
Oct 04 11:52:34 SmartIRC.php(830) DEBUG_CONNECTION: connecting
Oct 04 11:52:34 SmartIRC.php(835) DEBUG_SOCKET: using real sockets
Oct 04 11:52:34 SmartIRC.php(851) DEBUG_NOTICE: couldn't connect to "ssl://example.com" reason: "Unknown host"

with example.com

Oct 04 11:56:35 SmartIRC.php(920) DEBUG_CHANNELSYNCING: cleaned channel array
Oct 04 11:56:35 SmartIRC.php(830) DEBUG_CONNECTION: connecting
Oct 04 11:56:35 SmartIRC.php(835) DEBUG_SOCKET: using real sockets
Oct 04 11:56:44 SmartIRC.php(851) DEBUG_NOTICE: couldn't connect to "example.com" reason: "Connection timed out"

Thanks for the help on diagnosis.

Morbus Iff’s picture

Yeah, I had to use a ssl:// to ensure it used SSL - my IRC server wasn't listening to anything BUT SSL connections.

You might try to disable "Use real sockets for IRC server connection" on admin/config/bot/core too.

And check if SSL is enabled in admin/reports/status/php - you should see "ssl" listed as a "Registered Stream Socket Transports"

darrell_ulm’s picture

Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks @
unchecked: "Used real sockets for IRC server connection" and opened port and it worked.

Thanks for your help.

darrell_ulm’s picture

Issue summary: View changes

just some text niceties.