Skip to main content

I'm getting "Error sending HTTP request. Message payload is of type: NullPayload" while trying to hit http:/localhost:8081/united from postman.

 

http://mu.mulesoft-training.com/essentials/united/flights returns results from postman so I know its not an access issue. I've configured the HTTP_Request_Configuration with the details provided in the snippet but I'm still getting the error. Your help would be much appreciated.

 

Request Configuration:

 

host: mu.mulesoft-training.com

port: 80

base path: essentials/united/flights

 

Exception stack is:

1. Remotely closed (java.io.IOException)

2. java.io.IOException: Remotely closed (java.util.concurrent.ExecutionException)

org.glassfish.grizzly.impl.SafeFutureImpl$Sync:349 (null)

3. java.util.concurrent.ExecutionException: java.io.IOException: Remotely closed (java.io.IOException)

org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient:234 (null)

4. Error sending HTTP request. Message payload is of type: NullPayload (org.mule.api.MessagingException)

org.mule.module.http.internal.request.DefaultHttpRequester:287 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)

5 answers
0/9000