# Synthetic monitoring Docker run is stopped working suddenly

**URL:** https://discuss.elastic.co/t/synthetic-monitoring-docker-run-is-stopped-working-suddenly/287018
**Category:** Elastic Observability
**Tags:** docker
**Created:** [October 18, 2021, 6:46pm UTC](https://discuss.elastic.co/t/synthetic-monitoring-docker-run-is-stopped-working-suddenly/287018 "2021-10-18T18:46:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sadik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadik/32/95771_2.png) [@sadik](https://discuss.elastic.co/u/sadik)
#### Post date: [October 18, 2021, 6:46pm UTC](https://discuss.elastic.co/t/synthetic-monitoring-docker-run-is-stopped-working-suddenly/287018/1 "2021-10-18T18:46:57Z")

</div>

Hi Team,  
i am using below files for elk testing 👎  
===heartbeat.yml file==============

```auto
heartbeat.monitors:
- id: my-monitor
  name: My Monitor
  type: browser
  schedule: "@every 2m"
  source:
    local:
      path: "./elkfile"

```

============================package.json file===========

```auto
{
  "name": "elk-test-sm",
  "private": true,
  "description": "project dependencies.",
  "scripts": {},
  "license": "MIT",
  "dependencies": {
    "@elastic/synthetics": "^1.0.0-beta"
  },
  "devDependencies": {
    "node-static": "^0.7.11"
  }
}

```

=====================================elk-journey.js file========

```auto
import { journey, step } from '@elastic/synthetics';
import { deepStrictEqual } from 'assert';
import { join } from 'path';

journey('check if the elastic-info page is working', ({ page }) => {
  step('Go to Elastic Information page', async () => {
    await page.goto('https://www.elastic.co');
  });
});

```

=====================================docker run commands=========

```auto
sudo docker run \
  --rm \
  --name=heartbeat \
  --user=heartbeat \
  --volume="$PWD/heartbeat.yml:/usr/share/heartbeat/heartbeat.yml:ro" \
  --volume="$PWD:/usr/share/heartbeat/elkfile:ro" \
  docker.elastic.co/beats/heartbeat:7.15.0 heartbeat -e \
  -E cloud.id=Dev:
  -E cloud.auth=elastic:

```

===============================  
in heartbeat version we are using latest version(i.e.8.0.0-alpha2) also while run the docker run commands but same files is executing and working fine in last week but not working now and getting the below error.

So could please find the docker run error details in the given below and please suggest if anything is wrong:

`2021-10-18T18:38:42.343Z WARN synthexec/synthexec.go:197 Error executing command '/tmp/elastic-synthetics-662981811/node_modules/.bin/elastic-synthetics /tmp/elastic-synthetics-662981811 --screenshots on --rich-events --outfd 3': exit status 1`

Thanks in advance.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 4, 2022, 8:32am UTC](https://discuss.elastic.co/t/synthetic-monitoring-docker-run-is-stopped-working-suddenly/287018/2 "2022-11-04T08:32:43Z")

</div>


