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é 65 fois
kung
Messages : 5
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
mariarivera
Messages : 1
Inscription : sam. août 03, 2024 4:20 am

Re: Error while starting automated test.

Message par mariarivera »

It seems like the error is related to access permissions. Please ensure that the token you are using has the correct permissions for the resources you are trying to access. Double-check your credentials and the configuration of your Docker setup for Squash TM and MariaDB. If the problem persists, consider regenerating the keys or reviewing the access settings in your environment.
LucyCoffee
Messages : 2
Inscription : mar. avr. 30, 2024 8:54 am

Re: Error while starting automated test.

Message par LucyCoffee »

mariarivera a écrit : sam. août 03, 2024 4:24 am It seems like the error is related to access permissions. Please ensure that the token you are using has the correct permissions for the resources you are trying to access. Double-check your credentials and the configuration of your Docker setup for Squash TM and MariaDB. If the problem persists, consider regenerating the keys or reviewing the access settings in your environment.half body sexdoll
Unfortunately, I'm having the same problem, but your method doesn't seem to be working? Is there a better way? Thanks in advance. :cry: :cry:
Répondre

Revenir à « Support des tests automatisés »