Closed hashworks closed 9 years ago
Offhand, I'm not seeing any obvious indicator that this is a parsing issue. One thing you can do to investigate that possibility is to add a debug prompt somewhere in the parse()
method defined in vendor/phergie/phergie-irc-parser/src/Parser.php
, either for the $message
parameter and $parsed
variables used toward the top or the $parsed['tail']
array element referenced toward the bottom.
If it's not happening consistently, I'm tempted to think the issue is with some inconsistent behavior of the server. A quick Google search indicates that the problem may be related to SSL. Issues with Ident or port forwarding, as well as general sporadic network connectivity issues, are other possibilities. It's hard to say without more information on the problem. Can you provide your composer.json
and Phergie config files?
@hashworks Any developments on this issue, or can I close it?
I'm not finding time atm, I'll reopen it as soon as I get to it.
This happens 1/10 times when you connect to the irc.rizon.sexy server:
As you see the PING arrives when the server closes the connection - way too late.
I had the same problem with this server before when developing on my own IRC bots - however my mistake was that I used
\n\r
instead of\r\n
, according to the parser this doesn't seem to be the issue. In my case the PING message rested in the buffer until the ERROR arrvied.I'm not sure if this is a parsing problem, so I'm posting this here.