-
Notifications
You must be signed in to change notification settings - Fork 248
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] "Failed to create a collaboration session. Operation was cancelled..." when trying to share from an account not yet in the preview #160
Comments
Hey @cankatabaci, really appreciate the great details in this bug report! Would you mind sending us your logs? You can grab them from %TEMP%\VSFeedbackVSRTCLogs and either attach them here or shoot us a mail with them at vsls-feedback@microsoft.com. We can take a look and see what might be going on. |
I sent the files to the relevant mail address. Thank you for your attention |
@cankatabaci Thanks for the logs! This is strange given it looks like you've been able to use VS Code without trouble. We'll need to take a look. |
Install the Live Share VS Code plug-in, when I do user login(for live share) i received a message:
@Chuxel Could it be a problem to be rejected for preview? When i was try sharing in VS Code i get this error message:
If i click "sign up" (bottom right of the error message) button, directing me to the registration page (but the information on this page is completed. Because I filled it before.) |
@cankatabaci Ah, that's interesting, it's possible that there is a problem with the notification with the latest VS release. Let me get you added into the preview with the email you used to send the logs and we can see if that resolves the issue. |
@cankatabaci Okay, we've added you to the preview with the email you used to send us the logs. Sign out and sign in again and see if you're now able to share. |
@Chuxel When sign out and sign in with the relevant email address(this is my Github account's mail address so i choose "Sign In with Github"), I received a new message unlike the previous one:
And when I got back VS, was a link ready to share. (I have not tried the connection yet but it works if the connection comes up i think 😃 ) Thank you so much for your help. |
@cankatabaci Thanks for verifying and glad you were unblocked! We'll have to take a look as to why the normal error message that should be appearing telling you that you need to be approved for the preview is causing this error. Apologies for the confusion! |
I have same problem. Is there any permanent solution for this issue or do i need you to add me too? |
@alperozcelik As described in the docs and extension install page, you'll need to be in the preview to share but not to join a collaboration session someone has shared with you. There's supposed to be an error that appears here telling you this but for some reason some users are seeing this error instead. Email vsls-feedback@microsoft.com with your email address and we can add you into the preview if you want to share. |
I'll be very glad for adding me (alp_ozcelik@hotmail.com).. =)
wishes,
alper
…________________________________
From: Chuck Lantz <notifications@github.com>
Sent: Wednesday, March 28, 2018 11:06 PM
To: MicrosoftDocs/live-share
Cc: alperozcelik; Mention
Subject: Re: [MicrosoftDocs/live-share] [VS] "Failed to create a collaboration session. Operation was cancelled..." when trying to share from an account not yet in the preview (#160)
@alperozcelik<https://github.com/alperozcelik> As described in the docs and extension install page, you'll need to be in the preview to share but not to join a collaboration session someone has shared with you.
There's supposed to be an error that appears here telling you this but for some reason some users are seeing this error instead. Email vsls-feedback@microsoft.com<mailto:vsls-feedback@microsoft.com> with your email address and we can add you into the preview if you want to share.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#160 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA7ETMgUR54zJWkXrVjV7daMmXuI3zJOks5ti-0sgaJpZM4S5sPW>.
|
I am getting the exact same issue, exact same error messages. In Visual Studio, I am signed in, using the email address that received the email "Try out the Visual Studio Live Share preview!" This means that I am "in the preview", right? Or am I missing another box that needs to be checked somewhere. |
@AnthonySteele When I make a successful signed in I saw this:
|
OK, here's a walkthrough of getting it working in my case. It was far from obvious:
I'm connected to sharing, but still not signed into Visual Studio. So it seems that
|
@AnthonySteele No the email that tells you to try is in fact the one that means you are accepted into the preview. As a result, you repro is different than others that have reported this bug. They did not get the "try" email... just the first one. We have a bug with the error message telling you that you need to be accepted to share. As the quick start states, you should sign into Visual Studio itself using the same email you used to sign up or you can go to Tools > Options > Live Share > User account to pick a different account. The steps you did in the second path should also work. Given it sounds like you followed these steps correctly, something might be wrong with your account. Could you contact vsls-feedback@microsoft.com with the email address you are using to sign in so we can see what might be wrong? Thanks! |
@Chuxel The second path seems to result in a working setup. I gave the steps for reference, others might need the workaround info. |
@AnthonySteele Apologies, I missed the fact the instructions said "workaround"! I apparently need to drink more coffee. 😴☕😀 I'm glad to hear you got unblocked, but this is super strange. We'd love to see your logs to see what might be happening. Could you zip up the contents of %TEMP%\VSFeedbackVSRTCLogs and shoot them to vsls-feedback@microsoft.com? Appreciate it!! |
I have same problems. Thanks! |
This should be resolved in v0.2.306 just released for VS. You should now get the right error message based on the scenario. Also @developerTUNA - you should be able to sign out and in again to share. |
Confirm merge from repo_sync_working_branch to live to sync with https://github.com/microsoftdocs/live-share (branch master)
Product and Version [VS/VSCode]: Microsoft Visual Studio Community 2017 Preview (2) 15.7.0
OS Version [macOS/Windows]: Windows 8.1
Live Share Extension Version: 0.2.258.53898
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:
I click on the "Share" button
An error message after click: "Failed to create a collaboration session. Operation was cancelled by the user. Show Output Retry"
When I click on "Retry" this message coming from Live Share Output:
[VSIX I] Acquired an access token for the VSO account ''
[VSIX I] Proxy settings: and
[VSIX I] User '' has signed in successfully (via SSO).
[VSIX I] User '' has signed in successfully (via SSO).
When i click "Show Output" (this message on the Output Panel from 'Live Share') :
[VSIX I] User '' has signed in successfully (via SSO).
[VSIX I] User '' has signed in successfully (via SSO).
My Options for Live Share:
Output Verbosity: Information
User account: My microsoft mail
Flag Visibility: Always
Connection Mode: Auto
Join Debug Session option: Automatic
Launch browser on debug: IfSpecifiedInProject
Share web app on debug: True
The text was updated successfully, but these errors were encountered: