Closed ivptr closed 3 years ago
Sounds like the handoff of options from the configuration file to the connector isn't working as it should, although your error message would suggest the bot is catching an error from the socket library.
Just to be sure, are you using the tls:// scheme for your address? If I'm reading the documentation correctly these options only work on the tls:// and tcp:// schemes.
Using the following config:
'server' => '127.0.0.1',
'port' => 6697,
'secure' => true,
Tried with 'server' => 'tls://127.0.0.1', it's the same.
In SecureConnector.php noticed that in constructor $this->context is fine, but in connect() $this->context is empty for some reason.
For self signed certificate per https://github.com/reactphp/socket#connector added to config.php:
but still seeing: