abingham/emacs-ycmd

It really makes me very troubled.

Closed this issue · 4 comments

OS: win 10
emacs version: GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570
emacs-ycmd version: 1.3snapshot

With ycmd running a little time, I met similar error no matter which request backend I chose, curl or url-retrieve. Now when meeting this error, I have to kill emacs and reopen it to make it serves normally.

And there are two issues reference for more info about error.

  1. #440
  2. ycm-core/ycmd#619

@abingham @ptrv Sorry for disturbing you. What's the reason of this problem? curl, url-retrieve or emacs-ycmd ? Is there a way to solve it now?

image

Thanks! There's a new discovery that I can reproduce the error above with curl used. To more accurately, when I use projectile-kill-buffers to close current project(python), ycmd will be closed and buffer *ycmd-server* will be killed too. Then, after I enter an other project(python) and restart ycmd, many connections as picture shows above will be produced quickly.

Oh, if I close ycmd firstly before using projectile-kill-buffers, the error will not take place. I don't know these whether it's helpful.