question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash when changing directory in custom build system

See original GitHub issue

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?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Asmorcommented, Feb 27, 2019

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

0reactions
CarlosJadercommented, Jan 8, 2019

Any solution for this already? I’m having the same problem, I 'm trying to use Sublime Text 3 with Unity, I followed this tutorial: http://makegamessa.com/discussion/2879/tutorial-using-sublime-text-3-in-unity-with-intellisense-autocomplete and I’m getting this error on console: ======== request ======== Url: http://localhost:51767/autocomplete Data: {“WantMethodHeader”: true, “line”: “37”, “buffer”: “using TMPro;\nusing UnityEngine;\n\npublic class PlayerMovement : MonoBehaviour\n{\n\tpublic float speed = 6f;\n\tVector3 movement;\n\tAnimator anim;\n\tRigidbody playerRigidbody;\n\tint floorMask;\n\tfloat camRayLength = 100f;\n\n\tvoid Awake()\n\t{\n\t\tfloorMask = LayerMask.GetMask ("Floor");\n\t\tanim = GetComponent<Animator>();\n\t\tplayerRigidbody = GetComponent<Rigidbody>();\n\t}\n\t\n\tvoid FixedUpdate()\n\t{\n\t\tfloat h = Input.GetAxisRaw("Horizontal");\n\t\tfloat v = Input.GetAxisRaw("Vertical");\n\t}\n\n\tvoid Move (float h, float v)\n\t{\n\t\tmovement.Set(h,0f,v);\n\t\tmovement = movement.normalized * speed * Time.deltaTime;\n\n\t\tplayerRigidbody.MovePosition(transform.position+movement);\n\t}\n\n\tvoid Turning()\n\t{\n\t\tRay camRay = Camera.main.ScreenPointToRay(Input.mousePosition);\n\t\tRay\n\t}\n}\n”, “WantReturnType”: true, “WantSnippet”: true, “column”: “6”, “wordToComplete”: “Ray”, “filename”: “C:\Unity\Projects\Survival Shooter\Survival Shooter\Assets\Scripts\Player\PlayerMovement.cs”} HTTPConnectionPool(host=‘localhost’, port=51767): Max retries exceeded with url: /autocomplete (Caused by ProtocolError(‘Connection aborted.’, ConnectionRefusedError(10061, ‘Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente’, None, 10061))) Error description is in portuguese but it means exactly the same thing. I know the tutorial is quite old but I didn’t found anything as easilly explained, could anyone help plz?

Read more comments on GitHub >

github_iconTop Results From Across the Web

unexpected service error: The Xcode build system has ...
I tried to build with this, but got an error because I had packages wich are not supported. Restarted Xcode, then changed back...
Read more >
Troubleshooting a Crash - Oracle Help Center
This section describe how to begin troubleshooting a crashed Directory Server process. It describes possible causes of a crash, what pieces of information...
Read more >
Examining the fields in a crash report - Apple Developer
Two reports for apps from the same vendor and from the same device contain identical values. This field is only present for TestFlight...
Read more >
White Paper: Crash Utility
Depending upon the speed of the host system, the complete build may take ... the source files, cd into the resultant source directory,...
Read more >
TeamCity On-Premises - Build Failure Conditions - JetBrains
TeamCity allows changing the conditions under which a build is marked as ... Set Custom Build Execution Timeout ... Fail Build on Out-of-Memory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found