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

Gzip Compression Not Working over HTTPS #24287

Closed
herdi73 opened this issue Mar 14, 2022 · 4 comments · Fixed by #24306
Closed

Gzip Compression Not Working over HTTPS #24287

herdi73 opened this issue Mar 14, 2022 · 4 comments · Fixed by #24306
Labels
kind/bug Something isn't working
Milestone

Comments

@herdi73
Copy link

herdi73 commented Mar 14, 2022

Describe the bug

I want to compress static resources in Quarkus like js, css, and image. I was activated configuration for compression quarkus.http.enable-compression:true. It's working perfectly on HTTP mode but does not working over https.

Expected behavior

Content will be compressed as GZIP over HTTPS

Actual behavior

No GZIP compression over HTTPS

How to Reproduce?

Steps to reproduce the behavior:

  1. Git pull from quarkus-demo I made earlier
  2. Create certificate for enable SSL in localhost with mkcert
  3. Compile with command mvn clean package -Dquarkus.profile=prod for running over HTTPS. If you want to test over HTTP please run with this command mvn quarkus:dev
  4. Run quarkus app with this command java -jar target\quarkus-app\quarkus-run.jar
  5. Finally, open your browser to access https://localhost or http://localhost:8080 and then please inspect element to check loaded resources details at Network tab

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

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

No response

Additional information

No response

@herdi73 herdi73 added the kind/bug Something isn't working label Mar 14, 2022
gsmet added a commit to gsmet/quarkus that referenced this issue Mar 14, 2022
gsmet added a commit to gsmet/quarkus that referenced this issue Mar 14, 2022
@gsmet
Copy link
Member

gsmet commented Mar 14, 2022

Could you try #24306 ?

Follow the instructions in https://github.com/quarkusio/quarkus/blob/main/CONTRIBUTING.md#building-main except you should build my branch.

@herdi73
Copy link
Author

herdi73 commented Mar 15, 2022

Hi @gsmet Do you want me to git pull from quarkus/main? Can I immadiately update the Quarkus through Maven?

@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Mar 15, 2022
@gsmet gsmet modified the milestones: 2.8 - main, 2.7.5.Final Mar 15, 2022
gsmet added a commit to gsmet/quarkus that referenced this issue Mar 15, 2022
@gsmet
Copy link
Member

gsmet commented Mar 16, 2022

@herdi73 2.7.5.Final should fix it.

StFS pushed a commit to StFS/quarkus that referenced this issue Mar 18, 2022
@herdi73
Copy link
Author

herdi73 commented Apr 9, 2022

@gsmet I have updated the Quarkus version and working perfectly, thanks :)

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants