# Kubectl error couldn’t get current server API group list on WSL2

**URL:** <https://discuss.kubernetes.io/t/kubectl-error-couldn-t-get-current-server-api-group-list-on-wsl2/27175>\
**Category:** General Discussions\
**Created:** [February 21, 2024, 6:38am UTC](https://discuss.kubernetes.io/t/kubectl-error-couldn-t-get-current-server-api-group-list-on-wsl2/27175 "2024-02-21T06:38:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lemong](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/lemong/32/14348_2.png) [@lemong](https://discuss.kubernetes.io/u/lemong)\
**Post date:** [February 21, 2024, 6:38am UTC](https://discuss.kubernetes.io/t/kubectl-error-couldn-t-get-current-server-api-group-list-on-wsl2/27175/1 "2024-02-21T06:38:45Z")

</div>

Good afternoon everybody!

I am in need of assistance with my kubernetes clusters running on WSL2 and Docker Desktop.

I can’t get to connect to my working space to my clusters.

Whenever I try to get the `kubectl get pods`, it appears the following message:

```auto
E0220 20:42:13.292649 76226 memcache.go:265] couldn't get current server API group list: Get "https://kubernetes.docker.internal:6443/api?timeout=32s": EOF

```

Any advice in how to solve this issue?

### Cluster information:

Kubernetes version: 1.29.1  
Cloud being used: bare-metal  
Installation method: docker desktop  
Host OS: Windows 11
