Closed troyschneringer closed 2 months ago
Can observe on https://next.fons.com/. @samialdury is this something with can help with?
Turns out this was a GCP config issue. A previous version of the proxy had been deployed with the US environment variables. We when reverted to the defaults (by not setting the variables) Cloud Run did not clear out the old variable values causing a 500 error in the logs.
Describe the bug All calls to smartlook using the relay proxy fail with
Origin is not allowed by Access-Control-Allow-Origin
To Reproduce The relay is deployed to Google Cloud run via the following:
Domain mapping is setup and confirmed working with:
curl https://smartlook.fons.com/recorder.js
Smartlook is installed on the client using
smart look-client
:If
relayProxyUrl
is omitted, everything works fine. However withrelayProxyUrl
set, recordings do not occur and networks calls tohttps://smartlook.fons.com/manager/rec/sessions/0p4M-n8zDo_3tvI9uOq-s/active?projectKey=[KEY]
fail with a500
andOrigin is not allowed by Access-Control-Allow-Origin
Expected behavior Successful calls to smartlook and recordings appear in the dashboard.
Screenshots