Skip to content
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

Extension host crashes when using the "Code Time" extension #2759

Closed
d1y opened this issue Sep 1, 2020 · 4 comments
Closed

Extension host crashes when using the "Code Time" extension #2759

d1y opened this issue Sep 1, 2020 · 4 comments
Labels
other extension Something caused by another extension

Comments

@d1y
Copy link

d1y commented Sep 1, 2020

I don't understand why this is happening

events.js:180
      throw er; // Unhandled 'error' event
      ^

[Error: connect ECONNREFUSED 127.0.0.1:443
	at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1056:14)
Emitted 'error' event at:
	at TLSSocket.socketErrorListener (_http_client.js:399:9)
	at TLSSocket.emit (events.js:203:13)
	at emitErrorNT (internal/streams/destroy.js:91:8)
	at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
	at processTicksAndRejections (internal/process/task_queues.js:77:11)] {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 443
}

I tried to close all the extensions and just start dart and flutter extensions and it seems to work. It seems to conflict with the VIM plug-in (I don't know if this is the case). What is the reason for this
I don't know if I've described it in enough detail
Thank you for

wow.gif

@DanTup
Copy link
Member

DanTup commented Sep 1, 2020

Could you try setting the dart.extensionLogFile setting in VS Code to enable logging, and grab a copy of the log file after reproducing this? It looks like the extension is not activating correctly though it's not clear why.

There's also an error that shows briefly in your video that you clear that might be related, but it was too quick for me to see.

The second error (the one you pasted above) seems to happen then the extension host terminates - again, it's not clear why that's happening but it might be related.

There should be no issues using the Vim extension with the Dart one, however there may be some performance issues in doing so if not using the LSP preview mode (the dart.previewLsp setting). Does the issue only occur when Vim is enabled?

@DanTup DanTup added the awaiting info Requires more information from the customer to progress label Sep 1, 2020
@d1y
Copy link
Author

d1y commented Sep 3, 2020

Could you try setting the dart.extensionLogFile setting in VS Code to enable logging, and grab a copy of the log file after reproducing this? It looks like the extension is not activating correctly though it's not clear why.

There's also an error that shows briefly in your video that you clear that might be related, but it was too quick for me to see.

The second error (the one you pasted above) seems to happen then the extension host terminates - again, it's not clear why that's happening but it might be related.

There should be no issues using the Vim extension with the Dart one, however there may be some performance issues in doing so if not using the LSP preview mode (the dart.previewLsp setting). Does the issue only occur when Vim is enabled?

It seems to be caused by this plugin

https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode

@d1y
Copy link
Author

d1y commented Sep 3, 2020

https://github.com/swdotcom/swdc-vscode

I don't quite understand why using this plugin causes this problem

@DanTup
Copy link
Member

DanTup commented Sep 7, 2020

It looks like there is an issue with that extension that's crashing the extension host (which will prevent other extensions from working too):

swdotcom/swdc-vscode#113

I don't think there's anything we can do here - there's only one extension host for all extensions, so if any extension causes it to crash, it will prevent our extension from working. I would make sure you're on the latest version and if so, post any relevant info in their tracker to try and help them track it down.

I hope it gets fixed soon!

@DanTup DanTup added other extension Something caused by another extension and removed awaiting info Requires more information from the customer to progress labels Sep 7, 2020
@DanTup DanTup closed this as completed Sep 7, 2020
@DanTup DanTup changed the title vscode run flutter command An error Extension host crashes when using the "Code Time" extension Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other extension Something caused by another extension
Projects
None yet
Development

No branches or pull requests

2 participants