combust / mleap

MLeap: Deploy ML Pipelines to Production
https://combust.github.io/mleap-docs/
Apache License 2.0
1.5k stars 310 forks source link

Unexpected HTTP/1.x request #500

Closed testadministrator closed 5 years ago

testadministrator commented 5 years ago

I run the docker image, mleap-serving return this error when I send a http request. I have tried latest and other images.

io.netty.handler.codec.http2.Http2Exception: Unexpected HTTP/1.x request

ancasarb commented 5 years ago

Could you please post the request you're making? Thank you!

testadministrator commented 5 years ago

request :

curl -v -XPUT -H "content-type: application/json" -d '{"path":"/models/airbnb.model.lr.zip"}' http://localhost:65326/model -o -

repsone:

���0Unexpected HTTP/1.x request: PUT /model

docker command:

docker run -p65326:65327 -v /tmp/models:/models combustml/mleap-serving:0.13.0-SNAPSHOT

the image log: ` 11:24:36.247 [main] INFO ml.combust.mleap.grpc.server.RunServer - Starting MLeap gRPC Server 11:24:36.428 [main] INFO ml.combust.mleap.grpc.server.RunServer - Creating thread pool for server with size 32 11:24:36.431 [main] INFO ml.combust.mleap.grpc.server.RunServer - Creating executor service WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/opt/docker/lib/com.google.protobuf.protobuf-java-3.5.1.jar) to field java.nio.Buffer.address WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 11:24:36.741 [main] INFO ml.combust.mleap.grpc.server.RunServer - Starting server on port 65327 11:24:36.760 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework 11:24:36.763 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 8 11:24:36.788 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false 11:24:36.789 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 10 11:24:36.791 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available 11:24:36.792 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available 11:24:36.793 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available 11:24:36.794 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: available 11:24:36.795 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true 11:24:36.800 [main] DEBUG io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @37095ded at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:360) at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:589) at java.base/java.lang.reflect.Method.invoke(Method.java:556) at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:308) at java.base/java.security.AccessController.doPrivileged(Native Method) at io.netty.util.internal.PlatformDependent0.(PlatformDependent0.java:299) at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:208) at io.netty.util.internal.PlatformDependent.(PlatformDependent.java:79) at io.netty.util.ConstantPool.(ConstantPool.java:32) at io.netty.util.Signal$1.(Signal.java:27) at io.netty.util.Signal.(Signal.java:27) at io.netty.util.concurrent.DefaultPromise.(DefaultPromise.java:43) at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:36) at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58) at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:47) at io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:59) at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:77) at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:72) at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:59) at io.grpc.netty.Utils$DefaultEventLoopGroupResource.create(Utils.java:190) at io.grpc.netty.Utils$DefaultEventLoopGroupResource.create(Utils.java:174) at io.grpc.internal.SharedResourceHolder.getInternal(SharedResourceHolder.java:104) at io.grpc.internal.SharedResourceHolder.get(SharedResourceHolder.java:74) at io.grpc.netty.NettyServer.allocateSharedGroups(NettyServer.java:258) at io.grpc.netty.NettyServer.start(NettyServer.java:138) at io.grpc.internal.ServerImpl.start(ServerImpl.java:149) at io.grpc.internal.ServerImpl.start(ServerImpl.java:73) at ml.combust.mleap.grpc.server.RunServer$$anonfun$1.apply$mcV$sp(RunServer.scala:64) at ml.combust.mleap.grpc.server.RunServer$$anonfun$1.apply(RunServer.scala:25) at ml.combust.mleap.grpc.server.RunServer$$anonfun$1.apply(RunServer.scala:25) at scala.util.Try$.apply(Try.scala:192) at ml.combust.mleap.grpc.server.RunServer.run(RunServer.scala:25) at ml.combust.mleap.serving.RunServer.run(RunServer.scala:10) at ml.combust.mleap.serving.Boot$.delayedEndpoint$ml$combust$mleap$serving$Boot$1(Boot.scala:22) at ml.combust.mleap.serving.Boot$delayedInit$body.apply(Boot.scala:9) at scala.Function0$class.apply$mcV$sp(Function0.scala:34) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.collection.immutable.List.foreach(List.scala:381) at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35) at scala.App$class.main(App.scala:76) at ml.combust.mleap.serving.Boot$.main(Boot.scala:9) at ml.combust.mleap.serving.Boot.main(Boot.scala) 11:24:36.801 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.(long, int): available 11:24:36.801 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available 11:24:36.837 [main] DEBUG io.netty.util.internal.PlatformDependent - maxDirectMemory: 524288000 bytes (maybe) 11:24:36.838 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 11:24:36.838 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model) 11:24:36.840 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false 11:24:36.840 [main] DEBUG io.netty.util.internal.PlatformDependent - maxDirectMemory: 524288000 bytes (maybe) 11:24:36.840 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: 524288000 bytes 11:24:36.841 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1 11:24:36.842 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available 11:24:36.860 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false 11:24:36.860 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512 11:24:36.869 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available 11:24:36.942 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.processId: 1 (auto-detected) 11:24:36.945 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false 11:24:36.945 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false 11:24:36.948 [main] DEBUG io.netty.util.NetUtil - Loopback interface: lo (lo, 127.0.0.1) 11:24:36.949 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 128 11:24:36.951 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 02:42:ac:ff:fe:11:00:03 (auto-detected) 11:24:36.957 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 11:24:36.957 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 11:24:36.967 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple 11:24:36.967 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4 11:24:37.000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 5 11:24:37.000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 5 11:24:37.000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192 11:24:37.000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11 11:24:37.001 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216 11:24:37.001 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512 11:24:37.001 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256 11:24:37.001 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64 11:24:37.001 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768 11:24:37.001 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192 11:24:37.001 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: true 11:24:37.016 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled 11:24:37.016 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536 11:24:37.017 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384

. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.0.4.RELEASE)

2019-03-14 11:24:37.581 INFO 1 --- [ main] scala.App$class : Starting App.class on 8e43b8116744 with PID 1 (/opt/docker/lib/org.scala-lang.scala-library-2.11.8.jar started by root in /opt/docker) 2019-03-14 11:24:37.583 INFO 1 --- [ main] scala.App$class : No active profile set, falling back to default profiles: default 2019-03-14 11:24:37.675 INFO 1 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@446626a7: startup date [Thu Mar 14 11:24:37 UTC 2019]; root of context hierarchy 2019-03-14 11:24:39.363 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2019-03-14 11:24:39.400 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-03-14 11:24:39.401 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.32 2019-03-14 11:24:39.416 INFO 1 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib] 2019-03-14 11:24:39.540 INFO 1 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-03-14 11:24:39.540 INFO 1 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1871 ms 2019-03-14 11:24:39.614 INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/] 2019-03-14 11:24:39.626 INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/] 2019-03-14 11:24:39.627 INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/] 2019-03-14 11:24:39.627 INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/] 2019-03-14 11:24:39.628 INFO 1 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/] 2019-03-14 11:24:39.989 INFO 1 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [//favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-03-14 11:24:40.188 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@446626a7: startup date [Thu Mar 14 11:24:37 UTC 2019]; root of context hierarchy 2019-03-14 11:24:40.285 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}/transform],methods=[POST],consumes=[application/json;charset=UTF-8],produces=[application/json;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage<?> ml.combust.mleap.springboot.LeapFrameScoringController.transformJson(byte[],java.lang.String,int) 2019-03-14 11:24:40.287 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}/transform],methods=[POST],consumes=[application/x-protobuf;charset=UTF-8],produces=[application/x-protobuf;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage<?> ml.combust.mleap.springboot.LeapFrameScoringController.transformProto(byte[],java.lang.String,int) 2019-03-14 11:24:40.292 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/transform],methods=[POST],consumes=[application/json;charset=UTF-8],produces=[application/json;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage ml.combust.mleap.springboot.JsonScoringController.transform(java.lang.String,int) 2019-03-14 11:24:40.294 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models],methods=[POST],consumes=[application/json;charset=UTF-8],produces=[application/json;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage ml.combust.mleap.springboot.JsonScoringController.loadModel(java.lang.String,int) 2019-03-14 11:24:40.295 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}],methods=[DELETE],consumes=[application/json;charset=UTF-8],produces=[application/json;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage ml.combust.mleap.springboot.JsonScoringController.unloadModel(java.lang.String,int) 2019-03-14 11:24:40.296 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}],methods=[GET],consumes=[application/json;charset=UTF-8],produces=[application/json;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage ml.combust.mleap.springboot.JsonScoringController.getModel(java.lang.String,int) 2019-03-14 11:24:40.297 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}/meta],methods=[GET],consumes=[application/json;charset=UTF-8],produces=[application/json;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage ml.combust.mleap.springboot.JsonScoringController.getMeta(java.lang.String,int) 2019-03-14 11:24:40.300 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/transform],methods=[POST],consumes=[application/x-protobuf;charset=UTF-8],produces=[application/x-protobuf;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage<ml.combust.mleap.pb.Mleap$TransformFrameResponse> ml.combust.mleap.springboot.ProtobufScoringController.transform(ml.combust.mleap.pb.Mleap$TransformFrameRequest,int) 2019-03-14 11:24:40.301 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models],methods=[POST],consumes=[application/x-protobuf;charset=UTF-8],produces=[application/x-protobuf;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage<ml.combust.mleap.pb.Mleap$Model> ml.combust.mleap.springboot.ProtobufScoringController.loadModel(ml.combust.mleap.pb.Mleap$LoadModelRequest,int) 2019-03-14 11:24:40.302 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}],methods=[DELETE],consumes=[application/x-protobuf;charset=UTF-8],produces=[application/x-protobuf;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage<ml.combust.mleap.pb.Mleap$Model> ml.combust.mleap.springboot.ProtobufScoringController.unloadModel(java.lang.String,int) 2019-03-14 11:24:40.302 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}],methods=[GET],consumes=[application/x-protobuf;charset=UTF-8],produces=[application/x-protobuf;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage<ml.combust.mleap.pb.Mleap$Model> ml.combust.mleap.springboot.ProtobufScoringController.getModel(java.lang.String,int) 2019-03-14 11:24:40.303 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/models/{model_name}/meta],methods=[GET],consumes=[application/x-protobuf;charset=UTF-8],produces=[application/x-protobuf;charset=UTF-8]}" onto public java.util.concurrent.CompletionStage<ml.combust.mleap.pb.Mleap$BundleMeta> ml.combust.mleap.springboot.ProtobufScoringController.getMeta(java.lang.String,int) 2019-03-14 11:24:40.307 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2019-03-14 11:24:40.308 INFO 1 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2019-03-14 11:24:40.339 INFO 1 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-03-14 11:24:40.340 INFO 1 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-03-14 11:24:40.357 INFO 1 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Detected @ExceptionHandler methods in globalExceptionHandler 2019-03-14 11:24:40.572 INFO 1 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2019-03-14 11:24:40.610 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2019-03-14 11:24:40.617 INFO 1 --- [ main] scala.App$class : Started App.class in 3.474 seconds (JVM running for 5.72) 2019-03-14 11:24:46.954 INFO 1 --- [-worker-ELG-3-1] i.g.n.NettyServerTransport.connections : Transport failed

io.netty.handler.codec.http2.Http2Exception: Unexpected HTTP/1.x request: GET /model at io.netty.handler.codec.http2.Http2Exception.connectionError(Http2Exception.java:85) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.readClientPrefaceString(Http2ConnectionHandler.java:314) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.decode(Http2ConnectionHandler.java:251) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler.decode(Http2ConnectionHandler.java:448) [io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:138) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [io.netty.netty-common-4.1.17.Final.jar:4.1.17.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) [io.netty.netty-common-4.1.17.Final.jar:4.1.17.Final] at java.base/java.lang.Thread.run(Thread.java:844) [na:na]

2019-03-14 11:25:01.986 INFO 1 --- [-worker-ELG-3-2] i.g.n.NettyServerTransport.connections : Transport failed

io.netty.handler.codec.http2.Http2Exception: Unexpected HTTP/1.x request: PUT /model at io.netty.handler.codec.http2.Http2Exception.connectionError(Http2Exception.java:85) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.readClientPrefaceString(Http2ConnectionHandler.java:314) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.decode(Http2ConnectionHandler.java:251) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler.decode(Http2ConnectionHandler.java:448) [io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:138) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [io.netty.netty-common-4.1.17.Final.jar:4.1.17.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) [io.netty.netty-common-4.1.17.Final.jar:4.1.17.Final] at java.base/java.lang.Thread.run(Thread.java:844) [na:na]

2019-03-14 11:25:19.330 INFO 1 --- [-worker-ELG-3-3] i.g.n.NettyServerTransport.connections : Transport failed

io.netty.handler.codec.http2.Http2Exception: Unexpected HTTP/1.x request: PUT /model at io.netty.handler.codec.http2.Http2Exception.connectionError(Http2Exception.java:85) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.readClientPrefaceString(Http2ConnectionHandler.java:314) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.decode(Http2ConnectionHandler.java:251) ~[io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.http2.Http2ConnectionHandler.decode(Http2ConnectionHandler.java:448) [io.netty.netty-codec-http2-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [io.netty.netty-codec-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:138) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [io.netty.netty-transport-4.1.17.Final.jar:4.1.17.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [io.netty.netty-common-4.1.17.Final.jar:4.1.17.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) [io.netty.netty-common-4.1.17.Final.jar:4.1.17.Final] at java.base/java.lang.Thread.run(Thread.java:844) [na:na] `

ancasarb commented 5 years ago

@testadministrator We've reworked the serving layers, both using HTTP and GRPC (new), could you please take a look https://github.com/combust/mleap/tree/master/mleap-spring-boot for the documentation that describes the endpoints available for 0.13.0-SNAPSHOT? We're still in the process to update our documentation, apologies for that.

testadministrator commented 5 years ago

Thanks!

ancasarb commented 5 years ago

Closing this for now, please reopen if you see any issues, thank you!