omnisharp-sublime: Crash when changing directory in custom build system

OmniSharp: v1.9.7 Windows: 10 (BUILD: 1803) Sublime: 3.1.1 (BUILD: 3176)

After a short period (couple of minutes) OmniSharp stops working. It states in the status bar:

OmniSharp: Error Talking to http://localhost:50736/autocomplete

This shows up in the console:

HTTPConnectionPool(host='localhost', port=50736): Max retries exceeded with url: /autocomplete (Caused by ProtocolError('Connection aborted.', ConnectionRefusedError(10061, 'No connection could be made because the target machine actively refused it', None, 10061)))

If I would direct my browser to http://localhost:<port> when OmniSharp is still working, then a blank page shows. After the error I get: ERR_CONNECTION_REFUSED

So it seems that Node is having problems? Or, also i’ve noticed that the previous version send some kind of keep alive messages… This version does not! Perhaps just a timeout?

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

I’m running into same problem. Trying to use OmniSharp with Sublime for Unity, getting connection refused.