faro-web-sdk
faro-web-sdk copied to clipboard
error config collector "http://localhost:8027/collect"
Description
Steps to reproduce
docker compose --profile demo up -d
Expected behavior
Actual behavior
I'm using the docker-compose.yaml from the repository, but the metrics are not being captured, I imagine that the address "http://localhost:8027/collect" is set incorrectly, it should be the hostname of the container "faro-web- sdk-agent-1" or am I mistaken?
Environment
- SDK version:
- SDK instrumentations:
- Device type:
- Device name:
- OS:
- Browser:
Demo
Context
Hi @ITMPGIT
We recently added the x-faro-session-id header to each beacon request. To make this work it needs the current agent version where the new header is enabled for cors.
Did you maybe already use the demo before? If yes, you may need to pull the newest versions of the containers and rebuild them.
Cheers, Marco
Thanks for the answer, I've never used the demo before. I recreated the containers but the same error occurs in the collector.
ran: docker compose --profile demo up -d --force-recreate --build
Hi @ITMPGIT,
tested the demo and having the same issue. Investigating now.
Hi @ITMPGIT
Pulled all images again and the the Demo worked as expected.
I used the following command:
docker-compose down && docker-compose build --pull && docker-compose --profile demo up
Would you mind trying it again?
Cheers, Marco
I'm out of luck, even doing the pull again, I always have the same error.
the only thing I changed was the Dockerfile due to the yarn timeout