-
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
Spontaneous error on accessing swagger #4627
Comments
It looks like the Having said that, I think the StaticHandlerImpl in vert.x needs to be lenient in such cases and re-serve the content instead of throwing an error IMO. |
So the underlying issue got fixed a few minutes back in vert.x vert-x3/vertx-web#1423 and it seems it's being targeted for 3.8.3 release of that library. I don't know when that is and whether or not that will be in time for next Quarkus release. |
Fired up Chromium 77.0.3865.120 - no problemo :) Closing ticket, will reopen if next release won't fix issue. |
I spent some more time on this because it would be really surprising if Firefox was sending invalid header values for something as basic as I think this issue needs to be reopened so that @gsmet or someone can track a vert.x release back to this and prioritize it accordingly. Thank you for reporting this. |
Reopening for tracking purpose, as suggested by @jaikiran |
This is reproducible in our testsuite with this test case #4679 |
Describe the bug
Spontaneous error on accessing swagger
Expected behavior
Swagger loads OK, and shows api doc
Actual behavior
Fails to load static parts of content. Error is strange NumberFormatException - no idea, why, how, etc.
304 | GET | localhost:8080 | /swagger-ui/
200 | GET | localhost:8080 | swagger-ui.css
500 | GET | localhost:8080 | swagger-ui-bundle.js
500 | GET | localhost:8080 | swagger-ui-standalone-preset.js
200 | GET | localhost:8080 | favicon-16x16.png
Using ZuluJDK 8
Using OpenJDK-11
Using OpenJDK-8
To Reproduce
Steps to reproduce the behavior:
Configuration
no config
Environment:
OpenJDK Runtime Environment (Zulu 8.40.0.25-CA-linux64) (build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (Zulu 8.40.0.25-CA-linux64) (build 25.222-b10, mixed mode)
OpenJDK Runtime Environment (build 11.0.4+11)
OpenJDK 64-Bit Server VM (build 11.0.4+11, mixed mode)
OpenJDK Runtime Environment (build 1.8.0_222-b05)
OpenJDK 64-Bit Server VM (build 25.222-b05, mixed mode)
Additional context
Also has spontenious errors accessing REST endpoints after migration to 0.25.0 from 0.22.0 - will try to understand reason for it tomorrow.
The text was updated successfully, but these errors were encountered: