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

Quarkus Dev UI - Calling gRPC endpoint is not working #40123

Closed
darrenclark opened this issue Apr 17, 2024 · 3 comments · Fixed by #40176
Closed

Quarkus Dev UI - Calling gRPC endpoint is not working #40123

darrenclark opened this issue Apr 17, 2024 · 3 comments · Fixed by #40176
Assignees
Labels
area/dev-ui area/grpc gRPC kind/bug Something isn't working
Milestone

Comments

@darrenclark
Copy link

Describe the bug

I am seeing some JS errors when trying to use the Quarkus Dev UI (on Quarkus 3.9.3) to query a sample gRPC endpoint:

Screenshot 2024-04-17 at 11 49 55 AM

Expected behavior

  • successful gRPC responses are displayed in the UI
  • gRPC responses with a non-OK gRPC status code are displayed in the UI

Actual behavior

Seeing JS exceptions in Chrome

How to Reproduce?

Reproducer: https://github.com/darrenclark/reproduce-quarkus-grpc-dev-ui-issue

  1. Clone the above repo
  2. Run quarkus dev
  3. Open dev UI -> navigate Extensions -> gRPC -> Services
  4. Open Chrome console
  5. Try to query one of the gRPC APIs, error will popup in Chrome console.

Output of uname -a or ver

Darwin MacBook-Pro 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 arm64

Output of java -version

openjdk version "21.0.2" 2024-01-16

Quarkus version or git rev

3.9.3

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)

Additional information

No response

@darrenclark darrenclark added the kind/bug Something isn't working label Apr 17, 2024
@quarkus-bot
Copy link

quarkus-bot bot commented Apr 17, 2024

/cc @alesj (grpc), @cescoffier (devui,grpc), @phillip-kruger (devui)

@phillip-kruger phillip-kruger self-assigned this Apr 17, 2024
@phillip-kruger
Copy link
Member

This is something that broke with the upgrade to codemirror 6. I am having a look to fix this

@phillip-kruger
Copy link
Member

Ok I fixed this in the upstream javascript web component. I'll close here when that update is done in Quarkus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev-ui area/grpc gRPC kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants