# Intermittent Synthetic Monitoring connection timeout

**URL:** <https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673>\
**Category:** Synthetic Monitoring\
**Tags:** network-monitoring, synthetic-monitoring\
**Created:** [February 20, 2019, 2:58am UTC](https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673 "2019-02-20T02:58:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![naventran](https://avatars.discourse-cdn.com/v4/letter/n/74df32/32.png) [@naventran](https://community.dynatrace.com/u/naventran)\
**Post date:** [February 20, 2019, 2:58am UTC](https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673/1 "2019-02-20T02:58:24Z")

</div>

![19798-kpwkm-connection-timeout.jpg](https://global.discourse-cdn.com/dynatrace/original/3X/5/0/5088f24ba342a61aa5114f57957ccffd4da38713.jpeg)

Hi all, I have created a browser clickpath synthetic monitoring to monitor the website [https://www.kpwkm.gov.my](https://www.kpwkm.gov.my) I have set two locations to test the website, consists of N.Virginia and Sydney. It will send synthetic request with an interval of 15 minutes.

As a result, I am seeing intermittent connection timeout to the website. The issue is only occuring at the location N.Virginia. However, when I tried to VPN from the United States servers, the website seems to load succesfully.

Anyone, can anyone guide me to troubleshooot the connection timeout issue?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 1, 2020, 1:47pm UTC](https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673/2 "2020-05-01T13:47:50Z")

</div>

Are you still having this issue? Can you drill down into the synthetic and see if there is any other information surrounding the timeout?

---

<div class="post-metadata">

**Author:** ![ct\_27](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ct_27/32/10499_2.png) [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Post date:** [December 6, 2021, 6:22pm UTC](https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673/3 "2021-12-06T18:22:53Z")

</div>

For those that landed here a related and more recent discussion is occurring here:

[https://community.dynatrace.com/t5/Synthetic-Monitoring/Request-timeout-for-synthetic-monitor-in-Dynatrace/td-p/125253](https://community.dynatrace.com/topic/125253)

---

<div class="post-metadata">

**Author:** ![agata.wlodarczyk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agata.wlodarczyk/32/22_2.png) [@agata.wlodarczyk](https://community.dynatrace.com/u/agata.wlodarczyk)\
**Post date:** [December 15, 2021, 12:46pm UTC](https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673/4 "2021-12-15T12:46:48Z")

</div>

Hi [@naventran](https://community.dynatrace.com/user/9341) ,

[@Konrad\_Lisiecki](https://community.dynatrace.com/user/2922) answered this question in a different place. Please find out a copy of it below.

"You can modify requests and connect timeouts used by your particular synthetic-enabled AG. This can be achieved by adding/modifying custom configuration files as below. There’s however no possibility to overwrite settings per particular monitor.

Assuming default installation paths were used:

**HTTP monitors** settings

_/var/lib/dynatrace/gateway/config/custom.properties_

```auto
[synthetic]
requestTimeoutInMs = 10000
connectTimeoutInMs = 5000

```

**Browser monitors** settings

_/var/lib/dynatrace/synthetic/config/user.properties_

```auto
com.ruxit.vuc.http.httpClient.socketTimeoutMs=10000
com.ruxit.vuc.http.httpClient.connectTimeoutMs=5000

```

"

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [December 15, 2021, 6:59pm UTC](https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673/5 "2021-12-15T18:59:16Z")

</div>

Of course this applies if&nbsp;we’re talking about private synthetic monitoring.  
It’s not completely clear if the Topic Starter uses private or public endpoints, but by the names used I think these are public (AWS) locations.  
Under settings of the application specific Performance thresholds can be set.

---

<div class="post-metadata">

**Author:** ![ct\_27](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ct_27/32/10499_2.png) [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Post date:** [December 15, 2021, 7:24pm UTC](https://community.dynatrace.com/t/intermittent-synthetic-monitoring-connection-timeout/19673/6 "2021-12-15T19:24:25Z")

</div>

Great solution Agata.&nbsp; &nbsp;I wanted to help everyone a bit more regarding mass update using Monaco.

We had the same original problem in our organization but we had roughly 500 synthetics it impacted.&nbsp; So, using Monaco we managed to adjust everything to 60 seconds (from 10 seconds) in seconds.

You need to be familiar with Monaco ([Monitoring-as-code (Monaco)](https://www.dynatrace.com/news/blog/monitoring-as-code/)).

1) Using beta version 2 (NEW\_CLI=1) of Monaco run a ‘download’. This will export all your configurations.

2) From the output copy the ‘synthetic-monitor’ folder to another location

3) Change directory to your new location

4) Using something like Notepad++, do an “All Open Files”&nbsp; find&replace&nbsp;&nbsp;for

Find:&nbsp; &nbsp;“requestTimeout”: 10

Replace:&nbsp; &nbsp;“requestTimeout”: 60,

5)&nbsp; Now (in your new location) run Monaco with the “deploy” command (e.g.&nbsp; monaco deploy -e “environments.yaml” -p “projects” -c

Suggestion: Before running step 4 you may want to run the command with a -d to conduct a dry-run and ensure everything is right.

That’s it, all 500 synthetics will be updated to 60 seconds or however many seconds you pass into it.
