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

It looks like some connections stand still waiting with the message "connection in progress" #941

Open
fmapelli opened this issue Jul 7, 2017 · 2 comments

Comments

@fmapelli
Copy link

fmapelli commented Jul 7, 2017

Hi,
It's about a month that I couldn't fix my webchat, I think it's something about connections.
It looks like some connections stand still waiting with the message "connection in progress" in the webchat
What can I do to fix this? Here's the log errors:

2017-07-07 07:47:22 - error: [Uncaught exception] Error: read ECONNRESET stack=Error: read ECONNRESET
at errnoException (net.js:905:11)
at TCP.onread (net.js:559:19)

2017-07-07 07:48:51 - error: [Uncaught exception] TypeError: Cannot call method 'dispatch' of undefined stack=TypeError: Cannot call method 'dispatch' of undefined
at parseIrcLine (/var/chat/KiwiIRC/server/irc/connection.js:987:26)
at processIrcLines (/var/chat/KiwiIRC/server/irc/connection.js:904:9)
at socketOnData (/var/chat/KiwiIRC/server/irc/connection.js:864:5)
at Socket. (/var/chat/KiwiIRC/server/irc/connection.js:334:26)
at Socket.emit (events.js:95:17)
at Socket. (stream_readable.js:765:14)
at Socket.emit (events.js:92:17)
at emitReadable
(_stream_readable.js:427:10)
at emitReadable (_stream_readable.js:423:5)
at readableAddChunk (_stream_readable.js:166:9)

@prawnsalad
Copy link
Owner

Well the ECONNRESET error means that the IRC server closed the connection for some reason. Have you checked the IRC servers logs? You can also try running kiwi via ./kiwi -f -v to see extra debugging output.

I can't reproduce that second error, but take a look at the first issue first to make sure that's not causing it.

@fmapelli
Copy link
Author

Thank you for answering prawnsalad,
Unfortunately I cannot see errors by taping -v. In 5 minutes I collect logs for 100mb!
It works correctly for 30 minutes, after that the monitor shows "connection in progress"
In this "error phase" I tried to connect with a nickname, but it gives no traces in logs.
It's like it does not accept further connections, but actually there are not so much connections on IRC channel.
I use the latest version of Kiwi, and added proxy nginx.
The resources on the server with kiwi are used at 30% (RAM, CPU).

  • maybe there are users stand hanging?
  • could it be a problem about connections on the server?

P.S. here's the only part of log looking interesting:
2017-07-07 15:49:50 - debug: (client 5473) Disconnected
2017-07-07 15:49:50 - debug: (client 5473) Disposing

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

No branches or pull requests

2 participants