Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Failed to list namespaces: Error: connect ECONNREFUSED 127.0.0.1:6443 #83

@lgmorand

Description

@lgmorand

Does this occur consistently? Yes
Repro steps:

  1. Create a dummy project and use Draft to create the Dockerfile
  2. Use the command "AKS create deployment and service
  3. Specify the output folder, the name of the deployment and the exposed pod
  4. Boom error

from source code, it seems it wants to connect to some cluster. What if I can't access it from my dev machine ? What if I don't want to specify a namespace right now and just want to generate manifests ?

Action: aks-draft-extension.runDraftDeployment
Error type: Error
Error Message: Failed to list namespaces: Error: connect ECONNREFUSED redacted:id

Version: 0.1.1
OS: win32
OS Release: 10.0.22621
Product: Visual Studio Code
Product Version: 1.75.1
Language: en

Call Stack
getAysncResult extension.js:2:4425587
extension.js:2:4404175extension.js:2:4404175

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions