question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken encoding in response body if application is running on OpenShift

See original GitHub issue

Describe the bug

Given:

  1. Application uses quarkus-resteasy-reactive-jackson
  2. The application is run on OpenShift
  3. Application responds to HTTP request with response, which has HTTP status 200 and word “Slovník” in the body(the 6th letter is U+00ED, “LATIN SMALL LETTER I WITH ACUTE”)

Expected behavior

The client should receive http response with “Slovník” in the body.

Actual behavior

The client receives http response with “Slovn?k” in the body.

How to Reproduce?

Reproducer: https://github.com/fedinskiy/quarkus-test-suite/blob/openshift_fail/sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java#L37

Minimal reproducer: https://github.com/fedinskiy/quarkus-reproducer/tree/openshift_fail Scripts run.sh and stop.sh contain commands to start and stop the application on the OCP cluster respectively. Run curl ${path to your app}/hello/broken to get the result.

Output of uname -a or ver

4.18.0-305.el8.x86_64

Output of java -version

Java version: 11.0.12, vendor: Oracle Corporatio

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2c1be38c1f7dcdb0176c871f2d142f5f2a4cd1f2

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

Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)

Additional information

OpenShift 4.9

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
geoandcommented, Nov 25, 2021

BTW, +100 for Thinking fast and slow in the tests 😃

0reactions
geoandcommented, Jan 5, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 7. Troubleshooting OpenShift Container Platform 4.8
Check whether your chosen cloud provider offers a method to inject Ignition configuration files into hosts as part of their initial deployment. If...
Read more >
Authentication | Architecture | OpenShift Container Platform 3.11
The OpenShift Container Platform master includes a built-in OAuth server. Users obtain OAuth access tokens to authenticate themselves to the API. When a...
Read more >
Spring Boot Reference Documentation
To help with this, Spring Boot allows you to encode a block of properties into a single JSON structure. When your application starts, ......
Read more >
Troubleshooting GitLab Runner
If you use an automated process (scripts that encode the value of the ... If GitLab Runner is running as a service on...
Read more >
HAProxy version 2.2.22 - Configuration Manual - GitHub Pages
When HAProxy is running in HTTP mode, both the request and the response are fully ... Unless the application behavior is very complex...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found