{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway/issues/605","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway/issues/605/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway/issues/605/events","html_url":"https://github.com/spring-cloud/spring-cloud-gateway/issues/605","id":371387486,"node_id":"MDU6SXNzdWUzNzEzODc0ODY=","number":605,"title":"An encoderException occurred at runtime.","user":{"login":"MarsMuse","id":16410653,"node_id":"MDQ6VXNlcjE2NDEwNjUz","avatar_url":"https://avatars0.githubusercontent.com/u/16410653?v=4","gravatar_id":"","url":"https://api.github.com/users/MarsMuse","html_url":"https://github.com/MarsMuse","followers_url":"https://api.github.com/users/MarsMuse/followers","following_url":"https://api.github.com/users/MarsMuse/following{/other_user}","gists_url":"https://api.github.com/users/MarsMuse/gists{/gist_id}","starred_url":"https://api.github.com/users/MarsMuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarsMuse/subscriptions","organizations_url":"https://api.github.com/users/MarsMuse/orgs","repos_url":"https://api.github.com/users/MarsMuse/repos","events_url":"https://api.github.com/users/MarsMuse/events{/privacy}","received_events_url":"https://api.github.com/users/MarsMuse/received_events","type":"User","site_admin":false},"labels":[{"id":628238497,"node_id":"MDU6TGFiZWw2MjgyMzg0OTc=","url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway/labels/waiting%20for%20feedback","name":"waiting for feedback","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T07:01:17Z","updated_at":"2018-10-18T07:04:40Z","closed_at":null,"author_association":"NONE","body":"\r\nThe contents are as follows；\r\nFailed to handle request [POST http://120.77.216.150:6145/task/queryTask;\r\nio.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: DefaultHttpRequest\r\n\tat io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:106)\r\n\tat io.netty.channel.CombinedChannelDuplexHandler.write(CombinedChannelDuplexHandler.java:348)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)\r\n\tat reactor.ipc.netty.channel.ChannelOperationsHandler.doWrite(ChannelOperationsHandler.java:291)\r\n\tat reactor.ipc.netty.channel.ChannelOperationsHandler.drain(ChannelOperationsHandler.java:465)\r\n\tat reactor.ipc.netty.channel.ChannelOperationsHandler.flush(ChannelOperationsHandler.java:191)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:802)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831)\r\n\tat io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1071)\r\n\tat io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:300)\r\n\tat reactor.ipc.netty.http.HttpOperations.lambda$then$0(HttpOperations.java:135)\r\n\tat reactor.ipc.netty.FutureMono.lambda$deferFuture$0(FutureMono.java:68)\r\n\tat reactor.ipc.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:134)\r\n\tat reactor.core.publisher.Mono.subscribe(Mono.java:3080)\r\n\tat reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.drain(MonoIgnoreThen.java:167)\r\n\tat reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:56)\r\n\tat reactor.core.publisher.Mono.subscribe(Mono.java:3080)\r\n\tat reactor.ipc.netty.NettyOutbound.subscribe(NettyOutbound.java:356)\r\n\tat reactor.core.publisher.MonoSource.subscribe(MonoSource.java:51)\r\n\tat reactor.ipc.netty.channel.ChannelOperations.applyHandler(ChannelOperations.java:381)\r\n\tat reactor.ipc.netty.http.client.HttpClientOperations.onHandlerStart(HttpClientOperations.java:501)\r\n\tat io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: java.lang.IllegalStateException: unexpected message type: DefaultHttpRequest\r\n\tat io.netty.handler.codec.http.HttpObjectEncoder.encode(HttpObjectEncoder.java:86)\r\n\tat io.netty.handler.codec.http.HttpClientCodec$Encoder.encode(HttpClientCodec.java:167)\r\n\tat io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:88)\r\n\t... 31 common frames omitted"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway/issues/comments/430898232","html_url":"https://github.com/spring-cloud/spring-cloud-gateway/issues/605#issuecomment-430898232","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-gateway/issues/605","id":430898232,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDg5ODIzMg==","user":{"login":"spencergibb","id":594085,"node_id":"MDQ6VXNlcjU5NDA4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/594085?v=4","gravatar_id":"","url":"https://api.github.com/users/spencergibb","html_url":"https://github.com/spencergibb","followers_url":"https://api.github.com/users/spencergibb/followers","following_url":"https://api.github.com/users/spencergibb/following{/other_user}","gists_url":"https://api.github.com/users/spencergibb/gists{/gist_id}","starred_url":"https://api.github.com/users/spencergibb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencergibb/subscriptions","organizations_url":"https://api.github.com/users/spencergibb/orgs","repos_url":"https://api.github.com/users/spencergibb/repos","events_url":"https://api.github.com/users/spencergibb/events{/privacy}","received_events_url":"https://api.github.com/users/spencergibb/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T07:04:40Z","updated_at":"2018-10-18T07:04:40Z","author_association":"MEMBER","body":"Can you provide a [complete, minimal, verifiable sample](https://stackoverflow.com/help/mcve) that reproduces the problem?  It should be available as a GitHub (or similar) project or attached to this issue as a zip file."}}
{"actor":{"display_login":"spencergibb"}}