Replies: 3 comments 6 replies
-
Can you share your config? |
Beta Was this translation helpful? Give feedback.
-
updated faro-web-sdk version to v1.7.0 still i could see the same error Am I missing anything here ? Any idea what is the issue ? @rfratto |
Beta Was this translation helpful? Give feedback.
-
Have you adopted ingress controller like traefik when sending telemetry data to grafana agent? You may need to configure CORS at ingress side |
Beta Was this translation helpful? Give feedback.
-
Hi ,
I am using grafana agent to monitor the logs but facing the below error while I am initialising faro
Access to fetch at 'http://localhost:12345/collect' from origin 'http://localhost:8000/’ has been blocked by CORS policy: Request header field x-faro-session-id is not allowed by Access-Control-Allow-Headers in preflight response.
Steps to reproduce
Latest release v0.38.1 says,
Bugfixes:
Permit X-Faro-Session-ID header in CORS requests for the faro.receiver
component (flow mode) and the app_agent_receiver integration (static mode).
Though I have upgraded the agent version to v0.38.1 and restarted the agent I am still facing the same error
Currently I am using,
grafana-agent static mode
faro-web-sdk version: v1.3.5
Grafana-agent version: v0.38.1
Any idea what is the issue ? What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions