-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Description
When running the Agent365 CLI command a365 setup all, the setup intermittently fails with a network connection reset error. The failure occurs at non‑deterministic points during execution and is not tied to a specific step.
This issue was observed while setting up a tenant for Agent 365 using the CLI. Similar failures have also been seen when running:
-
a365 setup all -
a365 deploy -
a365 publish
In some cases, re‑running the command or restarting the machine temporarily resolves the issue, indicating a transient or environmental failure rather than a configuration error.
The issue occurs during the Agent 365 configuration and blueprint setup phase of the Agent 365 development lifecycle.
The following actions sometimes allow the command to succeed temporarily:
-
az config set core.disable_confirm_prompt=false -
az config unset core.disable_ssl_verification
Expected behavior
- a365 setup all should complete successfully and leave the Agent 365 environment in a ready state for the next lifecycle step (deploy / publish).
- Transient network or TLS‑related failures should either:
-
be retried internally by the CLI, or -
have clearer diagnostics
SDK Version
1.1.115-preview+fd1f775761
Language/Runtime
.NET 10.0.104 , Node.js v24.14.0
OS
Microsoft Windows 11 Enterprise
How to Reproduce
- Open VS Code with the Agent 365 Toolkit installed
- Open a terminal
- Run az login
- Run a365 setup all
https://learn.microsoft.com/en-us/microsoft-agent-365/developer/a365-dev-lifecycle
Output
The CLI fails with a connection reset error similar to:
ConnectionResetError (10054): An existing connection was forcibly closed by the remote host
or:
ERROR: Command failed with exit code 1:
('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
Screenshots
Code of Conduct
- I agree to follow the Microsoft Open Source Code of Conduct.