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

HTTP-206 when a resource is bigger than 1MB #6631

Closed
sciack opened this issue Jan 20, 2020 · 8 comments
Closed

HTTP-206 when a resource is bigger than 1MB #6631

sciack opened this issue Jan 20, 2020 · 8 comments
Labels
kind/bug Something isn't working triage/needs-feedback We are waiting for feedback.

Comments

@sciack
Copy link

sciack commented Jan 20, 2020

Describe the bug
If a resource in META-INF/resources is bigger than 1MB the content will be partially transferred when the app is running in native mode

Expected behavior
The resource will be fully transferred

Actual behavior
Two different behavior happen:

  1. Quarkus answer with 206 and a partial file is transferred
  2. The browser hang waiting for the resource

To Reproduce
Steps to reproduce the behavior:

  1. download this test project https://bitbucket.org/msciachero/quarkus-resource-bug-prj.git
  2. mvn package -Pnative
  3. target/quarkus-resource-bug-prj-1.0.0-SNAPSHOT-runner
  4. open http://localhost:8080

Configuration

# Add your application.properties here, if applicable.
<empty>

Screenshots
(If applicable, add screenshots to help explain your problem.)
image

Environment (please complete the following information):

  • Output of uname -a or ver: Darwin Mirkos-MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
  • Output of java -version:
    openjdk version "1.8.0_232"
    OpenJDK Runtime Environment (build 1.8.0_232-20191009173705.graal.jdk8u-src-tar-gz-b07)
    OpenJDK 64-Bit GraalVM CE 19.2.1 (build 25.232-b07-jvmci-19.2-b03, mixed mode)
  • GraalVM version (if different from Java): 19.2.1 CE
  • Quarkus version or git rev: 1.1.1.final

Additional context
(Add any other context about the problem here.)

@sciack sciack added the kind/bug Something isn't working label Jan 20, 2020
@sciack
Copy link
Author

sciack commented Jan 20, 2020

Just as addition, this project works perfectly fine on Linux:
Linux mirko-Inspiron-13-5378 5.3.0-26-generic #28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Could be something related to gcc on Mac?

@jaikiran
Copy link
Member

It could be related to the browser. Is it sending "range" requests? Which browser vendor and version are you using? Can you get a screenshot of the browser's webconsole to show us what requests are made (along with the request and response headers)?

@sciack
Copy link
Author

sciack commented Jan 22, 2020

Hi, I tried with Firefox and Chrome on MacOs (same laptop I run the executable), right now I don't have my work laptop with me, will try it tomorrow.

@sciack
Copy link
Author

sciack commented Jan 24, 2020

Attached screenshot from Firefox (with Version) and Chrome (version 79)
Screenshot 2020-01-24 at 10 09 15
Screenshot 2020-01-24 at 10 10 06

@stuartwdouglas
Copy link
Member

I don't see this, can you test with 1.3.0.Final?

@geoand
Copy link
Contributor

geoand commented Feb 26, 2021

Is this still an issue?

@sciack
Copy link
Author

sciack commented Apr 22, 2021

Sorry I was pulled in different things for a lot and I missed the notification, will try and give you a feedback.

@geoand geoand added the triage/needs-feedback We are waiting for feedback. label Apr 11, 2023
@geoand
Copy link
Contributor

geoand commented Apr 11, 2023

Closing for lack of feedback

@geoand geoand closed this as not planned Won't fix, can't repro, duplicate, stale Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/needs-feedback We are waiting for feedback.
Projects
None yet
Development

No branches or pull requests

4 participants