# Sui Client CLI (testnet) 502 error

**URL:** <https://forums.sui.io/t/sui-client-cli-testnet-502-error/45717>\
**Category:** Sui Network\
**Tags:** testnet\
**Created:** [June 16, 2024, 9:08am UTC](https://forums.sui.io/t/sui-client-cli-testnet-502-error/45717 "2024-06-16T09:08:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ororo](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@ororo](https://forums.sui.io/u/ororo)\
**Post date:** [June 16, 2024, 9:08am UTC](https://forums.sui.io/t/sui-client-cli-testnet-502-error/45717/1 "2024-06-16T09:08:37Z")

</div>

Are there any actions that need to be taken to correctly connect to testnet?

```auto
> sui client envs
╭─────────┬─────────────────────────────────────┬────────╮
│ alias │ url │ active │
├─────────┼─────────────────────────────────────┼────────┤
│ testnet │ https://fullnode.testnet.sui.io:443 │ * │
╰─────────┴─────────────────────────────────────┴────────╯
> sui client active-address
0x51cbdf41d29831c312e9d0b60b98954eb5a83da2ebbc2d383e7d70aae479f5f3

> sui client faucet
Request successful. It can take up to 1 minute to get the coin. Run sui client gas to check your gas coins.

> sui client objects 0x51cbdf41d29831c312e9d0b60b98954eb5a83da2ebbc2d383e7d70aae479f5f3

Networking or low-level protocol error: Server returned an error status code: 502
Caused by:
    Server returned an error status code: 502

```
