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

workflow terminate method is not work #807

Closed
gongxh13 opened this issue Mar 10, 2023 · 3 comments
Closed

workflow terminate method is not work #807

gongxh13 opened this issue Mar 10, 2023 · 3 comments
Assignees
Milestone

Comments

@gongxh13
Copy link

When I use this demo https://github.com/gongxh13/openfunction-demo/tree/main/dapr/net/call-workflow to try workflow in k8s environment, I use two pods, one is for handler http request and call workflow start/terminate and query status api, another pod is official dotnet sdk example for provide workflow.

Expected Behavior

Can call workflow relative api.

Actual Behavior

terninate api is failed, error tell me not provide dapr-app-id as below

{"errorCode":"ERR_DIRECT_INVOKE","message":"failed getting app id either from the URL path or the header dapr-app-id"

And I add dapr-app-id in header request, and get another error as below

{"errorCode":"ERR_DIRECT_INVOKE","message":"fail to invoke, id: call-workflow-order-processor, err: rpc error: code = Internal desc = app channel is not initialized"

Steps to Reproduce the Problem

You can direct use https://github.com/gongxh13/openfunction-demo/tree/main/dapr/net/call-workflow demo.

@msfussell msfussell added this to the 1.11 milestone May 20, 2023
@msfussell
Copy link
Member

@cgillum @RyanLettieri - PTAL at this work issue.

@msfussell
Copy link
Member

@gongxh13 - Can you try this out on the v1.11 release or the lastest v1.12 RC release out now. We suspect this is due to an SDK/Runtime mismatch.

@msfussell
Copy link
Member

@gongxh13 - Did not hear back, so closing this issue. Please reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants