linkedin / cruise-control-ui

Cruise Control Frontend (CCFE): Single Page Web Application to Manage Large Scale of Kafka Clusters
BSD 2-Clause "Simplified" License
342 stars 60 forks source link

User-Task-ID header is not found in the response from the server. Question #93

Closed AlexandrChikur closed 2 years ago

AlexandrChikur commented 2 years ago

Hello everyone, I'm having trouble deploying CC & CCFE and would like to ask for help. So, I got below error on some tabs of CCFE: User-Task-ID header is not found in the response from the server.

I got 3 nodes where zookeeper, kafka, cc & ccfe is deployed on each node.

Versions

Kafka 3.1.0 Scala 2.13 CC 2.5.89 CCFE 0.3.4

I configured cruisecontrol.properties as it says here

cruisecontrol.properties. configurations for the webserver section

webserver.http.port={{ cruise_control_port }} webserver.http.address=0.0.0.0 webserver.http.cors.enabled=true webserver.http.cors.origin=http://localhost:{{ cruise_control_port }} webserver.http.cors.allowmethods=OPTIONS,GET,POST webserver.http.cors.exposeheaders=User-Task-ID,Content-Type webserver.api.urlprefix=/kafkacruisecontrol/ webserver.ui.diskpath={{ cruise_control_ui_work_dir }}/dist webserver.ui.urlprefix=/ webserver.request.maxBlockTimeMs=10000 webserver.session.maxExpiryTimeMs=60000 webserver.session.path=/ webserver.accesslog.enabled=true

In this configuration {{ cruise_control_port }} is 9898.

That's what config.csv Insights says: image

I found User-Task-Id in Response Headers, but still got this error. image

Maybe I missed somethig, I'll be really appreciate with any help.

nareshv commented 2 years ago

Can you use the latest version from git ?

AlexandrChikur commented 2 years ago

@nareshv Hi, thanks for reply. Yes, pulled last update from master resolves my issue. Actually, sad that I cant use specific version to automate it deploying correctly, but u're helped me, thank you.