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

gRPC Dev UI bug in 3.10.0 #40446

Closed
wlfgang opened this issue May 3, 2024 · 2 comments
Closed

gRPC Dev UI bug in 3.10.0 #40446

wlfgang opened this issue May 3, 2024 · 2 comments
Labels
area/dev-ui area/grpc gRPC kind/bug Something isn't working

Comments

@wlfgang
Copy link

wlfgang commented May 3, 2024

Describe the bug

The gRPC codestart example (HelloGrpc service) does not output a response when sending a request in the Dev UI. It appears to be a UI issue (see below).

Expected behavior

After creating an application with quarkus CLI and the quarkus-grpc extension, I should be able to quickly verify it works using the Dev UI.

Actual behavior

Nothing is shown in the Dev UI output window. The following exception is output to the browser console:

Uncaught (in promise) TypeError: this._responseTextArea(...).populatePrettyJson is not a function _test http://localhost:8080/q/dev-ui/io.quarkus.quarkus-grpc/qwc-grpc-services.js:285 qwc-grpc-services.js:285:62

How to Reproduce?

  1. quarkus create app --extensions=quarkus-grpc ... or git clone https://github.com/wlfgang/quarkus-grpc-example
  2. cd project-name
  3. quarkus dev
  4. open http://localhost:8080/q/dev-ui/io.quarkus.quarkus-grpc/services in a browser
  5. expand hello.HelloGrpc
  6. enter a name and click Send
  7. open browser console and see the error about a missing function
  8. validate that the gRPC call itself is working: grpcurl -plaintext -d '{"name":"test"}' localhost:9000 hello.HelloGrpc/SayHello

Output of uname -a or ver

Linux bondcliff 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

openjdk version "21.0.3" 2024-04-16 LTS OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing)

Quarkus version or git rev

3.10.0

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

Maven 3.9.6

Additional information

No response

@wlfgang wlfgang added the kind/bug Something isn't working label May 3, 2024
Copy link

quarkus-bot bot commented May 3, 2024

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

@wlfgang
Copy link
Author

wlfgang commented May 3, 2024

Apologies, I'm seeing this is probably a duplicate of #40253, I'll close it and await the patch.

@wlfgang wlfgang closed this as completed May 3, 2024
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

No branches or pull requests

1 participant