Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camunda Cloud Channel Throws InvalidCamundaCloudCredentialsError (pyzeebe 3.0.0rc4) #217

Closed
aleksvidak opened this issue Oct 3, 2021 · 3 comments
Labels
3.0.0 Will be released in Zeebe 3.0.0 bug Something isn't working

Comments

@aleksvidak
Copy link

Describe the bug
When I use create_camunda_cloud_channel by providing necessary info, I get exception on app start:

pyzeebe.errors.credentials_errors.InvalidCamundaCloudCredentialsError: Invalid credentials supplied for cluster XXX with client YYY.

I believe it has to do with audience value. Now it is equal to cluster_id. When update camunda_cloud_channel module and set it to:
audience = f'{cluster_id}.{region}.zeebe.camunda.io',
then it works.

To Reproduce
Steps to reproduce the behavior:

  1. Should be reproducible with camunda cloud credentials.

Expected behavior
A would expect connection to camunda works.

Desktop (please complete the following information):

  • Version pyzeebe 3.0.0rc4
@JonatanMartens JonatanMartens added 3.0.0 Will be released in Zeebe 3.0.0 bug Something isn't working labels Oct 9, 2021
@JonatanMartens
Copy link
Collaborator

Hey @aleksvidak.

I've created a pull request that should fix this issue (#219). I currently don't have access to a cluster hosted on camunda cloud, so could you please confirm this fixes the issue?

@aleksvidak
Copy link
Author

@JonatanMartens I tested it against Camunda cluster, it works 👍🏻

@JonatanMartens
Copy link
Collaborator

Merged fix into pre-release/3.0.0. Will be released in v3.0.0rc5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 Will be released in Zeebe 3.0.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants