Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to view messages of a topic #118

Closed
aruldd opened this issue Apr 30, 2020 · 9 comments
Closed

Unable to view messages of a topic #118

aruldd opened this issue Apr 30, 2020 · 9 comments

Comments

@aruldd
Copy link

aruldd commented Apr 30, 2020

Configuration:

Docker Compose

kafdrop:
    image: obsidiandynamics/kafdrop
    environment:
      - SERVER_SERVLET_CONTEXTPATH=/
      - JVM_OPTS=-Xms32M -Xmx64M
      - KAFKA_BROKERCONNECT=kafka:9092
    ports:
      - "${PORT_KAFDROP}:9000"

Image Digest: 93d80e41f51101833df3e91f0140bf27b533a7240faec112f1017927947d7a6e

Getting the following error while clicking on the view messages button
image
image

@albertmatyi
Copy link

We can confirm the issue in versions 0.24.0, 0.25.0 as well. 0.23.0 works well though.

@ekoutanov
Copy link
Member

Can you please provide the Kafdrop logs. And, ideally, an example of the messages in the topic that have lead to this problem.

@cedricve
Copy link

cedricve commented May 6, 2020

I confirm same issue:

messages:1 An invalid form control with name='descFile' is not focusable.
messages:1 An invalid form control with name='msgTypeName' is not focusable.

Using following helm chart: https://github.com/bitnami/charts/tree/master/bitnami/kafka.

The version of Kafka used is

registry: docker.io
repository: bitnami/kafka
tag: 2.5.0-debian-10-r16

@ekoutanov
Copy link
Member

Anyone wants to take a stab at fixing it?

@cedricve
Copy link

cedricve commented May 6, 2020

Would love to help but don't have time to work on it. I'm afraid that for now I will use another client.

@marcuzh
Copy link

marcuzh commented May 6, 2020

The issue appears to be that the Protobuf related form fields are marked as required, but the Javascript on the page hides these form fields from view if you are selecting AVRO format for the Key/Message type. As such, Chrome throws a wobbly with the 'not focusable' validation error.

@ghost
Copy link

ghost commented May 6, 2020

I can take a stab at this. I developed a related hotfix #113 for this for issue #112 . It looks like the fix isn't compatible with all browsers. The Protobuf message type form fields are hidden with JQuery and unreachable in some browsers.

@ekoutanov
Copy link
Member

I've just cut a release that hopefully addresses this. Thanks @aaronwolmutt for a speedy fix.
Can someone additionally test-drive the 3.25.1 release and confirm that the issue has been resolved please?

@cedricve
Copy link

cedricve commented May 7, 2020

@ekoutanov tested 3.26.0 and it works now :D great!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants