Questions tagged [vert.x-webclient]

36 questions
0
votes
2 answers

SEVERE: Unhandled exception with JavaFX + Vert.x + REST

Situation: I updated my IDE (Eclipse IDE 2020-6 to 2020-9) and the request to my web service stopped working with the following error: sep. 19, 2020 7:09:23 A. M. io.vertx.core.impl.ContextImpl SEVERE: Unhandled…
0
votes
1 answer

What happens to vertx.eventloop thread once the control passes to blockingHandler?

I am using vert.x as api gateway and each request has to go through multiple handlers Sample code snippet router.route(BASE_PATH) .method(HttpMethod.POST) .handler(LoggerHandler.create(LoggerFormat.SHORT)) …
Nitish Goyal
  • 97
  • 10
0
votes
1 answer

Vertx Web Client throwing HTTP 415 Unsupported Media Type for Multipart/form-data

This service receives the multipart request from mobile client and passes on the request to downstream service for uploading the image. I am seeing 415 Unsupported Media Type in my downstream service private void makeRequest(HttpRequest
Nitish Goyal
  • 97
  • 10
0
votes
2 answers

Http Post for WebClient

I am trying to test my Post endpoint using WebClient of Vertx and always get 500 as a status code. Can anyone please let me know what am I doing wrong here:- final String jsonBody = "{\"url\": \"https://www.google.se\"}"; …
0
votes
0 answers

Vert.x WebClient https Post hangs

For some reason, a POST requests fails with a timeout, while an according CURL request works perfectly fine. What could get wrong? Working CURL request: curl -X POST \ -H 'Content-Type: application/json' \ -d '{"jwt": "jwt"}' \ …
Gaket
  • 6,533
  • 2
  • 37
  • 67
1 2
3