-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Send button for GRPC in dev mode broken #30288
Comments
/cc @alesj(grpc), @cescoffier(grpc) @mkouba |
I just tried with the gRPC quickstart and Quarkus 2.15.3.Final, and it works. Can you attach a reproducer? |
thank you for checking, no luck. Still same error even after creating a new app. I tried this on macOS 13.1 with Quarkus 2.15.3 and java 17 using these param to create the grpc starter I just run |
Ah, there is one big difference: you used Gradle. Can you try with maven, so we can pinpoint the problem? |
With maven I have no errors in the js console and I can submit the req successfully. I also saw this message when I open unary query site In the gradle version the js var is called
In the maven version this shows up
I also the function
|
So, the bug is actually not related to gRPC but to the dev UI. There is a template in each Dev UI pages which does:
But with Gradle it generates:
As you can expect, \CC @geoand |
Interesting, I'll have a look next week (I will be out this week) |
I'm having a look - but do be clear, I'm not sure I understand what I'm doing :-D |
…..), the JavaScript identifiers used to build the source map were not valid (because they contained `-`). This commit fixes it by replacing the `-` with `_`. Fix #30288
…..), the JavaScript identifiers used to build the source map were not valid (because they contained `-`). This commit fixes it by replacing the `-` with `_`. Fix quarkusio#30288
…..), the JavaScript identifiers used to build the source map were not valid (because they contained `-`). This commit fixes it by replacing the `-` with `_`. Fix quarkusio#30288
…..), the JavaScript identifiers used to build the source map were not valid (because they contained `-`). This commit fixes it by replacing the `-` with `_`. Fix quarkusio#30288 (cherry picked from commit 5079fd0)
…..), the JavaScript identifiers used to build the source map were not valid (because they contained `-`). This commit fixes it by replacing the `-` with `_`. Fix quarkusio#30288
…..), the JavaScript identifiers used to build the source map were not valid (because they contained `-`). This commit fixes it by replacing the `-` with `_`. Fix quarkusio#30288
Describe the bug
Currently I'm unable to send a request via the dev UI for for GRPC, the call doesn't get triggered.
In the javascript console I can see this error at startup
When I click send I get this error
I get the errors on Chrome and Safari, I tried restart and a empty browser cache.
I just created a new grpc project using quarkus 2.15.2 and running the example
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:08:47 PST 2022; root:xnu-8792.61.2~4/RELEASE_X86_64 x86_64
Output of
java -version
openjdk 17.0.5 2022-10-18 LTS
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.15.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
The text was updated successfully, but these errors were encountered: