https://www.runatlantis.io/ logo
Title
b

Ben

04/17/2023, 10:35 AM
Whenever I go to see the apply logs by clicking Details, I keep getting "invalid key" when going to the link (in the logs) any idea what i'd be doing wrong?
p

PePe Amengual

04/17/2023, 3:33 PM
that is for the ui details ?
do you reach the ui at least ?
b

Ben

04/17/2023, 4:53 PM
@PePe Amengual yes I can hit the UI normally, it just comes up with a black box and then in the server logs, I get the "Invalid Key" error
p

PePe Amengual

04/17/2023, 4:53 PM
so somehow the key for the job id of the plan is not matching
what version of atlantis are you running?
b

Ben

04/18/2023, 9:30 AM
v0.23.5-debian
Bumping this as I'm not sure why we're getting mismatched job keys cc: @PePe Amengual
p

PePe Amengual

04/20/2023, 3:48 PM
this happen to all the jobs ?
b

Ben

04/21/2023, 9:45 AM
@PePe Amengual yeah every job that we've generated
p

PePe Amengual

04/21/2023, 4:06 PM
and the url is like
/jobs/ad13f69d-07b1-419b-811e-eb9fc99444a4
?
and you are not redirecting any request that is not
/
to
/events
by any chance?
b

Ben

04/24/2023, 9:10 AM
Correct @PePe Amengual, that url is the correct format, and we're not redirecting anything
p

PePe Amengual

04/24/2023, 3:29 PM
and only one Atlantis server ?
b

Ben

04/24/2023, 3:29 PM
yeah, hahaha finally worked out what it was, I couldn't find it in the docs anywhere but ATLANTIS_TFE_LOCAL_EXECUTION_MODE needed to be set to true if we were using remote state only
p

PePe Amengual

04/24/2023, 3:30 PM
do you mind creating a PR to add the docs ?
b

Ben

04/24/2023, 3:30 PM
Yeah will do