【问题标题】:wso2 - workflow management - 400 Bad Requestwso2 - 工作流管理 - 400 错误请求
【发布时间】:2020-06-01 15:39:14
【问题描述】:

我试图按照文档中给出的 5.8.0 版本配置工作流管理。 使用的DB是默认的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 Bad request,如下所示:

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

响应:400 错误请求

Bad Request Error

这里是创建的用户,用户正在等待批准:

Waiting for Approval

以下是日志:

[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

【问题讨论】:

  • 来自隐身模式的完整浏览器跟踪器以及后端日志可能会有所帮助。
  • 我已经添加了有问题的日志,请您检查一下。

标签: wso2 wso2is


【解决方案1】:

通过更多研究,我发现这是https://github.com/wso2/product-is/issues/5678 提到的已知问题,此处提到https://github.com/wso2/product-is/pull/5887/files 的更改

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-12-13
    • 1970-01-01
    • 2020-04-20
    • 2011-10-13
    • 2018-07-28
    • 2016-11-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多