phergie/phergie-irc-bot-react

no error message given when connection over ssl failed

flip111 opened this issue · 6 comments

i had

      'options' => [
        'transport' => 'ssl'
      ]

set, but without giving the port

'serverport' => 6697,

The bot couldn't connect, but no error message was given

If this is still an issue, please update with some more debugging.

I would expect the issue is on the specific Freenode server, or the network itself recovering from massvie DDoS yesterday.

If you've resolved this please close the issue.

Well right now i can't debug this issue because the bot can not connect to the server because of DDoS issues. But this issue doesn't seem to be related to that (tested before today by 2 persons)

Closing this as I've also confirmed it's not an issue with Pherige, it's an issue with SecureConnector from reactphp's socket-client: reactphp-legacy/socket-client#55 As you've reported to them already.

The issue i filed on reactphp/socket-client describes a problem where it keeps trying to make a connection and so the process (php) is stuck. This issue is about phergie terminating without any error message. I don't get how you think they are the same issue???

@flip111 if the process gets stuck in the socket-client how is Phergie supposed to know something went wrong? I'm not understanding how you expect Phergie to throw an error when it's waiting on a connection to be made that never is.

eh i'm saying that in this issue it's not waiting for a connection instead it terminates early ...