Bug with IRC client on the website

https://handmade.network/irc

After I've been on the irc for a while, about 20 minutes or so, it says "Nickname is already in use" and adds a 1 onto my nickname. If I then try to post it says it can't send the message cause it doesn't allow external messages.

Here's a screenshot, in this particular case it happened a bunch of times immediately after each other and kept incrementing the number after my name.


This one shows the "can't send message" error.

Edited by Matt Hartley on Reason: Added extra screenshot
Huh... never encountered this in testing, and I sometimes left it open for a couple hours or more at a time...

I'll see if I can reproduce. It could be an issue with the websocket connection, we had to adapt a websocket module for InspIRCd and it may not be totally stable. Or it could be totally on the clientside. Hard to tell from that behavior.

To help me out, could you post a dump of your console output from your browser's developer tools? I have it logging all the messages it sends / receives there, so that will be helpful in narrowing down the problem if I can't reproduce.
Here's the dump of the console: http://giantjelly.net/handmade.network-1462843162252.log

My internet has a tendency to randomly go down for about 10-20 seconds and then come back again, and it seems as though the server holds on to the name for a little while so if you disconnect and come back again quickly your name is still taken. If that's the case then I think that might explain this behavior.

Anyway I'll let you look into it. let me know if you need anything else.

Thanks