Questions tagged [uber-cadence]
90 questions
0
votes
2 answers
Cacence CLI unable to register a new domain: BadRequestError{Message: Invalid cluster name: }
I am trying to register a new domain following the docs for cadence.
When I try domain describe command, it works as expected:
docker run --rm ubercadence/cli:master --address host.docker.internal:7933 --domain samples-domain domain describe
Error:…

Yasin
- 1,906
- 1
- 21
- 37
0
votes
1 answer
Issues with matching service in Cadence
Two days ago, we started presenting some issues with our cadence setup.
The first thing we noticed is the Open workflows were not disappearing from the list once they completed. For example this workflow appears as Open in the list:
But when you…

user2052668
- 35
- 5
0
votes
1 answer
Getting tons of DecisionTaskTimedOut after scaling out the matching service of Uber cadence in docker swarm cluster
I’m tryng to run each cadence service independently so that I can scale them in and out easily.
My teams is using docker-swarm, and we’re managing everything with a Portainer UI.
So far, I’ve been able to scale the frontend service to have two…

user2052668
- 35
- 5
0
votes
1 answer
reset failed (code:deadline-exceeded message:timeout)
We are able to use the Cadence cli to read data from the system just fine (e.g. listing workflows, listing the history of a given workflow, etc).
However, when trying to reset a workflow, we are receiving a timeout error. We've tried increasing the…

Voobr
- 243
- 1
- 2
- 5
0
votes
1 answer
Can I or how to delete a Cadence workflow domain?
I incidentally created a wrong domain, or after some testing I wanted to delete the domain.
Should I do that? and How?

Long Quanzheng
- 2,076
- 1
- 10
- 22
0
votes
1 answer
cadence go-client/ client to reach server for fetching workflow results in panic
First time user of Cadence:
Scenario
I have a cadence server running in my sandbox environment.
Intent is to fetch the workflow status
I am trying to use this cadence client
go.uber.org/cadence/client
on my local host to talk to my sandbox cadence…

pysql
- 55
- 9
0
votes
1 answer
Why an activity task is scheduled but not started?
I have an activity task scheduled but never executed(started) by looking at the history, and then workflow got timeouted.
I can confirm that cadence worker is running because other workflow works fine at the same time.
Why the activity is not…

Long Quanzheng
- 2,076
- 1
- 10
- 22
0
votes
1 answer
How to restart a timeouted/failed/canceled/terminated cadence workflow
Hi I have a workflow with 2 activities.
Scenario. one activities is completed while executing second, URL link to which I need to communicate is down. Now when that URL is up workflows is timed out. So How can I restart Timed out workflow?
This…

Long Quanzheng
- 2,076
- 1
- 10
- 22
0
votes
1 answer
Tracking in progress cadence workflow by client
Let's say we need to generate the order after the user finalized his/her cart.
This is our steps to generate order:
generate an order in pending state (order microservice)
authorize user's credit(accounting microservice)
set status of the cart to…

Mehran Prs
- 509
- 4
- 18
0
votes
1 answer
Uber Cadence workflow versioning
Cadence workflow versioning:
workflow impl has below code:
int version1 = Workflow.getVersion("change123", Workflow.DEFAULT_VERSION, 1);
logger.info("version1: {}", version1);
start of workflow 1 : o/p -- version1: 1
change in…

Aditya_G
- 31
- 7
0
votes
1 answer
How to make a workflow run for an infinitely long duration when running it using command line?
I am running a Cadence workflow using command line. I don't want my workflow to timeout (ie, I want it to run it for an infinitely long duration). How can I do so?

Ayush Sharma
- 19
- 1
- 2
- 5
0
votes
1 answer
Cadence workflow not executing activities after introducing versioning
I introduced cadence versioning in to cadence workflow and after that the workflow has stopped exeucting at the point of versioning introduction.
I am receiving the following error :
2020-10-29T07:23:49.587Z DEBUG …

Prakash Premkumar
- 99
- 1
- 6
-1
votes
1 answer
How to shard cadence matching service?
If I use mysql as database for cadence, I know if sharding is 100, there are 100 table that bound to history service in cadence.
My question is that in this case, all tastList in matching service, will only use one table?
How do sharding databse for…

zheyi yi
- 129
- 10
-1
votes
1 answer
Using DynamoDB instead of Cassandra in cadence
Is it possible to configure dynamoDB instead of Cassandra. If possible can please share any instructions on it. I couldn't find any in https://github.com/uber/cadence/blob/master/docker/README.md

Chandrakanth Ganji
- 11
- 3
-1
votes
1 answer
Monitors setup in local
I am trying to setup monitoring in local as mentioned in https://cadenceworkflow.io/docs/operation-guide/monitor/#instructions
Having these errors for http://host.docker.internal:9098/metrics, http://cadence:9090/metrics as shown in below image.
Can…

Chandrakanth Ganji
- 11
- 3