Closed stephaneey closed 3 years ago
I suspect the issue might be here:
Loading workflow: wf.json
.
Can you try invoking this url?
http://localhost:3500/v1.0/invoke/workflows/method/wf
What a fast answer :). Good catch, that's indeed the problem. I renamed the workflow I guess to add my own bits :)...Don't you think some extra logging could be added?
Thanks
A log when invoking a missing workflow can be added, sure.
Would you mind opening a new issue for that?
I will, tomorrow. I even think that a 404 would be more appropriate in such case
Thanks. Closing this for now.
Hello,
I've just tried the workflow1 sample in Kubernetes. I keep ending up with a Bad Request (400) issue with no error in the body.
The workflow engine is running together with the daprd:
dapr-workflows-host-76f9fc7b9b-x8hfj 2/2 Running 0 2m33s
Daprd logs are here
I have enabled debug level but nothing special is reported. I created the secret & configmap as stated in the read me. The logs of the host are:
However, when doing the port forwarding and invoking http://localhost:3500/v1.0/invoke/workflows/method/workflow1, I get a 400 back and no error in the response so not sure what is bad in the request. Not a single extra logging info can be found nor in daprd, nor in the host logs. Note that I have disabled mTls because I'm also using Linderd but I suppose it is not related? Whether I inject the pod with Linkerd makes no difference anyway.
Any clue?
Thanks