-
Notifications
You must be signed in to change notification settings - Fork 138
Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:5858). #603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you also copy your tasks.json? That's the part that changed a few months ago due to breaking changes in the cli. There's more information here about how you can manually update your project if necessary: https://github.com/Microsoft/vscode-azurefunctions/blob/master/docs/debugConfig.md The full output from the 'func host start' task might also be helpful |
Here 'tis:
|
FFS (and LOL)...adding that to local settings did the trick! I thought I'd tried everything and seen every one of the related issues on GitHub. Seriously... about 5 hours of trying and I missed that one! Anyway....maybe there should be a warning like I've seen other times, to add this to local.settings on debug or func start. Do you know where I mean? It comes right before the logo is displayed in the terminal. Or better yet, have the project creator add that to the local.settings.json it creates?? |
Yes we already did that back in July 😊: #478 New projects will work by default and old projects should get a prompt like this: I'm hoping it was just a problem where your extension was out of date and that's the only reason you didn't get that prompt. Also - we actually don't recommend using the solution you tried in local.settings.json. That file is never synced in git (because it has potentially sensitive connection strings) so other people won't get that change if they clone your repo. We recommend adding the
|
I actually tried that last night based on a May thread about .26...but now I'll go try it again and report back. |
what the ... ????? now it works. So maybe one of the other changes I made in betwee affected this. |
ps. sorry I missed the whole thing about the prompt... why am ai not getting it? That is certainly a very good solution to the above... |
consistently works with the hack in launch but not with the options in local.settings. |
can you also double check my detailed list of versions of everything in case SOMETHING is bungling my system up with this? Thanks |
All versions look good except an old version of VS Code. Commented on this thread: #602 |
uninstalling some other extensios to see if that helps but not... weird. I am plagued! LOL |
PS THANK YOU FOR BEING SO AMAZINGLY RESPONSIVE!!! |
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
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?
The text was updated successfully, but these errors were encountered: