Skip to content

Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:5858). #603

@julielerman

Description

@julielerman

Yes, this again.

Extension version: I have installed 0.10.2 three times but it still says it's 0.8.1 (see issue #602 )
VS Code: Version 1.21.1
AF Tools: 2.0.1-beta.38

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.13
OS Platform: Darwin
RID: osx.10.13-x64
Base Path: /usr/local/share/dotnet/sdk/2.1.300/
.NET Core SDKs installed:
2.1.101 [/usr/local/share/dotnet/sdk]
2.1.300-rc1-008673 [/usr/local/share/dotnet/sdk]
2.1.300 [/usr/local/share/dotnet/sdk]

Node version v8.11.0

Here is my launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Attach to JavaScript Functions",
      "type": "node",
      "request": "attach",
      "port": 5858,
      "protocol": "inspector",
      "preLaunchTask": "runFunctionsHost"
    }
  ]
}

I have been trying to fix this for many hours. I've read the other (closed) issues about this. tried some of the hacks except for reverting to .25.

I think this may be notable. When running in debug mode, after the endpoints are displayed, this message comes up:
[9/14/18 12:56:18 PM] Worker e6213e9f-5bd6-498c-9674-d0d98aad7858 connecting on 127.0.0.1:61134 []

While the project I'm working on has Cosmos DB and Twilio extensions, I've tried plain vanilla projects and getting the same problem. I opened up an earlier V2 project that I was debugging back in May and it is now reporting the same problem.

What else can I share with you to help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions