java.util.NoSuchElementException: http-handler-body-subscriber
at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1093)
at io.netty.channel.DefaultChannelPipeline.remove(DefaultChannelPipeline.java:432)
at com.typesafe.netty.http.HttpStreamsHandler.completeBody(HttpStreamsHandler.java:294)
at com.typesafe.netty.http.HttpStreamsHandler.access$400(HttpStreamsHandler.java:14)
at com.typesafe.netty.http.HttpStreamsHandler$3$1.run(HttpStreamsHandler.java:276)
at com.typesafe.netty.http.HttpStreamsHandler.executeInEventLoop(HttpStreamsHandler.java:331)
at com.typesafe.netty.http.HttpStreamsHandler.access$300(HttpStreamsHandler.java:14)
at com.typesafe.netty.http.HttpStreamsHandler$3.complete(HttpStreamsHandler.java:273)
at com.typesafe.netty.HandlerSubscriber$3.operationComplete(HandlerSubscriber.java:244)
at com.typesafe.netty.HandlerSubscriber$3.operationComplete(HandlerSubscriber.java:241)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:683)
at io.netty.util.concurrent.DefaultPromise$LateListeners.run(DefaultPromise.java:854)
at io.netty.util.concurrent.DefaultPromise$LateListenerNotifier.run(DefaultPromise.java:882)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:280)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/76c231a7-79dd-4a99-a09b-7024f418aaa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This looks like https://github.com/playframework/playframework/issues/5866. The root cause was an akka streams bug (https://github.com/akka/akka/issues/20031), fixed in Akka 2.4.3. Play 2.5.3 depends on Akka 2.4.4.Can you provide more context on the code that's causing this error?
...
upstream play {
server 127.0.0.1:9000;
}
server {
proxy_buffering off;
...
proxy_http_version 1.1;
listen 127.0.0.1:80;
server_name play.devel;
location / {
proxy_pass http://play;
}
}
% activator
Choose from these featured templates or enter a template name:
> play-scala
Enter a name for your application
> streams-exception
% cd streams-exception/
% sbt run
% wrk http://1270.0.1:80/assets/javascripts/hello.js
I'm not the op (obviously), but at least in my case this error does involve nginx (v1.4.6, v1.8.1) and asset files.
...
upstream play {
server 127.0.0.1:9000;
keepalive 32; # <--
}
server {
proxy_buffering off;
...
proxy_http_version 1.1; # <--
proxy_set_header Connection ""; # <--
Reproduction steps:
wrk -H "Connection: close" <any-url-served-by-the-assets-controller>
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/61330e72-0679-4ff3-9c30-de93c8cc97c1%40googlegroups.com.
"com.typesafe.netty" % "netty-reactive-streams-http" % "1.0.6"