# Connection status is always notAvailable for current user

**URL:** <https://community.sendbird.com/t/connection-status-is-always-notavailable-for-current-user/4619>\
**Category:** Flutter\
**Created:** [May 10, 2022, 8:21am UTC](https://community.sendbird.com/t/connection-status-is-always-notavailable-for-current-user/4619 "2022-05-10T08:21:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aayushthapa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/aayushthapa/32/1910_2.png) [@aayushthapa](https://community.sendbird.com/u/aayushthapa)\
**Post date:** [May 10, 2022, 8:21am UTC](https://community.sendbird.com/t/connection-status-is-always-notavailable-for-current-user/4619/1 "2022-05-10T08:21:47Z")

</div>

Hi,

```auto
print(sendbird.currentUser?.connectionStatus);

```

This always prints `UserConnectionStatus.notAvailable` in the app. But i can see online status in dashboard and getting this response from platform api `"is_online": true`

---

<div class="post-metadata">

**Author:** ![Adam.Oleksiak](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/adam.oleksiak/32/2239_2.png) [@Adam.Oleksiak](https://community.sendbird.com/u/Adam.Oleksiak)\
**Post date:** [May 18, 2022, 10:37pm UTC](https://community.sendbird.com/t/connection-status-is-always-notavailable-for-current-user/4619/2 "2022-05-18T22:37:13Z")

</div>

Hello @aayushthapa,

The current user’s connectionStatus will always be notAvailable. If you are looking to see if you are connected to the Sendbird server you can check the WebSocket connection state by calling getConnectionState(). [getConnectionState method - SendbirdSdk class - sendbird\_sdk\_api library - Dart API](https://sendbird.com/docs/chat/v3/flutter/ref/sdk_sendbird_sdk_api/SendbirdSdk/getConnectionState.html)

```auto
print(sendbird.getConnectionState());

```
