You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Intermittent DevTunnel Timeout When Debugging Declarative Plugin with API Locally
When starting a debugging session (F5) for the Declarative Copilot with API plugin, initial requests often experience a timeout error:
"The request was canceled due to the configured HttpClient.Timeout of 20 seconds elapsing."
This timeout error generally occurs during the first few attempts, then gradually resolves as the DevTunnel stabilizes. Directly accessing the API via localhost (proxied through DevTunnel) works smoothly, so it seems the issue is specific to DevTunnel initialization delays. This behavior slows down the debugging process, impacting the development experience.
To Reproduce
Steps to reproduce the behavior:
Go to Declarative Copilot with API sample (e.g., func repairs).
Hit F5 to start Debugging in Chrome.
Open your Copilot and request repairs.
See error (enable Dev info in chat): "The request was canceled due to the configured HttpClient.Timeout of 20 seconds elapsing."
The issue generally resolves after a few retries as DevTunnel performance improves.
Expected behavior
Ideally, DevTunnel should respond promptly from the start, without delays or timeouts.
VS Code Extension Information (please complete the following information):
OS: macOS Sonoma
Version: 14.5 (23F79)
CLI Information (please complete the following information):
TTK v5.10.0
Additional context
There also appears to be occasional caching of the previous DevTunnel URL between reruns, leading to API call failures with a 404 error.
The text was updated successfully, but these errors were encountered:
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.
Setup devtunnel by devtunnel cli by yourself and set the devtunnel session url to "OPENAPI_SERVER_URL" in the env file. (refer to Persistent Dev-Tunnel URLs Configuration for detail)
Describe the bug
Intermittent DevTunnel Timeout When Debugging Declarative Plugin with API Locally
When starting a debugging session (F5) for the Declarative Copilot with API plugin, initial requests often experience a timeout error:
This timeout error generally occurs during the first few attempts, then gradually resolves as the DevTunnel stabilizes. Directly accessing the API via localhost (proxied through DevTunnel) works smoothly, so it seems the issue is specific to DevTunnel initialization delays. This behavior slows down the debugging process, impacting the development experience.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ideally, DevTunnel should respond promptly from the start, without delays or timeouts.
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):
Additional context
There also appears to be occasional caching of the previous DevTunnel URL between reruns, leading to API call failures with a 404 error.
The text was updated successfully, but these errors were encountered: