- Inicio
- F5 Distributed Cloud Tools for Visual Studio Code
- Solución de problemas
- Diagnostics and Troubleshooting
Diagnostics and Troubleshooting
Esta página aún no está disponible en tu idioma.
This guide provides systematic diagnostic workflows for resolving common operational, authentication, and validation issues in the F5 Distributed Cloud Tools extension.
Authentication and Credential Failures
Section titled “Authentication and Credential Failures”Symptom: HTTP 401 Unauthorized or HTTP 403 Forbidden
Section titled “Symptom: HTTP 401 Unauthorized or HTTP 403 Forbidden”If API requests fail with 401 or 403 status codes:
- In the Profiles view, right-click your profile and select Validate Context.
- If validation reports an authentication failure:
- API Token: Verify that your token has not expired in the F5 XC Console. Re-generate the token under Personal Management > Credentials and update the profile.
- PKCS#12 Certificate: Confirm that the
.p12certificate bundle path is accessible on your local disk and that the passphrase decrypts the private key correctly.
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) and run xcsh: Clear Auth Cache to flush any stale session tokens from memory.
Symptom: Explorer Panel Empty Despite Configured Profile
Section titled “Symptom: Explorer Panel Empty Despite Configured Profile”If the Explorer and Subscription panels display no resources:
- Inspect the Profiles view to verify that a profile is explicitly marked as active (session activation gate).
- Double-click or select the radio button next to your desired profile to activate it for the current Visual Studio Code session.
- If using environment variables, verify that
VOLT_API_URLandVES_API_TOKEN(orVES_P12_BUNDLEandVES_P12_PASSWORD) are exported in your terminal environment.
Virtual File System (xcsh://) Errors
Section titled “Virtual File System (xcsh://) Errors”Symptom: “Resource name mismatch” or “Namespace mismatch” on Save
Section titled “Symptom: “Resource name mismatch” or “Namespace mismatch” on Save”When editing live resources via the xcsh:// file system:
- The root
metadata.nameproperty in the JSON document must exactly match the filename in the URI. - The root
metadata.namespaceproperty must exactly match the namespace path in the URI. - If you change
metadata.namein an existing document, the extension rejects the save operation to prevent unintended resource overwrites. To create a new resource with a different name, use the declarative file workflow or the Create Resource command.
Symptom: “Resource must have a metadata and spec field”
Section titled “Symptom: “Resource must have a metadata and spec field””The F5 Distributed Cloud API requires all resource configurations to maintain top-level metadata and spec objects. Ensure your JSON buffer is not stripped of these root wrappers.
Embedded Agent and RPC Subprocess Disconnects
Section titled “Embedded Agent and RPC Subprocess Disconnects”Symptom: @xcsh Chat Participant Fails to Respond
Section titled “Symptom: @xcsh Chat Participant Fails to Respond”If the embedded AI assistant fails to return responses or shows an RPC disconnection error:
-
Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P). -
Run xcsh: Restart Agent Process (
xcsh.xcsh.restart). -
Check the Visual Studio Code Output panel (
Ctrl+Shift+U/Cmd+Shift+U) and select F5 Distributed Cloud from the dropdown menu to inspect process logs. -
To enable verbose debug logging, update your settings:
{"xcsh.logLevel": "debug"}
Schema Validation and API Rejections
Section titled “Schema Validation and API Rejections”Symptom: “Invalid resource name format”
Section titled “Symptom: “Invalid resource name format””All F5 Distributed Cloud resource identifiers must adhere to DNS-1123 / kebab-case naming rules:
- Must contain only lowercase alphanumeric characters and hyphens (
-). - Must not contain uppercase letters, underscores (
_), spaces, or special characters. - Must start and end with an alphanumeric character.
Symptom: Mutual Exclusivity Conflicts
Section titled “Symptom: Mutual Exclusivity Conflicts”If the API rejects a manifest with an exclusivity error, use the Conflict Diagnostic Provider (see Resolve Schema Conflicts) to eliminate overlapping properties.
Regional Service Health Degradation
Section titled “Regional Service Health Degradation”Symptom: High Request Latency or API Timeouts
Section titled “Symptom: High Request Latency or API Timeouts”If requests to your tenant or deployed load balancers experience elevated latency:
- Open the Cloud Status view in Visual Studio Code.
- Check the Points of Presence (PoPs) section to identify whether regional Edge data centers serving your tenant are experiencing degraded connectivity or active maintenance windows.
- Select Open Dashboard (
xcsh.cloudStatus.openDashboard) to view real-time incident reports.