Page 1 sur 1

Error while starting automated test.

Publié : mer. janv. 17, 2024 10:10 am
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é 672 fois

Re: Error while starting automated test.

Publié : lun. janv. 22, 2024 6:33 pm
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

Re: Error while starting automated test.

Publié : sam. août 03, 2024 4:24 am
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.

Re: Error while starting automated test.

Publié : sam. nov. 02, 2024 7:48 am
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:

Re: Error while starting automated test.

Publié : jeu. mars 06, 2025 2:51 am
par lunadam
blynker a écrit : mer. janv. 17, 2024 10:10 am 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
If your Squash TM instance is running locally, check that the API settings allow authentication via tokens.