Skip to content

Issue with ElasticSearch - Cadence Server Frontend 1.3.1 #35

@CosminL-DEV

Description

@CosminL-DEV

ElasticSearch Configuration Error with Cadence Web (cadence-server-frontend) - Unable to View Workflows

Issue Description

I have installed ElasticSearch on my Kubernetes cluster for both v7 and v8 (always configuring v7 in the config_template since v8 is not recognized). When trying to view workflows from cadence-web (it's a cadence-frontend error when it's doing the query), I'm getting an error.

Configuration

config_template.yaml

# Log configuration
log:
  stdout: true
  level: info
  levelKey: level
  encoding: json

# Persistence configuration
persistence:
  numHistoryShards: 4
  defaultStore: "default"
  advancedVisibilityStore: "es-visibility"
  enablePersistenceLatencyHistogramMetrics: false

  # DataStores configuration
  datastores:
    # Default datastore
    default:
      nosql:
        pluginName: "cassandra"
        hosts: "cassandra.cadence-testing.svc.cluster.local"
        keyspace: "cadence"
        user: "cassandra"
        password: {{ .Env.CASSANDRA_PASSWORD }}
        protoVersion: 4
        maxConns: 10
        connectTimeout: "10s"
        timeout: "1s"
        consistency: "LOCAL_QUORUM"
        serialConsistency: "LOCAL_SERIAL"
        hostSelectionPolicy: "tokenaware,roundrobin"
      
    # Elasticsearch for advanced visibility
    es-visibility:
      elasticsearch:
        disableSniff: true
        version: "v7"
        url:
          scheme: "https"
          host: elasticsearch.cadence-testing.svc.cluster.local:9200
        indices:
          visibility: "cadence-visibility"
        username: "elastic"
        password: {{ .Env.ES_PWD }}
        tls:
          enabled: true
          caFile: "/etc/cadence/ssl/ca.pem"
          certFile: "/etc/cadence/ssl/client.pem"
          keyFile: "/etc/cadence/ssl/client-key.pem"
          enableHostVerification: true
          requireClientAuth: false

# Ringpop configuration
ringpop:
  name: cadence
  bootstrapMode: dns
  bootstrapHosts:
    - cadence-frontend-headless:7933
    - cadence-history-headless:7934
    - cadence-matching-headless:7935
    - cadence-worker-headless:7939
  maxJoinDuration: 30s

# Cluster configuration
clusterGroupMetadata:
  failoverVersionIncrement: 10
  primaryClusterName: cluster0
  currentClusterName: cluster0
  clusterGroup:
    cluster0:
      enabled: true
      initialFailoverVersion: 0
      rpcAddress: cadence-frontend:7833
      rpcTransport: "grpc"
  clusterRedirectionPolicy:
    policy: noop

# Services configuration
services:
  frontend:
    rpc:
      port: 7933
      grpcPort: 7833
      bindOnIP: {{ default .Env.POD_IP "0.0.0.0" }}
      grpcMaxMsgSize: 4194304
    metrics:
      prometheus:
        timerType: histogram
        listenAddress: "0.0.0.0:9090"

  history:
    rpc:
      port: 7934
      grpcPort: 7834
      bindOnIP: {{ default .Env.POD_IP "0.0.0.0" }}
      grpcMaxMsgSize: 4194304
    metrics:
      prometheus:
        timerType: histogram
        listenAddress: "0.0.0.0:9090"

  matching:
    rpc:
      port: 7935
      grpcPort: 7835
      bindOnIP: {{ default .Env.POD_IP "0.0.0.0" }}
      grpcMaxMsgSize: 4194304
    metrics:
      prometheus:
        timerType: histogram
        listenAddress: "0.0.0.0:9090"

  worker:
    rpc:
      port: 7939
      bindOnIP: {{ default .Env.POD_IP "0.0.0.0" }}
      grpcMaxMsgSize: 4194304
    metrics:
      prometheus:
        timerType: histogram
        listenAddress: "0.0.0.0:9090"

# Kafka configuration
kafka:
  tls:
    enabled: false
    enableHostVerification: true
    requireClientAuth: false
  sasl:
    enabled: false
  clusters:
    default:
      brokers:
        - kafka-cluster-kafka-bootstrap.strimzi.svc.cluster.local:9092
  topics:
    cadence-visibility:
      cluster: default
    cadence-visibility-dlq:
      cluster: default
  applications:
    visibility:
      topic: cadence-visibility
      dlq-topic: cadence-visibility-dlq


# Archival configuration
archival:
  history:
    status: "disabled"
    enableRead: false
    provider:
      filestore:
        fileMode: "0644"
        dirMode: "0755"
  visibility:
    status: "disabled"
    enableRead: false
    provider:
      filestore:
        fileMode: "0644"
        dirMode: "0755"

