-
Notifications
You must be signed in to change notification settings - Fork 171
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
Teams Toolkit => Prepare Teams App Dependencies throws "The operation has timed out." SystemError #11765
Comments
@mjoksa Hi, can you help check if the server is running successfully? Do you recall if your firewall has blocked this server? TTK needs to connect to this server to generate templates and perform other tasks. |
@xiaolang124 |
Hi, I have found a similar problem with the same error message. You can update the OPENSSL_CONF to the correct path or remove the environment variable. By the way, we will fix this issue to display the startup error in the output channel in a later version. Thanks. https://stackoverflow.com/questions/52188224/error-starting-nodejs-openssl-config-failed |
Removing OPENSSL_CONF made Teams Toolkit Server start as expected. Lifecycle stage: provision(9 step(s) in total). The following actions will be executed: Executing lifecycle provision Summary: { |
It looks like bot name (Aiden.MsTeams.Bot) is wrong as suffix 'local' (from .env.local file) is not added and I already have app registration with that name for bot deployed in Azure. |
I had to delete old app registration (that I used for debug) in MS Entra and recreate it via Prepare Teams App menu in order to make everything work as expected. |
I am using Visual Studio Community 2022 (64-bit) Preview for my daily work.
I noticed that for a couple of bots and MS Teams apps I have, two different tenants, I am not able to start debug any more.
Everything worked properly at least couple of weeks ago (that was the last time I had to debug any of them).
I tried with deleting old dev tunnels and recreating them and then used command from the title of this post, but it failed with error shown below.
{ "errorType": "SystemError", "source": "Fx-VS", "name": "CannotConnectServerError", "message": "The operation has timed out.", "stack": " at Microsoft.VisualStudio.Threading.TplExtensions.<WithTimeout>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at TeamsFx.VisualStudio.RPC.Client.<ConnectToServerAsync>d__11.MoveNext()", "innerError": null, "userData": null, "timestamp": "2024-06-03T11:07:05.7466696+02:00", "displayMessage": "The operation has timed out.", "helpLink": null, "issueLink": null }
I manually updated BOT_ENDPOINT and BOT_DOMAIN values .env.local file but then I got error messages shown on image below (and found myself running around in circles).
Any help on this will be much appreciated.
NOTE:
I left a comment in closed issue #5104 that looks similar to mine.
P.S. I just tried to create new bot from echo bot template and got error like on image below.
The text was updated successfully, but these errors were encountered: