# Error: Failed while waiting for agent status

**URL:** <https://forum.dfinity.org/t/error-failed-while-waiting-for-agent-status/24910>\
**Category:** Getting Started\
**Tags:** sdk\
**Created:** [November 22, 2023, 9:29pm UTC](https://forum.dfinity.org/t/error-failed-while-waiting-for-agent-status/24910 "2023-11-22T21:29:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theoman42](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/theoman42/32/23829_2.png) [@theoman42](https://forum.dfinity.org/u/theoman42)\
**Post date:** [November 22, 2023, 9:29pm UTC](https://forum.dfinity.org/t/error-failed-while-waiting-for-agent-status/24910/1 "2023-11-22T21:29:13Z")

</div>

I am simply trying to

```auto
dfx ping ic

```

and keep getting this error.

```auto
Caused by: Failed while waiting for agent status.
  An error happened during communication with the replica: error sending request for url (https://icp0.io/api/v2/status): error trying to connect: tls handshake alert

```

Has anyone else experienced this issue?

---

<div class="post-metadata">

**Author:** ![theoman42](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/theoman42/32/23829_2.png) [@theoman42](https://forum.dfinity.org/u/theoman42)\
**Post date:** [November 25, 2023, 6:47pm UTC](https://forum.dfinity.org/t/error-failed-while-waiting-for-agent-status/24910/2 "2023-11-25T18:47:56Z")

</div>

Fixed, switched wifi networks.
