409 error aboat brower enable

When i access https://brozac.${wildcard_url}:8446 after i have started BrowZer, I got
image

The url of response is

https://brozac.rootwang.link:8446/browzer_error?browzer_error_data==%7B%22status%22:409,%22code%22:1014,%22title%22:%22OriginTrial%20subdomain%20mismatch%20for%20feature%20%5BWebAssemblyJSPromiseIntegration%5D%22,%22message%22:%22Expected%20origin%20%5B*.cloudziti.io%5D%20but%20is%20accessed%20from%20%5B*.rootwang.link%5D%22,%22myvar%22:%7B%22type%22:%22zbr%22%7D%7D

and decode it

{"status":409,"code":1014,"title":"OriginTrial subdomain mismatch for feature [WebA

I have already tried the following three methods, but still not work.
1、 enable JSPI in chrome
image
2、clear site data
image
3、set the ZITI_BROWZER_RUNTIME_ORIGIN_TRIAL_TOKEN variable

Hi @rootwang, just wanted to let you know that we will want @curt to take a look at this. I'm not entirely certain what "OriginTrial subdomain mismatch for feature" means. Is there any other logs from the browzer bootstrapper you could share?

Hi @rootwang. Did you find this forum post and have you tried this? The browzer doc needs to be updated with this new flow.

Let us know if you're able to follow along and make the required changes

I'm glad to receive your reply. I finally successful, thank you. I've tried all the methods mentioned in this forum post and you can look at my attempts in the question. This issue occurred when using the clone method to install browzer-bootstrapper.
But i just tried to start browzer-bootstrapper with docker like this.

sudo docker run -d \
  --name ziti-browzer-bootstrapper \
  -v /etc/letsencrypt:/etc/letsencrypt \
  --user "0:2171" \
  -p ${ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT}:${ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT} \
  -e NODE_ENV="${NODE_ENV}" \
  -e ZITI_BROWZER_BOOTSTRAPPER_LOGLEVEL="${ZITI_BROWZER_BOOTSTRAPPER_LOGLEVEL}" \
  -e ZITI_BROWZER_RUNTIME_LOGLEVEL="${ZITI_BROWZER_RUNTIME_LOGLEVEL}" \
  -e ZITI_BROWZER_RUNTIME_HOTKEY="${ZITI_BROWZER_RUNTIME_HOTKEY}" \
  -e ZITI_CONTROLLER_HOST="${ZITI_CONTROLLER_HOST}" \
  -e ZITI_CONTROLLER_PORT="${ZITI_CONTROLLER_PORT}" \
  -e ZITI_BROWZER_BOOTSTRAPPER_HOST="${ZITI_BROWZER_BOOTSTRAPPER_HOST}" \
  -e ZITI_BROWZER_BOOTSTRAPPER_SCHEME="${ZITI_BROWZER_BOOTSTRAPPER_SCHEME}" \
  -e ZITI_BROWZER_BOOTSTRAPPER_CERTIFICATE_PATH="${ZITI_BROWZER_BOOTSTRAPPER_CERTIFICATE_PATH}" \
  -e ZITI_BROWZER_BOOTSTRAPPER_KEY_PATH="${ZITI_BROWZER_BOOTSTRAPPER_KEY_PATH}" \
  -e ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT="${ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT}" \
  -e ZITI_BROWZER_BOOTSTRAPPER_TARGETS="${ZITI_BROWZER_BOOTSTRAPPER_TARGETS}" \
  -e ZITI_BROWZER_RUNTIME_ORIGIN_TRIAL_TOKEN="${ZITI_BROWZER_RUNTIME_ORIGIN_TRIAL_TOKEN}" \
  ghcr.io/openziti/ziti-browzer-bootstrapper:latest

the logs of browzer-bootstrapper is

ubuntu@ip-10-1-2-168:~$ sudo docker logs 3dd66b2eff8d
{"timestamp": "2024-06-12T10:31:18.107Z", "level": "info", "message":  "ZITI_BROWZER_BOOTSTRAPPER_LOG_PATH is null"}
{"level":"info","message":"ziti-browzer-bootstrapper initializing","timestamp":"2024-06-12T10:31:40.723Z","version":"0.61.0"}
{"field":"idp_type","level":"warn","message":"obsolete config field encountered - ignored","timestamp":"2024-06-12T10:31:40.730Z","version":"0.61.0"}
{"host":"ctrl.rootwang2023.link","level":"info","message":"contacting specified controller","port":"8441","timestamp":"2024-06-12T10:31:40.735Z","version":"0.61.0"}
{"level":"debug","message":"configured target service(s)","targets":{"targetArray":[{"idp_client_id":"vloLZgo1bW0P0ps5CJ2ir719d01uYvfb","idp_issuer_base_url":"https://dev-mdh87tlupda6rgcl.us.auth0.com","path":"/","scheme":"http","service":"brozac","vhost":"brozac.rootwang2023.link"}]},"timestamp":"2024-06-12T10:31:43.764Z","version":"0.61.0"}
{"certificate_path":"/etc/letsencrypt/live/rootwang2023.link/fullchain.pem","key_path":"/etc/letsencrypt/live/rootwang2023.link/privkey.pem","level":"info","message":"new tlsContext created","timestamp":"2024-06-12T10:31:43.849Z","version":"0.61.0"}
{"level":"info","message":"listening","port":"8446","scheme":"https","timestamp":"2024-06-12T10:31:43.867Z","version":"0.61.0"}
{"controllerVersion":"1.1.3","level":"info","message":"attached controller version","timestamp":"2024-06-12T10:31:46.426Z","version":"0.61.0"}

and got the response of url is

1 Like