# Failed to establish two-way communication channel: context canceled. component=client

**URL:** <https://forums.percona.com/t/failed-to-establish-two-way-communication-channel-context-canceled-component-client/19566>\
**Category:** PMM 2.x\
**Tags:** pmm\
**Created:** [January 11, 2023, 11:23am UTC](https://forums.percona.com/t/failed-to-establish-two-way-communication-channel-context-canceled-component-client/19566 "2023-01-11T11:23:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mano\_malai](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mano_malai/32/8983_2.png) [@Mano\_malai](https://forums.percona.com/u/Mano_malai)\
**Post date:** [January 11, 2023, 11:23am UTC](https://forums.percona.com/t/failed-to-establish-two-way-communication-channel-context-canceled-component-client/19566/1 "2023-01-11T11:23:22Z")

</div>

PMM works fine for a period like 2 weeks or 1 months, but facing “failed to established two way communication” issue on some of the agents. we are not using any proxy behind the connectivity for server to agent connection.

some times restarting pmm-server helps to reconnect agent, but pmm2-admin list command not showing any output, simply stalled. Then again it went to the same issue.

we have a oneway port opening from client to server.

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [February 1, 2023, 3:06pm UTC](https://forums.percona.com/t/failed-to-establish-two-way-communication-channel-context-canceled-component-client/19566/2 "2023-02-01T15:06:45Z")

</div>

Hi Mano,

It’s important for you to check that the client can correctly connect to the PMM server in these cases. Have you tried troubleshooting this while you are seeing these issues? Using ping, telnet (to the PMM port) and curl can help you with this task.

Do you see any other messages or errors in the PMM client logs? Check on:

```auto
journalctl -u pmm-agent

```

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [February 1, 2023, 3:09pm UTC](https://forums.percona.com/t/failed-to-establish-two-way-communication-channel-context-canceled-component-client/19566/3 "2023-02-01T15:09:49Z")

</div>

Additionally, check:

> [@pmm2-client - Failed to establish two-way communication channel](https://forums.percona.com/t/pmm2-client-failed-to-establish-two-way-communication-channel/8112):
>
> We are having issues connecting pmm2-client with pmm-server ( pmm2 ). Everything was working working from March 2020 till 29Th September 5PM but then all of sudden all the pmm clients metrics stopped and on client logs are showing failed to connect to pmm server with below error Error Log Oct 8 04:51:07 n01-nsy1 pmm-agent: #033[36mINFO#033[0m[2020-10-08T04:51:07.085+00:00] Connected to [pmm.xxxxxxxx.com:443](http://pmm.xxxxxxxx.com:443). #033[36mcomponent#033[0m=client Oct 8 04:51:07 n01-nsy1 pmm-agent: #033[36mINFO#03…
