Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active August 25, 2021 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/69e6531c873f03ed449e840d04b265ba to your computer and use it in GitHub Desktop.
Save AdamBien/69e6531c873f03ed449e840d04b265ba to your computer and use it in GitHub Desktop.
89thAirhacksQ&A.md

Ask questions and see you at August, 2nd, 2021 8pm CEST: https://youtube.com/c/bienadam/

Also checkout recent episode:

88th airhacks.tv

Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions. Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks

@ylberv98
Copy link

Hi Adam,

How to handle large file upload to JAX-RS? In my project when I try to upload large file from a service to a Quarkus backend (using resteasy client in that service), I am getting exceptions:

org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Software caused connection abort: socket write error
...
javax.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request: java.net.SocketException: Software caused connection abort: socket write error
...
Caused by: java.net.SocketException: Software caused connection abort: socket write error

This only happens while trying to upload kind of large files (over >= 10 MB ). When I upload small files, it works just fine!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment