Closed francogior closed 3 months ago
Having exactly this same issue, but in our case with sample: msgext-doc-search-csharp IMO seems like an issue with the tunnelling thing. Copilot apparently makes the call, but is lost "in the space"...
Thing is that the npm finder sample that is created from Teams toolkit for VS Code, works fine.
BTW, same behavior tested in 2 different Tenants, our prod tenant, and the shared MVP tenant provided by MS.
Any clue @garrytrinder @aycabas ?
Thanks!
As weird as it seems, I've created a new Teams project using Visual Studio and Teams toolkit. I chose the "Custom Search Results" template. As mentioned before, that worked fine even in Copilot. Then, I've updated the project with code from the sample msgext-doc-search-csharp, and this is working fine too, and is being called from Copilot...
The only different I see are the nuget packages versions (but I updated sample versions and was failing too), and the other difference is that my new project is using .NET 8, and sample is still .NET 6 (haven´t tried the upgrade).
@francogior @luismanez this could be related to an intermittent outage.
From the debug logs it would appear that Copilot was able to discover the plugin and select the correct command to execute. I'm going to assume that no breakpoints were hit in the plugin code, so no response was able to be returned by the plugin as it never received the request.
Is this still an issue?
@garrytrinder Hi! thanks for the response. Regarding your points:
I'm going to assume that no breakpoints were hit in the plugin code, so no response was able to be returned by the plugin as it never received the request.
Exactly, I've added more logs to the HTTP server and no endpoints were contacted at all.
Is this still an issue?
It was an issue up until last Friday (three days ago), but I'll double-check today just in case.
Thanks!
@garrytrinder Hey Garry, just wanted to let you know that the issue seems to be present still. Interestingly, the sample sometimes works, but eventually fails when stopping and restarting the browser/server/VSCode.
Given that we've seen this behavior during the last week (and before), could this be something different from a "temporal" outage? I'm attaching below a screenshot from today, showing the same issue (no logs in the console):
Thanks!
@rabwill @BobGerman would you be able to take a look at whether you can reproduce this issue?
@francogior I just tested this sample against the tenant that I have access to using your prompt and all is working fine.
Could you raise a support ticket in the Admin portal and reference this issue?
Sample
msgext-northwind-inventory-ts
Description
We are experiencing intermittent issues when running the Northwind sample in Teams Toolkit, which results in a 500 error. This behavior is observed across both Teams Classic and the new Teams. The issue was not present last week.
Steps to reproduce
.env.local.user.sample
)Expected results
Copilot should contact our localhost server and return and answer, as shown in the sample images:![image](https://github.com/OfficeDev/Copilot-for-M365-Plugins-Samples/assets/115115543/c703ee25-0707-4b51-85ba-4cb712bccb66)
Actual results
Error described above:![image](https://github.com/OfficeDev/Copilot-for-M365-Plugins-Samples/assets/115115543/b7253995-88a1-4071-8e4b-9bffa7af63c9)
Additional Info