# Elastic Observability Engineer Lab 4.3 PetClinict-react service map disconnected

**URL:** <https://discuss.elastic.co/t/elastic-observability-engineer-lab-4-3-petclinict-react-service-map-disconnected/315097>\
**Category:** Elastic Training\
**Tags:** docker\
**Created:** [September 25, 2022, 11:15am UTC](https://discuss.elastic.co/t/elastic-observability-engineer-lab-4-3-petclinict-react-service-map-disconnected/315097 "2022-09-25T11:15:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnitaL](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@AnitaL](https://discuss.elastic.co/u/AnitaL)\
**Post date:** [September 25, 2022, 11:15am UTC](https://discuss.elastic.co/t/elastic-observability-engineer-lab-4-3-petclinict-react-service-map-disconnected/315097/1 "2022-09-25T11:15:35Z")

</div>

Hi, I have all services connected except petclinic-react , in other words:

petclinic-react is disconnected all these are connected properly: petclinic-node, petclinic-java, petclinic-address-finder, mysql, elasticsearch

I have restarted the docker containers and I also checked that the ELASTIC\_APM\_SERVER\_JS\_URL matches what shows in the Virtual Machine: Machine info Public DNS (I changed a few numbers below as not sure if that should be exposed here).

When I clicked focus map it says to check I have the right version of the APM agent - I installed @elastic/apm-rum@4.9.0 as per the labs, and also tried @elastic/apm-rum@4.9.1 since npm outdated said to use that version.

Any ideas?

[EDIT: Maybe related: I have never been able to get any response when I click on the link to the petclinic URL from within the lab instructions - instead I need to open the site by clicking the link within the Strigo tab - almost like the browser is blocking the link?]

```auto
[root@petclinic-client server]# cat config.js 

var config = {
  apm_server: process.env.ELASTIC_APM_SERVER_URL || 'http://fleet-server:8200',
  apm_server_token: process.env.ELASTIC_APM_SECRET_TOKEN || 'nonprodpwd',
  apm_server_js: process.env.ELASTIC_APM_SERVER_JS_URL || 'http://ec2-12-34-123-45.eu-central-1.compute.amazonaws.com:8200',
  apm_service_name: process.env.ELASTIC_APM_SERVICE_NAME || 'petclinic-node',
  apm_client_service_name: process.env.ELASTIC_APM_CLIENT_SERVICE_NAME || 'petclinic-react',
  apm_service_version: process.env.ELASTIC_APM_SERVICE_VERSION || '1.0.0',
  api_server: process.env.API_SERVER || 'http://petclinic-server:8000',
  api_prefix: process.env.API_PREFIX || '/petclinic/api',
  address_server: process.env.ADDRESS_SERVER || 'http://address-finder:5000',
  distributedTracingOrigins: process.env.DISTRIBUTED_TRACINGS_ORIGINS || 'http://petclinic-client:4000,http://petclinic-server:8000,http://localhost:4000,http://localhost:8080,http://localhost:8081'
}

module.exports = config;

```

 ![Screenshot 2022-09-25 at 20.16.35](https://us1.discourse-cdn.com/elastic/original/3X/a/9/a93a306a1e4023214262bf054dcb1fad27894329.jpeg)

---

<div class="post-metadata">

**Author:** ![Andre\_Murbach\_Maidl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_murbach_maidl/32/83508_2.png) [@Andre\_Murbach\_Maidl](https://discuss.elastic.co/u/Andre_Murbach_Maidl)\
**Post date:** [September 26, 2022, 2:20pm UTC](https://discuss.elastic.co/t/elastic-observability-engineer-lab-4-3-petclinict-react-service-map-disconnected/315097/2 "2022-09-26T14:20:43Z")

</div>

Hi @AnitaL ,

please try to access Petclinic from your browser and generate some data to see if the service map gets back to normal. It might happen this sometimes due to the way the load generator works.

Regarding the link inside lab instructions, it won't work because it is behind a proxy in Strigo and we are working on a solution to this. For now, the best way to access the Petclinic application is by using your Public DNS with port 4000 in a browser window/tab.

Best,  
Andre

---

<div class="post-metadata">

**Author:** ![AnitaL](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@AnitaL](https://discuss.elastic.co/u/AnitaL)\
**Post date:** [September 26, 2022, 2:36pm UTC](https://discuss.elastic.co/t/elastic-observability-engineer-lab-4-3-petclinict-react-service-map-disconnected/315097/3 "2022-09-26T14:36:05Z")

</div>

Thank you so much!

I had already tried generating the data which did not solve it. What solved it:

Access the Petclinic application using my Public DNS with port 4000 in the browser tab.

In other words, copying the link from the Virtual Machine info and adding :4000 at the end, eg

```auto
http://ec2-12-34-567-69.eu-central-1.compute.amazonaws.com:4000

```

My issue: I had been accessing the Petclinic app from the "open in new tab button icon" within the Virtual machine, and the tab had been opening as eg

```auto
https://somerandomeletters-morerandom.rp.strigo.io/?_strigo_rpid=morerandom-letters540c5cef343cda2

```

---

<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:** [October 26, 2022, 2:36pm UTC](https://discuss.elastic.co/t/elastic-observability-engineer-lab-4-3-petclinict-react-service-map-disconnected/315097/4 "2022-10-26T14:36:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
