# Cluster Activegate Test Connection Fail

**URL:** <https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203>\
**Category:** Open Q&A\
**Tags:** activegate\
**Created:** [September 28, 2018, 7:02am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203 "2018-09-28T07:02:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohit\_gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mohit\_gupta](https://community.dynatrace.com/u/mohit_gupta)\
**Post date:** [September 28, 2018, 7:02am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/1 "2018-09-28T07:02:05Z")

</div>

Dear All,

I am setting up a Cluster ActiveGate for Mobile RUM and Synthetic monitoring while Testing connection to URL I am getting below issue.

 ![18447-capture.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/1/0125873ff7ded4a88ccb5477ec5a9cbb17e0d305.png)

Is SSL certificate is a mandatory thing for Mobile RUM?

---

<div class="post-metadata">

**Author:** ![franz\_soengen](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/franz_soengen/32/21806_2.png) [@franz\_soengen](https://community.dynatrace.com/u/franz_soengen)\
**Post date:** [September 28, 2018, 7:32am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/2 "2018-09-28T07:32:34Z")

</div>

Hi Mohit,

you are getting these errors because your Cluster ActiveGate is not reachable from the Internet. You need to set a publicly available URL that your Mobile Users can reach.

Regarding your second question: all communication is encrypted so you’ll need a working SSL configuration.

best regards  
Franz

---

<div class="post-metadata">

**Author:** ![mohit\_gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mohit\_gupta](https://community.dynatrace.com/u/mohit_gupta)\
**Post date:** [September 28, 2018, 7:40am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/3 "2018-09-28T07:40:00Z")

</div>

Hi Franz,

Thanks for your quick reply

Here am not targeting users who are coming from the internet instead am focusing on the on-premises (Local users) for which I think a valid SSL certificate with the domain name will be sufficient.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [September 28, 2018, 8:04am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/4 "2018-09-28T08:04:37Z")

</div>

As [@Franz S.](https://answers.dynatrace.com/users/20834/view.html) says, this test is performed from the internet. So if your cluster ActiveGate isn’t reachable from the internet, this test will fail.  
If you are targeting mobile apps on a private network, it’s probably ok. For mobile apps, you definitely need to have the gateway reachable from mobile devices (can be on private ip addresses) and also the certificate, which is issued for the FQDN of your gateway and is trusted by your mobile devices. The default certificate is selfsigned and will not work.

---

<div class="post-metadata">

**Author:** ![mohit\_gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mohit\_gupta](https://community.dynatrace.com/u/mohit_gupta)\
**Post date:** [October 3, 2018, 4:42am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/5 "2018-10-03T04:42:28Z")

</div>

Hi Julius,

Thanks for the answer.

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [August 29, 2019, 9:06am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/6 "2019-08-29T09:06:58Z")

</div>

Hi,

In order for Dynatrace’s public synthetic monitoring nodes to send data to a Cluster ActiveGate, do we need port 443, 9999, or both to be open towards the internet?

It doesn’t say here: [Supported connectivity schemes for ActiveGates — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/which-network-ports-does-activegate-use/)

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [August 30, 2019, 7:36am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/7 "2019-08-30T07:36:43Z")

</div>

The below doc contains somewhat conflicting info, as the picture shows TCP 9999 but the text says “[Cluster ActiveGate] external communication is only supported in a secure manner using HTTPS (port 443)”. So I’m still not sure which one 🙂

[https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/installation/managed-deployment-scenarios/#scenario-2-pure-dynatrace-managed-setup](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/installation/managed-deployment-scenarios/#scenario-2-pure-dynatrace-managed-setup)

---

<div class="post-metadata">

**Author:** ![mohit\_gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mohit\_gupta](https://community.dynatrace.com/u/mohit_gupta)\
**Post date:** [August 30, 2019, 7:48am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/8 "2019-08-30T07:48:37Z")

</div>

Hi Kallel,

Until mobile beacon for RUM and Synthetic monitoring servers is able to send data to cluster active gate every configuration is fine.

You will need only one port to be opened and accessible from the internet. It depends on your networking team and firewall team what they permit as per the policies. Dynatrace active gate only listens to port 9999.

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [August 30, 2019, 2:07pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/9 "2019-08-30T14:07:44Z")

</div>

Thanks for the response, I believe you’re correct. The reference in the documentation to port 443 should probably be replaced with 9999…

---

<div class="post-metadata">

**Author:** ![rmeli](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rmeli](https://community.dynatrace.com/u/rmeli)\
**Post date:** [August 30, 2019, 3:30pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/10 "2019-08-30T15:30:28Z")

</div>

We are trying to do the exact same thing. Can someone explain how this whole process flow happens and what IP addresses it is generated from. We have to whitelist specific IP addresses.

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [August 30, 2019, 3:41pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/11 "2019-08-30T15:41:31Z")

</div>

I believe it’s currently described like this:

Source: Internet

Port: TCP/9999

Destination: Cluster ActiveGate

So basically you’d need to allow all incoming connections from the internet for TCP/9999. I haven’t seen any specific IPs mentioned (like there is for Mission Control), the requirement is to allow the whole internet in.

---

<div class="post-metadata">

**Author:** ![rmeli](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rmeli](https://community.dynatrace.com/u/rmeli)\
**Post date:** [August 30, 2019, 3:46pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/12 "2019-08-30T15:46:20Z")

</div>

We can’t allow the whole internet access for the Test environment we are currently working in. We can when we get to our Production environment.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [September 5, 2019, 6:05am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/13 "2019-09-05T06:05:42Z")

</div>

Dear All,

We are going through the same situation. In Scenario 3: Integration with existing IT landscape is mentioned that port # 443 will be used for external contents so we did the same. Even though with the Cluster ActiveGate URL test connection is failing.

[https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/installation/managed-deployment-scenarios/](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/installation/managed-deployment-scenarios/)

Any hint in this regard?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [September 5, 2019, 6:29am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/14 "2019-09-05T06:29:57Z")

</div>

Default is the 9999/tcp. So you either have to reconfigure the Cluster ActiveGate to use the 443/tcp which I think may not directly work since binding to privileged ports (\<1024) requires root/administrative rights for the user. Gateway does not run as root.

443 is mentions as it typically is the port firewalls are passing for standard SSL communications. Thus you will need a load balancer before the Cluster ActiveGate that will listen on the 443 and pass it to the Cluster ActiveGate.

---

<div class="post-metadata">

**Author:** ![mohit\_gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mohit\_gupta](https://community.dynatrace.com/u/mohit_gupta)\
**Post date:** [September 5, 2019, 7:41am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/15 "2019-09-05T07:41:49Z")

</div>

Hi Babar,

Julius is correct, I have implemented the same using Load Balancer. For your better understanding please find the below architecture diagram of what I have implemented for one of our clients.

 ![21806-1567669173671.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/3/8334a8247a11690b2b697ca003124e2313301a19.png)  
 ![1567669130951.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/f/dfc4480526caae3448b39913168fb70e1868b75e.png)

---

<div class="post-metadata">

**Author:** ![rmeli](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rmeli](https://community.dynatrace.com/u/rmeli)\
**Post date:** [September 5, 2019, 11:50am UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/16 "2019-09-05T11:50:12Z")

</div>

The diagram is exactly the configuration we have. How are people going about testing whether it works or not? What does the “Test connection to URL” do exactly so we can trace where communications are failing?

---

<div class="post-metadata">

**Author:** ![mohit\_gupta](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mohit\_gupta](https://community.dynatrace.com/u/mohit_gupta)\
**Post date:** [September 5, 2019, 12:00pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/17 "2019-09-05T12:00:53Z")

</div>

Hi Roger,

Follow below troubleshooting steps.

[https://www.dynatrace.com/support/help/offline-doc/how-do-i-set-up-mobile-apps-for-real-user-monitoring/](https://www.dynatrace.com/support/help/offline-doc/how-do-i-set-up-mobile-apps-for-real-user-monitoring/)

 ![21811-1567684645792.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/8557b224dd254427b78e979aa801d992aa6697d6.png)

Regards,

MG

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [September 5, 2019, 12:14pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/18 "2019-09-05T12:14:49Z")

</div>

For test purposes if you want to collect data from agentless rum monitoring or mobile app, devices has to be in network that has access to activegate, so you can use vpn or just use corporate wifi. You can as well use F5 before ActiveGate to not expose it individually.

Sebastian

---

<div class="post-metadata">

**Author:** ![rmeli](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@rmeli](https://community.dynatrace.com/u/rmeli)\
**Post date:** [September 5, 2019, 12:32pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/19 "2019-09-05T12:32:53Z")

</div>

Thanks for the answers. I am trying the mobile app now. I am also on the corporate network and I can ping the F5 that sits in front of the cluster activegates. Is there something I can do to test that part of the connection? This is all new to me.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [September 5, 2019, 12:37pm UTC](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203/20 "2019-09-05T12:37:09Z")

</div>

Hello [@Julius L.](https://answers.dynatrace.com/users/16467/view.html) and [@Mohit G.](https://answers.dynatrace.com/users/20255/view.html)

Thank you for your reply.

We have the same setup. I meant traffic is terminating on the LB using port 443 and then natting with LB VIP and forwarding traffic to the Cluster ActiveGates.

Do we need to open the Firewall for TCP port 9999 between LB and Cluster AciveGates?

This is the different thing I found in [@Mohit G.](https://answers.dynatrace.com/users/20255/view.html) diagram.

Regards,

Babar

[Next page](https://community.dynatrace.com/t/cluster-activegate-test-connection-fail/16203.md?page=2)
