codota / tabnine-atom

:atom: Atom client for Tabnine - Code Faster with the All-Language AI Assistant for Code Completion, autocomplete JavaScript, Python, TypeScript, PHP, Go, Java, node.js, Ruby, C/C++, HTML/CSS, C#, Rust, SQL, Bash, Kotlin, React, Swift, Scala, Sass, Perl, Objective C, Node JS, Matlab, Haskell, Dart, Angular. https://atom.io/packages/tabnine
https://www.tabnine.com/install/atom
MIT License
36 stars 14 forks source link

ECONNRESET and ECONNREFUSED #21

Closed willcosgrove closed 3 years ago

willcosgrove commented 4 years ago

I get these errors frequently, probably every 5-10 minutes or so. The autocompleting doesn't appear to break, but the error messages are annoying. If it is part of normal operation, then the Atom plugin should be catching the error. I suspect it isn't part of normal operation, so I decided to raise this issue in the main TabNine repo.

I've attached a video of the error, as I don't get any output in the developer console of Atom, and the error messages go away very quickly.

Screen Capture 3-27-20, 5.02.44 PM.mp4.zip

And here's a gif of the video for convenience. The video download link above has better resolution. Screen Capture 3-27-20, 5 02 44 PM

Eransho commented 4 years ago

Thanks for reporting. It looks like a bug, we'll look into it

LBern commented 4 years ago

any update on this? These messages are quite annoying.

dimacodota commented 4 years ago

hi @willcosgrove, could you please open the dev tools (View -> Developer -> Toggle Developer Tools) and attach the stack trace logs?

seveibar commented 4 years ago

when I got this error, there weren't any logs in my console (which I had open)

dimacodota commented 4 years ago

the fix will be released in the upcoming TabNine binary release

dimacodota commented 4 years ago

the fix is available in TabNine beta version

you can try it by enabling the beta version:

type TabNine::config and check the "Receive beta releases of TabNine" option

Jmulder08 commented 3 years ago

I enabled the beta release, but I still get the ECONNREFUSED error every time I open atom.

dimacodota commented 3 years ago

fixed in v4.0.2