1
votes

Am having an HTTP connector and a HTTPS connector which runs in API gatewayruntime in cloudhub. I want to pass the data through this API gateway to another application but while passing at the endpoint am getting HTTP header is larger than 8192 bytes Exception

Exception stack trace: org.jboss.netty.handler.codec.frame.TooLongFrameException: HTTP header is larger than 8192 bytes. at org.jboss.netty.handler.codec.http.HttpMessageDecoder.readHeader(HttpMessageDecoder.java:596) at org.jboss.netty.handler.codec.http.HttpMessageDecoder.readHeaders(HttpMessageDecoder.java:503) at org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:193) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)

1

1 Answers

1
votes

Use this in connector configuration to suppress the header session

<http:connector name="NoSessionConnector" doc:name="HTTP-HTTPS">
<service-overrides sessionHandler="org.mule.session.NullSessionHandler"/>
</http:connector>