https://linen.dev logo
Hey all, trying to get the operator up
# mirrord-help
b
Hey all, trying to get the operator up and running for teams and running into some issues. The Operator is up and deployed and has the license configured properly (checked via
mirrord operator status
), and trying to start a new session continuously fails with a 403 on upgrading connection to be over Websockets:
Copy code
mirrord operator API failed: creating a websocket connection failed with failed to upgrade to a WebSocket connection: failed to switch protocol: 403 Forbidden
I'm using my admin role so i can port-forward/create-pods/etc. Any tips on what this could be?
a
are you using Teleport?
b
Nope
a
Any proxy between you and k8s?
b
I don't think so
actually yes
a
Which?
b
StrongDM
a
do you know which ver?
b
Client:
22.59.15
CLI:
sdm version 52.34.0 (9d9630e3a25c69f00a72c8be60dca38b026d14dd) (crypto)
a
Do you have any config in strongdm that this might need to be permitted?
b
checking with my SRE team right now!
a
usually we see these kind of errors where there's stateful proxy like StrongDM/Teleport/etc.. - in the past they had an issue where they didn't handle websocket correctly, but I hope it's not the case here D:
can you run the mirrord exec command with
MIRRORD_PROGRESS_MODE=off RUST_LOG=mirrord=trace
prepended?
like
MIRRORD_PROGRESS_MODE=off RUST_LOG=mirrord=trace mirrord exec...
(and share output)
b
Hey didn't mean to leave you hanging here - in the end i just moved the operator to a cluster that is not behind StrongDM and things are working as expected now
2 Views