# Remote environments connection not working

**URL:** <https://community.dynatrace.com/t/remote-environments-connection-not-working/37861>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed\
**Created:** [January 4, 2023, 9:20am UTC](https://community.dynatrace.com/t/remote-environments-connection-not-working/37861 "2023-01-04T09:20:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [January 4, 2023, 9:20am UTC](https://community.dynatrace.com/t/remote-environments-connection-not-working/37861/1 "2023-01-04T09:20:04Z")

</div>

Hi dear community,

I wonder if we do something obviously wrong or if there is more behind. We have Dynatrace Managed Offline License with 3 DT cluster (DEV, UAT, PROD) with multiple environments in each Cluster.

For Dynatrace monitoring, we already created Dashboards in each Local-Self-Monitoring environment wich contains key information per each environment on each cluster using Remote Environments.&nbsp; So far so good, but we still have to switch between 3 Dashboards to do visual monitoring (we have event-based monitoring too).

We tried to add remote environments from other cluster in order to have single dashboard for all environments xross all clusters, but it is not working. We get uri/token error each time I test the connection.

So, first thought: FW issue. But actually I can access both, UI’s of environments in different clusters from cluster nodes via curl and I can do API call via curl and get the results. However, if I use same URI and same Token as in test from cluster node in Setting Remote environment, I get an error. What is not working here?

Thanks for any ideas and happy new year!

Ingrida

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [January 4, 2023, 12:29pm UTC](https://community.dynatrace.com/t/remote-environments-connection-not-working/37861/2 "2023-01-04T12:29:57Z")

</div>

Hi&nbsp;[@Ingrida](https://community.dynatrace.com/user/41084)&nbsp;, thanks for bringing your experience and ideas into the forum.

I think your approach is valid and should work. Can you share the exact error you have? Can you share more details about it?

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [January 4, 2023, 1:06pm UTC](https://community.dynatrace.com/t/remote-environments-connection-not-working/37861/3 "2023-01-04T13:06:21Z")

</div>

Hi&nbsp;[@Radoslaw\_Szulgo](https://community.dynatrace.com/user/25371)&nbsp;,

Here we are:

 ![Ingrida_0-1672837449173.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/f80bd016b5b02c3d76673b40513b0c21268dc401.png)

With same token from DT cluster host:

[xxx@xxx ~]$ curl -X GET “https://[uri]/api/v2/entities?entitySelector=type%28%22HOST%22%29” -H “accept: application/json; charset=utf-8” -H “Authorization: Api-Token TOKEN” {“totalCount”:44,“pageSize”:50…

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [January 4, 2023, 4:05pm UTC](https://community.dynatrace.com/t/remote-environments-connection-not-working/37861/4 "2023-01-04T16:05:23Z")

</div>

That specific error message is caused by an IOException (typically if network connectivity is blocked due to a firewall or something). You can search for an info log in server logs with that specific message; we add to that line the exception message to get even more details.
