emacs-circe / circe

Circe, a Client for IRC in Emacs
GNU General Public License v3.0
395 stars 51 forks source link

Tweaking IRC disconnect parameters on flaky networks #319

Closed galderz closed 4 years ago

galderz commented 7 years ago

Hi,

Once certain wifi/lan networks, I'm seeing IRC disconnects happen very regularly. To the point that almost every time I check IRC I've been disconnected.

e.g.

[read:errno=54 from nil]
Disconnected
...

These networks seem to behave well otherwise WRT internet connection. Is there a way to tweak how quickly circe decides/checks for disconnects? e.g. possibility to tweak timeouts?

Cheers, Galder

jorgenschaefer commented 7 years ago

Hm. Circe does not set any particular timeouts, this is just normal network connections done with Emacs.

Are you using openssl, gnutls, or Emacs directly for connection?

galderz commented 6 years ago

Hi, just use Emacs directly. Any ideas?

jorgenschaefer commented 6 years ago

Hm. I don't see anything in make-network-process that would affect this I'm afraid. :-(

galderz commented 6 years ago

Actually, I think I'm using openssl since I see:

openssl s_client -connect irc.freenode.net 6697

Anything I could tweak there?

jorgenschaefer commented 6 years ago

Hm. Nothing I saw in man s_client, I'm afraid. You could try gnutls instead I guess, not sure that would solve anything.

wasamasa commented 4 years ago

Can you still reproduce this with this fix: https://github.com/jorgenschaefer/circe/issues/377 ? Note that it only works on Emacs 26.1 or newer.

galderz commented 4 years ago

No longer using circe.