Request Terminated: Access-Control-Allow-Origin

Hi All,
We’ve just rolled out Camunda BPM runtime 7.17.0 community using MySQL 8.0.26-16. As we’ve been receiving the following errors: -

Failure Request has been terminated. Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.

An error happened while submitting the task form: Request has been terminated Possible Causes: the network is offline, Origin is not allowed by Access-control-allow-origin, the page is being unloaded.

Since the replication for the above is not consistent it’s mostly with the following behaviour:

  1. Just logging into the tool
  2. Completing 2 tasks which took several seconds to complete, the error popped up for 5 seconds.

Here’s the diagnosis data:
“name”: “Camunda BPM Runtime”,
“version”: “7.17.0”,
“edition”: “community”,
“internals”: {
“database”: {
“vendor”: “MySQL”,
“version”: “8.0.26-16”
},
“commands”: {
“SubmitTaskFormCmd”: {
“count”: 0
},
“AcquireJobsCmd”: {
“count”: 972
},
“GetUniqueTaskWorkerCountCmd”: {
“count”: 4
},
“AuthorizationQueryImpl”: {
“count”: 52
},
“GetDeploymentProcessModelCmd”: {
“count”: 1
},
“IsTelemetryEnabledCmd”: {
“count”: 6
},
“CreateGroupQueryCmd”: {
“count”: 19
},
“GetStartFormCmd”: {
“count”: 0
},
“ProcessInstanceQueryImpl”: {
“count”: 2
},
“ActivityStatisticsQueryImpl”: {
“count”: 1
},
“DecisionDefinitionQueryImpl”: {
“count”: 2
},
“BootstrapEngineCommand”: {
“count”: 0
},
“GetTelemetryDataCmd”: {
“count”: 2
},
“ExecuteFilterListPageCmd”: {
“count”: 140
},
“VariableInstanceQueryImpl”: {
“count”: 135
},
“LdapGroupQuery”: {
“count”: 19
},
“GetIdentityLinksForTaskCmd”: {
“count”: 128
},
“ProcessDefinitionQueryImpl”: {
“count”: 267
},
“TaskQueryImpl”: {
“count”: 138
},
“CreateUserQueryCmd”: {
“count”: 276
},
“LdapTenantQuery”: {
“count”: 5
},
“GetTaskFormVariablesCmd”: {
“count”: 2
},
“ExecuteJobsCmd”: {
“count”: 1
},
“SuccessfulJobListener”: {
“count”: 1
},
“IsIdentityServiceReadOnlyCmd”: {
“count”: 25
},
“GetFilterCmd”: {
“count”: 140
},
“ExecuteFilterCountCmd”: {
“count”: 140
},
“GetDeployedProcessDefinitionCmd”: {
“count”: 3
},
“AssignTaskCmd”: {
“count”: 0
},
“TaskReportImpl_TaskCountByCandidateGroupCmd”: {
“count”: 1
},
“MetricsQueryImpl”: {
“count”: 8
},
“DeploymentQueryImpl”: {
“count”: 2
},
“ProcessDefinitionStatisticsQueryImpl”: {
“count”: 3
},
“DeployCmd”: {
“count”: 0
},
“ClaimTaskCmd”: {
“count”: 0
},
“HistoricTaskInstanceQueryImpl”: {
“count”: 4
},
“GetProcessApplicationForDeploymentCmd”: {
“count”: 267
},
“AuthorizationCheckCmd”: {
“count”: 24
},
“CaseDefinitionQueryImpl”: {
“count”: 2
},
“FilterQueryImpl”: {
“count”: 6
},
“MetricsCollectionTask_MetricsCollectionCmd”: {
“count”: 64
},
“CheckPassword”: {
“count”: 5
},
“JobDefinitionQueryImpl”: {
“count”: 1
},
“LdapUserQueryImpl”: {
“count”: 276
},
“CreateTenantQueryCmd”: {
“count”: 5
},
“GetLicenseKeyCmd”: {
“count”: 0
},
“GetTaskFormCmd”: {
“count”: 2
}
},
“metrics”: {
“executed-decision-elements”: {
“count”: 0
},
“flow-node-instances”: {
“count”: 1
},
“decision-instances”: {
“count”: 0
},
“process-instances”: {
“count”: 0
}
},
“webapps”: [
“admin”,
“tasklist”,
“welcome”,
“cockpit”
],
“jdk”: {
“version”: “11.0.16”,
“vendor”: “Eclipse Adoptium”
},
“application-server”: {
“vendor”: “Apache Tomcat”,
“version”: “Apache Tomcat/9.0.58”