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

[VS Code] Connection got disposed. #268

Closed
pabloelisseo opened this issue Apr 29, 2018 · 10 comments
Closed

[VS Code] Connection got disposed. #268

pabloelisseo opened this issue Apr 29, 2018 · 10 comments

Comments

@pabloelisseo
Copy link

Error:

Connection got disposed.

Steps to Reproduce:

Version Data
extensionName VSLS
extensionVersion 0.2.487
protocolVersion 2.2
applicationName VSCode
applicationVersion 1.22.2
platformName Linux
platformVersion 4.9.0-6-amd64
@Chuxel
Copy link
Member

Chuxel commented Apr 30, 2018

@gfpablo Thanks for reporting the issue. We could use a bit more info to help you out.

  1. What distribution and distribution version of Linux are you using?
  2. Did you have experimental feature on at the time? Did it repro with it them off?
  3. Could you send across your logs? You can get them by running the "Live Share: Export Logs" command and then dragging-and-dropping the zip here or sending it to vsls-feedback@microsoft.com. (Note replying to the GitHub email will not attach the zip.)

@pabloelisseo
Copy link
Author

I'm using Debian 9 with GNOME. I have no experimental features while trying to use the VS extension.
logs.zip

@Chuxel
Copy link
Member

Chuxel commented Apr 30, 2018

@gfpablo A few other questions after looking at the logs.

  1. In one of the two logs, it looks like things did start up and then VS Code was shut down. Is this happening consistantly or was it just one time?
  2. Are you seeing this error immedatley or when you hit "sign in"?
  3. Did you run the dependency installer? If not, can you run the following to see if it resolves the problem:

wget -O ~/vsls-reqs https://aka.ms/vsls-linux-prereq-script && bash ~/vsls-reqs

@pabloelisseo
Copy link
Author

I tried with the command before, so i suppose that the problem is not related to dependecies.
I see the error just when i introduce the code that i need to copy to sign in
I have this error too:
Error in file "/usr/share/applications/evince.desktop": "" is an invalid MIME type ("" does not contain a subtype)
VS Live Share launcher installation complete.
excuse my ignorance but I dont know what is it...

@pabloelisseo
Copy link
Author

the error above appears when i tried >Live Share: Launcher Setup and I copy the command prompted: sudo sh /home/pabloeliseo/.vscode/extensions/ms-vsliveshare.vsliveshare-0.2.489/node_modules/@vsliveshare/vscode-launcher-linux/install.sh /home/pabloeliseo/.vscode/extensions/ms-vsliveshare.vsliveshare-0.2.489/codepath.json

@Chuxel
Copy link
Member

Chuxel commented Apr 30, 2018

@gfpablo To recap:

  1. You do see the "Sign in" item in the status bar
  2. When you click it the browser does appear
  3. You are able to sign in via the browser
  4. After clicking on the link in the "ready to collaborate" page you are copying the link
  5. You then paste it into the input box and hit enter and then see this error

Is that correct?

Did the dependency installer run successfully without errors?

If what is described above is correct, what you saying could in be caused by libsecret-1-0 or gnome-keyring being missing or misconfigured.

"/usr/share/applications/evince.desktop" is not installed by Live Share, so that is unrelated. It's https://wiki.gnome.org/Apps/Evince

@pabloelisseo
Copy link
Author

Yes, thats all i've done and yes, the installer succeded.

@pabloelisseo
Copy link
Author

And bsecret-1-0 and gnome-keyring are installed, dont know if well-configured

@Chuxel
Copy link
Member

Chuxel commented Jun 22, 2018

@gfpablo There were a number of interesting scenarios that could cause .NET Core crashes that we uncovered over the last month or so and have been fixed or at least flagged when they occur. We're going back and cleaning up old issues and I'm curious if you are still encountering this after these changes. I know this particular error can occur in these circumstances.

@lostintangent
Copy link
Member

Closing as a duplicate of #245.

learn-build-service-prod bot pushed a commit that referenced this issue Apr 12, 2023
…eContacts

Remove Live Share Contacts page - this feature is no longer supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants