首页 > 解决方案 > wso2 - 工作流管理 - 400 错误请求

问题描述

我试图按照 5.8.0 版本的文档中给出的配置工作流管理。使用的数据库是默认 H2。

链接如下: https ://is.docs.wso2.com/en/5.9.0/learn/workflow-management/ http://cdwijayarathna.blogspot.com/2016/04/making-use-of-wso2-identity -servers.html

当我登录用户仪表板https://localhost:9443/dashboard时,没有显示任何内容,审批部分中的 PFA 屏幕截图:

在网络中收到 400 错误请求,如下所示:

获取 API https://localhost:9443/portal/gadgets/approvals/index.jag?profileList=[object%20Object]

响应:400 错误请求

错误请求错误

以下是创建的用户,用户正在等待批准:

等待批准

以下是日志:

[2020-06-01 20:39:59,187] approver@abc.com [2] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'approver@abc.com [2]' logged in at [2020-06-01 20:39:59,186+0530]
[2020-06-01 21:00:33,938]  INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin@carbon.super [-1234]' logged in at [2020-06-01 21:00:33,938+0530]
[2020-06-01 21:00:43,044]  INFO {org.wso2.carbon.core.services.authentication.AuthenticationAdmin} -  'admin@carbon.super [-1234]' logged out at [2020-06-01 21:00:43,0043]
[2020-06-01 21:00:54,059] @abc.com [2] [IS] INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} -  LDAP connection created successfully in read-write mode
[2020-06-01 21:00:54,102] pandry@abc.com [2] [IS] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'pandry@abc.com [2]' logged in at [2020-06-01 21:00:54,102+0530]
[2020-06-01 21:31:22,815] @abc.com [2] [IS] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} -  Starting to clean tenant : abc.com
[2020-06-01 21:31:22,819] @abc.com [2] [IS] INFO {org.wso2.carbon.bpel.core.Axis2ConfigurationContextObserverImpl} -  Unloading TenantProcessStore for tenant 2.
[2020-06-01 21:31:22,907] @abc.com [2] [IS] INFO {org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager} -  LDAP connection created successfully in read-write mode
[2020-06-01 21:31:22,965] @abc.com [2] [IS] INFO {org.wso2.carbon.humantask.core.Axis2ConfigurationContextObserverImpl} -  Unloading TenantTaskStore for tenant 2.
[2020-06-01 21:31:22,984] @abc.com [2] [IS] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Removing Axis2 Service: LoginApprovalTaskService {abc.com[2]}
[2020-06-01 21:31:23,016] @abc.com [2] [IS] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Removing Axis2 Service: userCreateApprovalTaskService {abc.com[2]}
[2020-06-01 21:31:23,028] @abc.com [2] [IS] WARN ***{org.wso2.carbon.humantask.core.store.HumanTaskStore} -  Could not find matching AxisService in Tenant AxisConfiguration for service name*** :userCreateApprovalTaskService
[2020-06-01 21:31:23,039] @abc.com [2] [IS] INFO {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} -  Cleaned up tenant abc.com

标签: wso2wso2is

解决方案


通过更多研究,我发现这是一个已知问题,如提到的https://github.com/wso2/product-is/issues/5678与提到的变化https://github.com/wso2/product-is/pull/ 5887/文件在这里


推荐阅读