Error while starting automated test.

blynker
Messages : 2
Inscription : mer. janv. 17, 2024 9:58 am

Error while starting automated test.

Message par blynker »

Good morning. i get the following error message while starting automatic bdd test.
"The specified token does not provide access to the requested resources. Please check your credentials or access permissions and try again."
I use: squash tm on localhost, orchestrator and Maria db on docker image. I use the generated keys for test purpose. What is wrong?
error.pdf
(14.75 Kio) Téléchargé 13 fois
kung
Messages : 3
Inscription : mer. juil. 05, 2023 12:11 pm

Re: Error while starting automated test.

Message par kung »

Hello,

It seems like the JWT registered in Squash TM is incorrect, did you used the correct one ?
You can use curl or something similar to test the token on the orchestrator, for example on the GET /workflows endpoint of the observer.
When you're talking about the generated keys is it the one automatically generated by the orchestrator when you're not mounting any pubkey?
I'm not aware of any problem with it, at least on the 4.8.0 orchestrator.
Just to be sure that the requests are not going anywhere else, do you see some 401 requests or something like that in the orchestrator's logs?

Kind regards,

Kevin
Répondre

Revenir à « Support des tests automatisés »