# Domain defaults configuration
domainDefaults:
  archival:
    history:
      status: "disabled"
    visibility:
      status: "disabled"

# Blobstore configuration
blobstore:
  filestore:
    outputDirectory: "/etc/cadence/blobstore"

# Public client configuration
publicClient:
  transport: "grpc"
  RefreshInterval: "10s"

# Dynamic configuration
dynamicconfig:
  client: "filebased"
  filebased:
    filepath: "/etc/cadence/config/dynamicconfig/config.yaml"
    pollInterval: "60s"

Dynamic Configs

frontend.enableClientVersionCheck:
- value: true
history.EnableConsistentQueryByDomain:
- constraints: {}
  value: true
system.minRetentionDays:
- constraints: {}
  value: 0
system.readVisibilityStoreName:
- value: es
system.writeVisibilityStoreName:
- value: es

Environment Variables

I only have the following environment variables configured:

  • SERVICES
  • Cassandra password
  • ElasticSearch password

Error Log (Cadence-Frontend)

{"level":"error","ts":"2025-06-24T13:21:00.569Z","msg":"Deprecation warning: 299 Elasticsearch-8.18.0-04e979aa50b657bebd4a0937389308de82c2bdad \"Deprecated field [to] used, this field is unused and will be removed entirely\"","service":"cadence-frontend","component":"visibility-client","logging-call-at":"client.go:50","stacktrace":"github.com/uber/cadence/common/elasticsearch/client/v7.convertlogger.Printf\n\t/cadence/common/elasticsearch/client/v7/client.go:50\ngithub.com/olivere/elastic/v7.(*Client).errorf\n\t/go/pkg/mod/github.com/olivere/elastic/[email protected]/client.go:822\ngithub.com/olivere/elastic/v7.(*Client).PerformRequest\n\t/go/pkg/mod/github.com/olivere/elastic/[email protected]/client.go:1416\ngithub.com/olivere/elastic/v7.(*SearchService).Do\n\t/go/pkg/mod/github.com/olivere/elastic/[email protected]/search.go:620\ngithub.com/uber/cadence/common/elasticsearch/client/v7.(*ElasticV7).Search\n\t/cadence/common/elasticsearch/client/v7/client.go:114\ngithub.com/uber/cadence/common/elasticsearch.(*ESClient).SearchByQuery\n\t/cadence/common/elasticsearch/client.go:90\ngithub.com/uber/cadence/common/persistence/elasticsearch.(*esVisibilityStore).ListWorkflowExecutions\n\t/cadence/common/persistence/elasticsearch/es_visibility_store.go:426\ngithub.com/uber/cadence/common/persistence.(*visibilityManagerImpl).ListWorkflowExecutions\n\t/cadence/common/persistence/visibility_single_manager.go:300\ngithub.com/uber/cadence/common/persistence/wrappers/ratelimited.(*ratelimitedVisibilityManager).ListWorkflowExecutions\n\t/cadence/common/persistence/wrappers/ratelimited/visibility_generated.go:133\ngithub.com/uber/cadence/common/persistence/elasticsearch.(*visibilityMetricsClient).ListWorkflowExecutions\n\t/cadence/common/persistence/elasticsearch/es_visibility_metric_clients.go:288\ngithub.com/uber/cadence/common/persistence.(*visibilityHybridManager).ListWorkflowExecutions\n\t/cadence/common/persistence/visibility_hybrid_manager.go:498\ngithub.com/uber/cadence/service/frontend/api.(*WorkflowHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/api/list_workflow_handlers.go:358\ngithub.com/uber/cadence/service/frontend/wrappers/versioncheck.(*versionCheckHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/versioncheck/api_generated.go:161\ngithub.com/uber/cadence/service/frontend/wrappers/ratelimited.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/ratelimited/api_generated.go:250\ngithub.com/uber/cadence/service/frontend/wrappers/metered.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/metered/api_generated.go:305\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*clusterRedirectionHandler).ListWorkflowExecutions.func2\n\t/cadence/service/frontend/wrappers/clusterredirection/api_generated.go:389\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*noopRedirectionPolicy).WithDomainNameRedirect\n\t/cadence/service/frontend/wrappers/clusterredirection/policy.go:189\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*clusterRedirectionHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/clusterredirection/api_generated.go:385\ngithub.com/uber/cadence/service/frontend/wrappers/accesscontrolled.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/accesscontrolled/api_generated.go:304\ngithub.com/uber/cadence/service/frontend/wrappers/grpc.APIHandler.ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/grpc/api_generated.go:105\ngithub.com/uber/cadence-idl/go/proto/api/v1.(*_VisibilityAPIYARPCHandler).ListWorkflowExecutions\n\t/go/pkg/mod/github.com/uber/[email protected]/go/proto/api/v1/service_visibility.pb.yarpc.go:351\ngo.uber.org/yarpc/encoding/protobuf.(*unaryHandler).Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/encoding/protobuf/inbound.go:56\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:72\ngithub.com/uber/cadence/common/rpc.(*ForwardPartitionConfigMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:224\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*ClientPartitionConfigMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:261\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*InboundMetricsMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:116\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*PinotComparatorMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:132\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngo.uber.org/yarpc/internal/observability.(*Middleware).Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/observability/middleware.go:188\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChain.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:60\ngo.uber.org/yarpc/api/middleware.unaryHandlerWithMiddleware.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/api/middleware/inbound.go:71\ngo.uber.org/yarpc/api/transport.InvokeUnaryHandler\n\t/go/pkg/mod/go.uber.org/[email protected]/api/transport/handler_invoker.go:70\ngo.uber.org/yarpc/transport/grpc.(*handler).callUnary\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:240\ngo.uber.org/yarpc/transport/grpc.(*handler).handleUnaryBeforeErrorConversion\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:232\ngo.uber.org/yarpc/transport/grpc.(*handler).handleUnary\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:190\ngo.uber.org/yarpc/transport/grpc.(*handler).handle\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:77\ngoogle.golang.org/grpc.(*Server).processStreamingRPC\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1637\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1747\ngoogle.golang.org/grpc.(*Server).serveStreams.func1.1\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:986"}
{"level":"error","ts":"2025-06-24T13:21:00.569Z","msg":"Operation failed with internal error.","service":"cadence-frontend","metric-scope":309,"error":"ListWorkflowExecutions failed, elastic: Error 400 (Bad Request): all shards failed [type=search_phase_execution_exception]","logging-call-at":"es_visibility_metric_clients.go:382","stacktrace":"github.com/uber/cadence/common/persistence/elasticsearch.(*visibilityMetricsClient).updateErrorMetric\n\t/cadence/common/persistence/elasticsearch/es_visibility_metric_clients.go:382\ngithub.com/uber/cadence/common/persistence/elasticsearch.(*visibilityMetricsClient).ListWorkflowExecutions\n\t/cadence/common/persistence/elasticsearch/es_visibility_metric_clients.go:292\ngithub.com/uber/cadence/common/persistence.(*visibilityHybridManager).ListWorkflowExecutions\n\t/cadence/common/persistence/visibility_hybrid_manager.go:498\ngithub.com/uber/cadence/service/frontend/api.(*WorkflowHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/api/list_workflow_handlers.go:358\ngithub.com/uber/cadence/service/frontend/wrappers/versioncheck.(*versionCheckHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/versioncheck/api_generated.go:161\ngithub.com/uber/cadence/service/frontend/wrappers/ratelimited.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/ratelimited/api_generated.go:250\ngithub.com/uber/cadence/service/frontend/wrappers/metered.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/metered/api_generated.go:305\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*clusterRedirectionHandler).ListWorkflowExecutions.func2\n\t/cadence/service/frontend/wrappers/clusterredirection/api_generated.go:389\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*noopRedirectionPolicy).WithDomainNameRedirect\n\t/cadence/service/frontend/wrappers/clusterredirection/policy.go:189\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*clusterRedirectionHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/clusterredirection/api_generated.go:385\ngithub.com/uber/cadence/service/frontend/wrappers/accesscontrolled.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/accesscontrolled/api_generated.go:304\ngithub.com/uber/cadence/service/frontend/wrappers/grpc.APIHandler.ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/grpc/api_generated.go:105\ngithub.com/uber/cadence-idl/go/proto/api/v1.(*_VisibilityAPIYARPCHandler).ListWorkflowExecutions\n\t/go/pkg/mod/github.com/uber/[email protected]/go/proto/api/v1/service_visibility.pb.yarpc.go:351\ngo.uber.org/yarpc/encoding/protobuf.(*unaryHandler).Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/encoding/protobuf/inbound.go:56\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:72\ngithub.com/uber/cadence/common/rpc.(*ForwardPartitionConfigMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:224\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*ClientPartitionConfigMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:261\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*InboundMetricsMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:116\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*PinotComparatorMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:132\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngo.uber.org/yarpc/internal/observability.(*Middleware).Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/observability/middleware.go:188\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChain.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:60\ngo.uber.org/yarpc/api/middleware.unaryHandlerWithMiddleware.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/api/middleware/inbound.go:71\ngo.uber.org/yarpc/api/transport.InvokeUnaryHandler\n\t/go/pkg/mod/go.uber.org/[email protected]/api/transport/handler_invoker.go:70\ngo.uber.org/yarpc/transport/grpc.(*handler).callUnary\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:240\ngo.uber.org/yarpc/transport/grpc.(*handler).handleUnaryBeforeErrorConversion\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:232\ngo.uber.org/yarpc/transport/grpc.(*handler).handleUnary\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:190\ngo.uber.org/yarpc/transport/grpc.(*handler).handle\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:77\ngoogle.golang.org/grpc.(*Server).processStreamingRPC\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1637\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1747\ngoogle.golang.org/grpc.(*Server).serveStreams.func1.1\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:986"}
{"level":"error","ts":"2025-06-24T13:21:00.569Z","msg":"Internal service error","service":"cadence-frontend","wf-handler-name":"ListWorkflowExecutions","wf-domain-name":"default","error":"ListWorkflowExecutions failed, elastic: Error 400 (Bad Request): all shards failed [type=search_phase_execution_exception]","logging-call-at":"metered.go:51","stacktrace":"github.com/uber/cadence/service/frontend/wrappers/metered.(*apiHandler).handleErr\n\t/cadence/service/frontend/wrappers/metered/metered.go:51\ngithub.com/uber/cadence/service/frontend/wrappers/metered.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/metered/api_generated.go:307\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*clusterRedirectionHandler).ListWorkflowExecutions.func2\n\t/cadence/service/frontend/wrappers/clusterredirection/api_generated.go:389\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*noopRedirectionPolicy).WithDomainNameRedirect\n\t/cadence/service/frontend/wrappers/clusterredirection/policy.go:189\ngithub.com/uber/cadence/service/frontend/wrappers/clusterredirection.(*clusterRedirectionHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/clusterredirection/api_generated.go:385\ngithub.com/uber/cadence/service/frontend/wrappers/accesscontrolled.(*apiHandler).ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/accesscontrolled/api_generated.go:304\ngithub.com/uber/cadence/service/frontend/wrappers/grpc.APIHandler.ListWorkflowExecutions\n\t/cadence/service/frontend/wrappers/grpc/api_generated.go:105\ngithub.com/uber/cadence-idl/go/proto/api/v1.(*_VisibilityAPIYARPCHandler).ListWorkflowExecutions\n\t/go/pkg/mod/github.com/uber/[email protected]/go/proto/api/v1/service_visibility.pb.yarpc.go:351\ngo.uber.org/yarpc/encoding/protobuf.(*unaryHandler).Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/encoding/protobuf/inbound.go:56\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:72\ngithub.com/uber/cadence/common/rpc.(*ForwardPartitionConfigMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:224\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*ClientPartitionConfigMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:261\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*InboundMetricsMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:116\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngithub.com/uber/cadence/common/rpc.(*PinotComparatorMiddleware).Handle\n\t/cadence/common/rpc/middleware.go:132\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngo.uber.org/yarpc/internal/observability.(*Middleware).Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/observability/middleware.go:188\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChainExec.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:76\ngo.uber.org/yarpc/internal/inboundmiddleware.unaryChain.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/internal/inboundmiddleware/chain.go:60\ngo.uber.org/yarpc/api/middleware.unaryHandlerWithMiddleware.Handle\n\t/go/pkg/mod/go.uber.org/[email protected]/api/middleware/inbound.go:71\ngo.uber.org/yarpc/api/transport.InvokeUnaryHandler\n\t/go/pkg/mod/go.uber.org/[email protected]/api/transport/handler_invoker.go:70\ngo.uber.org/yarpc/transport/grpc.(*handler).callUnary\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:240\ngo.uber.org/yarpc/transport/grpc.(*handler).handleUnaryBeforeErrorConversion\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:232\ngo.uber.org/yarpc/transport/grpc.(*handler).handleUnary\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:190\ngo.uber.org/yarpc/transport/grpc.(*handler).handle\n\t/go/pkg/mod/go.uber.org/[email protected]/transport/grpc/handler.go:77\ngoogle.golang.org/grpc.(*Server).processStreamingRPC\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1637\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1747\ngoogle.golang.org/grpc.(*Server).serveStreams.func1.1\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:986"}

Expected Behavior

The workflows should be visible in cadence-web without errors.

Actual Behavior

Error occurs when attempting to view workflows through the web interface (it connects to cadence-frontend).

Environment Details

  • Kubernetes cluster: 1.32
  • ElasticSearch version: v7 and v8 tested. With and without TLS
  • Cadence version: 1.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions