Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random disconnects #78

Open
spoulson opened this issue Jan 19, 2013 · 3 comments
Open

Random disconnects #78

spoulson opened this issue Jan 19, 2013 · 3 comments
Assignees
Labels
Milestone

Comments

@spoulson
Copy link
Owner

For unknown reasons, the client will intermittently force a reconnection to the server with a red server error message in the console "Session was deleted".

It's unlikely the session was deleted. It's not known what causes this or how to reproduce.

@ghost ghost assigned spoulson Jan 19, 2013
@spoulson
Copy link
Owner Author

Tracked an incident of disconnect in the php_errors.log. Disconnected user has viewKey jba6pqfr and ircConnection pid 25840.
It appears the PONG response message never made it to the IRC server, so it dropped the connection.

[25-Jan-2013 12:52:36] >>> lib/ircConnection.php(25840): Sending 19 bytes to client...
[25-Jan-2013 12:52:36] >>> /test/recv.php(19760): Parsing: PING :irc.dsm.org
[25-Jan-2013 12:52:36] >>> /test/recv.php(19760): sent(19)
[25-Jan-2013 12:52:36] >>> lib/ircConnection.php(25840): Sending 19 bytes to proxy...
[25-Jan-2013 12:52:37] >>> /test/recv.php(19760): lookupId(jba6pqfr) with sessionKey=3ic5d34qjkusdjeuno14eeqp06 = '16'
[25-Jan-2013 12:52:37] >>> /test/recv.php(11918): lookupId(n16kh8aj) with sessionKey=aj4gmjpc2p3i33m81qjr6aela5 = '24'
[25-Jan-2013 12:52:38] >>> /test/recv.php(11918): lookupId(jba6pqfr) with sessionKey=3ic5d34qjkusdjeuno14eeqp06 = '16'
[25-Jan-2013 12:52:38] >>> /test/recv.php(19760): lookupId(n16kh8aj) with sessionKey=aj4gmjpc2p3i33m81qjr6aela5 = '24'
[25-Jan-2013 12:52:40] >>> /test/recv.php(19760): lookupId(jba6pqfr) with sessionKey=3ic5d34qjkusdjeuno14eeqp06 = '16'
[25-Jan-2013 12:52:40] >>> /test/recv.php(11918): lookupId(n16kh8aj) with sessionKey=aj4gmjpc2p3i33m81qjr6aela5 = '24'
[25-Jan-2013 12:52:41] >>> /test/recv.php(11918): lookupId(jba6pqfr) with sessionKey=3ic5d34qjkusdjeuno14eeqp06 = '16'
[25-Jan-2013 12:52:41] >>> /test/recv.php(19760): lookupId(n16kh8aj) with sessionKey=aj4gmjpc2p3i33m81qjr6aela5 = '24'
[25-Jan-2013 12:52:43] >>> /test/recv.php(19760): lookupId(jba6pqfr) with sessionKey=3ic5d34qjkusdjeuno14eeqp06 = '16'
[25-Jan-2013 12:52:43] >>> /test/recv.php(11918): lookupId(n16kh8aj) with sessionKey=aj4gmjpc2p3i33m81qjr6aela5 = '24'
[25-Jan-2013 12:52:43] >>> lib/ircConnection.php(25840): Sending 67 bytes to client...
[25-Jan-2013 12:52:43] >>> lib/ircConnection.php(31407): Proxy connection was closed.
[25-Jan-2013 12:52:43] >>> lib/ircConnection.php(31407): Sending 69 bytes to client...
[25-Jan-2013 12:52:43] >>> /test/recv.php(11918): Parsing: :spoulson![email protected] QUIT :Ping timeout
[25-Jan-2013 12:52:43] >>> /test/recv.php(19760): Parsing: ERROR :Closing Link: spoulson[ps36703.dreamhost.com](Ping timeout)
[25-Jan-2013 12:52:43] *** lib/ircConnection.php(31407): poll() aborted; Proxy socket is disconnected!
[25-Jan-2013 12:52:43] >>> lib/ircConnection.php(31407): Proxy shut down.
[25-Jan-2013 12:52:43] >>> lib/ircConnection.php(31407): Disconnecting...
[25-Jan-2013 12:52:44] >>> lib/ircConnection.php(31407): Disconnected.
[25-Jan-2013 12:52:44] >>> lib/ircConnection.php(31407): Closing IRC connection...
[25-Jan-2013 12:52:44] >>> lib/ircConnection.php(31407): Closed.

@spoulson
Copy link
Owner Author

spoulson commented Feb 7, 2013

87fbea1
Tried adjusting the PONG response message format.
Will see if this works for a while.

@spoulson
Copy link
Owner Author

spoulson commented Feb 7, 2013

730078e
Undo PONG response change. It didn't work and caused increased disconnects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant