projectodd / wunderboss

The next-generation polyglot platform for TorqueBox and Immutant
Apache License 2.0
17 stars 11 forks source link

HTTP stream timeouts are not supported on this platform #18

Closed lxsameer closed 7 years ago

lxsameer commented 7 years ago

Hi I'm using Pedestal and Immutant and tried to setup a websocket connection using Sente. But I got an exception which rises from wunderboss. Here is the stacktrace:

 :cause "HTTP stream timeouts are not supported on this platform"
 :via
 [{:type clojure.lang.ExceptionInfo
   :message "Interceptor Exception: HTTP stream timeouts are not supported on this platform"
   :data {:execution-id 7, :stage :enter, :interceptor nil, :exception-type :java.lang.IllegalArgumentException, :exception #error {
 :cause "HTTP stream timeouts are not supported on this platform"
 :via
 [{:type java.lang.IllegalArgumentException
   :message "HTTP stream timeouts are not supported on this platform"
   :at [org.projectodd.wunderboss.web.async.ServletHttpChannel setTimeout "ServletHttpChannel.java" 117]}]
 :trace
 [[org.projectodd.wunderboss.web.async.ServletHttpChannel setTimeout "ServletHttpChannel.java" 117]
  [immutant.web.async$as_channel invokeStatic "async.clj" 300]
  [immutant.web.async$as_channel doInvoke "async.clj" 246]
  [clojure.lang.RestFn invoke "RestFn.java" 943]
  [taoensso.sente.server_adapters.immutant.ImmutantServerChanAdapter ring_req__GT_server_ch_resp "immutant.clj" 24]
  [taoensso.sente$make_channel_socket_server_BANG_$fn__19468 invoke "sente.cljc" 569]
  [hellhound.http.route$ws_handshake invokeStatic "route.clj" 36]
  [hellhound.http.route$ws_handshake invoke "route.clj" 33]
  [io.pedestal.interceptor$eval313$fn__314$fn__315 invoke "interceptor.clj" 41]
  [io.pedestal.interceptor.chain$try_f invokeStatic "chain.clj" 52]
  [io.pedestal.interceptor.chain$try_f invoke "chain.clj" 42]
  [io.pedestal.interceptor.chain$process_all_with_binding invokeStatic "chain.clj" 169]
  [io.pedestal.interceptor.chain$process_all_with_binding invoke "chain.clj" 144]
  [io.pedestal.interceptor.chain$process_all$fn__12683 invoke "chain.clj" 186]
  [clojure.lang.AFn applyToHelper "AFn.java" 152]
  [clojure.lang.AFn applyTo "AFn.java" 144]
  [clojure.core$apply invokeStatic "core.clj" 657]
.....

I'm not sure if it's a wunderboss bug or even I'm doing something wrong but I worth reporting.

tobias commented 7 years ago

Are you using Immutant within WildFly 8.2? If so, this is an expected message due to a bug in WildFly: https://github.com/projectodd/wunderboss/commit/ddac4fc7ef2089cb6f2045c06c913f907edfcb71

If you aren't using WildFly 8.2, then this is a bug in wunderboss or Immutant that we'll need to take a look at.

lxsameer commented 7 years ago

i'm not sure but my dep tree says no. Here is my dep tree:

Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building hellhound 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ hellhound ---
[INFO] codamic:hellhound:jar:1.0.0-SNAPSHOT
[INFO] +- org.clojure:clojure:jar:1.9.0-alpha17:compile
[INFO] |  +- org.clojure:spec.alpha:jar:0.1.123:compile
[INFO] |  \- org.clojure:core.specs.alpha:jar:0.1.10:compile
[INFO] +- org.clojure:clojurescript:jar:1.9.562:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- com.google.javascript:closure-compiler-unshaded:jar:v20170521:compile
[INFO] |  |  +- com.google.javascript:closure-compiler-externs:jar:v20170521:compile
[INFO] |  |  +- args4j:args4j:jar:2.33:compile
[INFO] |  |  +- com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
[INFO] |  |  +- com.google.guava:guava:jar:20.0:compile
[INFO] |  |  +- com.google.protobuf:protobuf-java:jar:3.0.2:compile
[INFO] |  |  +- com.google.code.gson:gson:jar:2.7:compile
[INFO] |  |  +- com.google.code.findbugs:jsr305:jar:3.0.1:compile
[INFO] |  |  \- com.google.jsinterop:jsinterop-annotations:jar:1.0.0:compile
[INFO] |  +- org.clojure:google-closure-library:jar:0.0-20170519-fa0499ef:compile
[INFO] |  |  \- org.clojure:google-closure-library-third-party:jar:0.0-20170519-fa0499ef:compile
[INFO] |  +- org.clojure:data.json:jar:0.2.6:compile
[INFO] |  |  \- (org.clojure:clojure:jar:1.4.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- org.mozilla:rhino:jar:1.7R5:compile
[INFO] |  \- org.clojure:tools.reader:jar:1.0.0-beta3:compile
[INFO] |     \- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- org.clojure:core.async:jar:0.3.443:compile
[INFO] |  +- org.clojure:tools.analyzer.jvm:jar:0.7.0:compile
[INFO] |  |  +- org.clojure:tools.analyzer:jar:0.6.9:compile
[INFO] |  |  |  \- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  +- org.clojure:core.memoize:jar:0.5.9:compile
[INFO] |  |  |  +- org.clojure:core.cache:jar:0.6.5:compile
[INFO] |  |  |  |  +- org.clojure:data.priority-map:jar:0.0.7:compile
[INFO] |  |  |  |  |  \- (org.clojure:clojure:jar:1.4.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  |  |  \- (org.clojure:clojure:jar:1.4.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  |  \- (org.clojure:clojure:jar:1.4.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  +- org.ow2.asm:asm-all:jar:4.2:compile
[INFO] |  |  +- (org.clojure:tools.reader:jar:1.0.0-beta4:compile - omitted for conflict with 1.0.0-beta3)
[INFO] |  |  \- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  \- (org.clojure:clojure:jar:1.7.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] +- com.taoensso:timbre:jar:4.10.0:compile
[INFO] |  +- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- com.taoensso:encore:jar:2.91.0:compile
[INFO] |  |  +- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  +- (org.clojure:tools.reader:jar:0.10.0:compile - omitted for conflict with 1.0.0-beta3)
[INFO] |  |  \- com.taoensso:truss:jar:1.5.0:compile
[INFO] |  |     \- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  \- io.aviso:pretty:jar:0.1.33:compile
[INFO] |     \- (org.clojure:clojure:jar:1.5.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- com.fzakaria:slf4j-timbre:jar:0.3.7:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (com.taoensso:timbre:jar:4.10.0:compile - omitted for duplicate)
[INFO] |  \- (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
[INFO] +- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
[INFO] |  \- (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
[INFO] +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO] |  \- (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.25:compile
[INFO] |  \- (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
[INFO] +- io.pedestal:pedestal.service:jar:0.5.2:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- io.pedestal:pedestal.log:jar:0.5.2:compile
[INFO] |  |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  +- (org.slf4j:slf4j-api:jar:1.7.22:compile - omitted for conflict with 1.7.25)
[INFO] |  |  \- io.dropwizard.metrics:metrics-core:jar:3.1.2:compile
[INFO] |  |     \- (org.slf4j:slf4j-api:jar:1.7.7:compile - omitted for conflict with 1.7.25)
[INFO] |  +- (io.pedestal:pedestal.interceptor:jar:0.5.2:compile - omitted for duplicate)
[INFO] |  +- (io.pedestal:pedestal.route:jar:0.5.2:compile - omitted for duplicate)
[INFO] |  +- (org.clojure:core.async:jar:0.2.391:compile - omitted for conflict with 0.3.443)
[INFO] |  +- ring:ring-core:jar:1.5.1:compile
[INFO] |  |  +- ring:ring-codec:jar:1.0.1:compile
[INFO] |  |  |  \- (commons-codec:commons-codec:jar:1.6:compile - omitted for conflict with 1.10)
[INFO] |  |  +- commons-io:commons-io:jar:2.5:compile
[INFO] |  |  +- commons-fileupload:commons-fileupload:jar:1.3.1:compile
[INFO] |  |  |  \- (commons-io:commons-io:jar:2.2:compile - omitted for conflict with 2.5)
[INFO] |  |  \- (clj-time:clj-time:jar:0.11.0:compile - omitted for conflict with 0.13.0)
[INFO] |  +- (cheshire:cheshire:jar:5.5.0:compile - omitted for conflict with 5.7.1)
[INFO] |  +- (com.cognitect:transit-clj:jar:0.8.285:compile - omitted for conflict with 0.8.300)
[INFO] |  +- commons-codec:commons-codec:jar:1.10:compile
[INFO] |  +- crypto-random:crypto-random:jar:1.2.0:compile
[INFO] |  |  \- (org.clojure:clojure:jar:1.2.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  \- crypto-equality:crypto-equality:jar:1.0.0:compile
[INFO] |     \- (org.clojure:clojure:jar:1.2.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- io.pedestal:pedestal.immutant:jar:0.5.2:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- potemkin:potemkin:jar:0.4.3:compile
[INFO] |  |  +- clj-tuple:clj-tuple:jar:0.2.2:compile
[INFO] |  |  \- riddley:riddley:jar:0.1.12:compile
[INFO] |  +- org.jboss.logging:jboss-logging:jar:3.2.1.Final:compile
[INFO] |  +- org.immutant:web:jar:2.1.4:compile
[INFO] |  |  +- org.immutant:core:jar:2.1.4:compile
[INFO] |  |  |  +- org.clojure:java.classpath:jar:0.2.2:compile
[INFO] |  |  |  |  \- (org.clojure:clojure:jar:1.4.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  |  +- (org.clojure:tools.reader:jar:0.8.13:compile - omitted for conflict with 1.0.0-beta3)
[INFO] |  |  |  \- (org.projectodd.wunderboss:wunderboss-clojure:jar:0.12.1:compile - omitted for duplicate)
[INFO] |  |  +- (potemkin:potemkin:jar:0.4.1:compile - omitted for conflict with 0.4.3)
[INFO] |  |  +- org.projectodd.wunderboss:wunderboss-web-undertow:jar:0.12.1:compile
[INFO] |  |  |  +- org.projectodd.wunderboss:wunderboss-core:jar:0.12.1:compile
[INFO] |  |  |  +- org.projectodd.wunderboss:wunderboss-web:jar:0.12.1:compile
[INFO] |  |  |  |  +- (org.projectodd.wunderboss:wunderboss-core:jar:0.12.1:compile - omitted for duplicate)
[INFO] |  |  |  |  +- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.0.Final:compile
[INFO] |  |  |  |  \- org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:compile
[INFO] |  |  |  +- io.undertow:undertow-core:jar:1.3.0.Beta9:compile
[INFO] |  |  |  |  +- org.jboss.xnio:xnio-api:jar:3.4.0.Beta1:compile
[INFO] |  |  |  |  |  \- org.wildfly.common:wildfly-common:jar:1.0.0.Alpha2:compile
[INFO] |  |  |  |  |     \- org.wildfly.security:wildfly-security-manager:jar:1.1.2.Final:compile
[INFO] |  |  |  |  \- org.jboss.xnio:xnio-nio:jar:3.4.0.Beta1:runtime
[INFO] |  |  |  |     \- (org.jboss.xnio:xnio-api:jar:3.4.0.Beta1:runtime - omitted for duplicate)
[INFO] |  |  |  +- io.undertow:undertow-servlet:jar:1.3.0.Beta9:compile
[INFO] |  |  |  |  +- (io.undertow:undertow-core:jar:1.3.0.Beta9:compile - omitted for duplicate)
[INFO] |  |  |  |  +- (org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:compile - omitted for duplicate)
[INFO] |  |  |  |  \- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] |  |  |  \- io.undertow:undertow-websockets-jsr:jar:1.3.0.Beta9:compile
[INFO] |  |  |     +- (io.undertow:undertow-core:jar:1.3.0.Beta9:compile - omitted for duplicate)
[INFO] |  |  |     +- (io.undertow:undertow-servlet:jar:1.3.0.Beta9:compile - omitted for duplicate)
[INFO] |  |  |     \- (org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.0.Final:compile - omitted for duplicate)
[INFO] |  |  +- (ring:ring-core:jar:1.3.1:compile - omitted for conflict with 1.5.1)
[INFO] |  |  \- org.projectodd.wunderboss:wunderboss-clojure:jar:0.12.1:compile
[INFO] |  |     \- (org.projectodd.wunderboss:wunderboss-core:jar:0.12.1:compile - omitted for duplicate)
[INFO] |  \- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] +- io.pedestal:pedestal.interceptor:jar:0.5.2:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:core.async:jar:0.2.391:compile - omitted for conflict with 0.3.443)
[INFO] |  +- (io.pedestal:pedestal.log:jar:0.5.2:compile - omitted for duplicate)
[INFO] |  \- org.clojure:core.match:jar:0.3.0-alpha4:compile
[INFO] |     \- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- io.pedestal:pedestal.route:jar:0.5.2:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:core.async:jar:0.2.391:compile - omitted for conflict with 0.3.443)
[INFO] |  +- (io.pedestal:pedestal.log:jar:0.5.2:compile - omitted for duplicate)
[INFO] |  +- (io.pedestal:pedestal.interceptor:jar:0.5.2:compile - omitted for duplicate)
[INFO] |  \- org.clojure:core.incubator:jar:0.1.4:compile
[INFO] |     \- (org.clojure:clojure:jar:1.4.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- codamic:sente:jar:1.11.1:compile
[INFO] |  +- (org.clojure:clojure:jar:1.7.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:core.async:jar:0.2.395:compile - omitted for conflict with 0.3.443)
[INFO] |  +- (com.taoensso:encore:jar:2.84.2:compile - omitted for conflict with 2.91.0)
[INFO] |  +- (org.clojure:tools.reader:jar:0.10.0:compile - omitted for conflict with 1.0.0-beta3)
[INFO] |  \- (com.taoensso:timbre:jar:4.7.4:compile - omitted for conflict with 4.10.0)
[INFO] +- clj-time:clj-time:jar:0.13.0:compile
[INFO] |  \- joda-time:joda-time:jar:2.9.7:compile
[INFO] +- reagent:reagent:jar:0.6.2:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:clojurescript:jar:1.8.51:compile - omitted for conflict with 1.9.562)
[INFO] |  +- cljsjs:react-dom:jar:15.4.2-2:compile
[INFO] |  |  \- cljsjs:react:jar:15.4.2-2:compile
[INFO] |  \- cljsjs:react-dom-server:jar:15.4.2-2:compile
[INFO] |     \- (cljsjs:react:jar:15.4.2-2:compile - omitted for duplicate)
[INFO] +- re-frame:re-frame:jar:0.9.4:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:clojurescript:jar:1.9.227:compile - omitted for conflict with 1.9.562)
[INFO] |  +- (reagent:reagent:jar:0.6.0:compile - omitted for conflict with 0.6.2)
[INFO] |  +- net.cgrand:macrovich:jar:0.2.0:compile
[INFO] |  |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  \- (org.clojure:clojurescript:jar:1.9.293:compile - omitted for conflict with 1.9.562)
[INFO] |  \- org.clojure:tools.logging:jar:0.3.1:compile
[INFO] |     \- (org.clojure:clojure:jar:1.4.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- secretary:secretary:jar:1.2.3:compile
[INFO] |  +- com.cemerick:clojurescript.test:jar:0.2.3-SNAPSHOT:compile
[INFO] |  |  +- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  \- (org.clojure:clojurescript:jar:0.0-2014:compile - omitted for conflict with 1.9.562)
[INFO] |  \- (org.clojure:clojure:jar:1.6.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- re-frisk:re-frisk:jar:0.4.5:compile
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:clojurescript:jar:1.9.89:compile - omitted for conflict with 1.9.562)
[INFO] |  +- (reagent:reagent:jar:0.6.0:compile - omitted for conflict with 0.6.2)
[INFO] |  +- (re-frame:re-frame:jar:0.8.0:compile - omitted for conflict with 0.9.4)
[INFO] |  +- re-frisk-shell:re-frisk-shell:jar:0.4.5:compile
[INFO] |  |  \- (reagent:reagent:jar:0.6.0:compile - omitted for conflict with 0.6.2)
[INFO] |  \- (com.cognitect:transit-cljs:jar:0.8.239:compile - omitted for duplicate)
[INFO] +- com.taoensso:tempura:jar:1.1.2:compile
[INFO] |  +- (org.clojure:clojure:jar:1.7.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  \- (com.taoensso:encore:jar:2.90.1:compile - omitted for conflict with 2.91.0)
[INFO] +- com.cognitect:transit-clj:jar:0.8.300:compile
[INFO] |  \- com.cognitect:transit-java:jar:0.8.324:compile
[INFO] |     +- (com.fasterxml.jackson.core:jackson-core:jar:2.8.7:compile - omitted for conflict with 2.8.6)
[INFO] |     +- org.msgpack:msgpack:jar:0.6.12:compile
[INFO] |     |  +- com.googlecode.json-simple:json-simple:jar:1.1.1:compile
[INFO] |     |  \- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO] |     \- (commons-codec:commons-codec:jar:1.10:compile - omitted for duplicate)
[INFO] +- com.cognitect:transit-cljs:jar:0.8.239:compile
[INFO] |  +- (org.clojure:clojure:jar:1.6.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  \- com.cognitect:transit-js:jar:0.8.846:compile
[INFO] +- colorize:colorize:jar:0.1.1:compile
[INFO] +- selmer:selmer:jar:1.10.7:compile
[INFO] |  +- (org.clojure:clojure:jar:1.7.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (joda-time:joda-time:jar:2.9.6:compile - omitted for conflict with 2.9.7)
[INFO] |  +- (commons-codec:commons-codec:jar:1.10:compile - omitted for duplicate)
[INFO] |  +- json-html:json-html:jar:0.4.0:compile
[INFO] |  |  +- (org.clojure:clojure:jar:1.7.0:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  +- hiccup:hiccup:jar:1.0.5:compile
[INFO] |  |  |  \- (org.clojure:clojure:jar:1.2.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  +- hiccups:hiccups:jar:0.3.0:compile
[INFO] |  |  |  +- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |  |  \- (org.clojure:clojurescript:jar:0.0-2069:compile - omitted for conflict with 1.9.562)
[INFO] |  |  \- (cheshire:cheshire:jar:5.6.1:compile - omitted for conflict with 5.5.0)
[INFO] |  \- (cheshire:cheshire:jar:5.6.3:compile - omitted for conflict with 5.5.0)
[INFO] +- cheshire:cheshire:jar:5.7.1:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.8.6:compile
[INFO] |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.8.6:compile
[INFO] |  |  \- (com.fasterxml.jackson.core:jackson-core:jar:2.8.6:compile - omitted for duplicate)
[INFO] |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.6:compile
[INFO] |  |  \- (com.fasterxml.jackson.core:jackson-core:jar:2.8.6:compile - omitted for duplicate)
[INFO] |  \- tigris:tigris:jar:0.1.1:compile
[INFO] |     \- (org.clojure:clojure:jar:1.5.1:compile - omitted for conflict with 1.9.0-alpha17)
[INFO] +- figwheel:figwheel:jar:0.5.10:test
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:clojurescript:jar:1.8.51:test - omitted for conflict with 1.9.562)
[INFO] |  \- (org.clojure:core.async:jar:0.3.442:test - omitted for conflict with 0.3.443)
[INFO] +- figwheel-sidecar:figwheel-sidecar:jar:0.5.10:test
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:clojurescript:jar:1.8.51:test - omitted for conflict with 1.9.562)
[INFO] |  +- (org.clojure:core.async:jar:0.3.442:test - omitted for conflict with 0.3.443)
[INFO] |  +- com.stuartsierra:component:jar:0.3.1:test
[INFO] |  |  +- com.stuartsierra:dependency:jar:0.2.0:test
[INFO] |  |  \- (org.clojure:clojure:jar:1.7.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- http-kit:http-kit:jar:2.2.0:test
[INFO] |  +- ring-cors:ring-cors:jar:0.1.8:test
[INFO] |  +- (ring:ring-core:jar:1.5.0:test - omitted for conflict with 1.5.1)
[INFO] |  +- clj-stacktrace:clj-stacktrace:jar:0.2.8:test
[INFO] |  |  \- (org.clojure:clojure:jar:1.4.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (figwheel:figwheel:jar:0.5.10:test - omitted for duplicate)
[INFO] |  +- hawk:hawk:jar:0.2.11:test
[INFO] |  |  \- net.incongru.watchservice:barbary-watchservice:jar:1.0:test
[INFO] |  |     \- net.java.dev.jna:jna:jar:3.2.2:test
[INFO] |  +- (org.clojure:tools.nrepl:jar:0.2.12:test - omitted for conflict with 0.2.13)
[INFO] |  +- simple-lein-profile-merge:simple-lein-profile-merge:jar:0.1.4:test
[INFO] |  |  \- (org.clojure:clojure:jar:1.6.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  \- strictly-specking-standalone:strictly-specking-standalone:jar:0.1.1:test
[INFO] |     +- (org.clojure:clojure:jar:1.7.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |     +- net.cgrand:parsley:jar:0.9.3:test
[INFO] |     |  \- net.cgrand:regex:jar:1.1.0:test
[INFO] |     \- net.cgrand:sjacket:jar:0.1.1:test
[INFO] |        \- (net.cgrand:regex:jar:1.1.0:test - omitted for duplicate)
[INFO] +- funcool:codeina:jar:0.5.0:test
[INFO] |  +- (org.clojure:clojure:jar:1.8.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (org.clojure:clojurescript:jar:1.9.93:test - omitted for conflict with 1.9.562)
[INFO] |  +- org.clojure:tools.namespace:jar:0.2.11:test
[INFO] |  |  \- (org.clojure:clojure:jar:1.4.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- leinjacker:leinjacker:jar:0.4.2:test
[INFO] |  |  \- org.clojure:core.contracts:jar:0.0.1:test
[INFO] |  |     +- org.clojure:core.unify:jar:0.5.3:test
[INFO] |  |     |  \- (org.clojure:clojure:jar:1.4.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  |     \- (org.clojure:clojure:jar:1.4.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] |  +- (hiccup:hiccup:jar:1.0.5:compile - scope updated from test; omitted for duplicate)
[INFO] |  \- org.pegdown:pegdown:jar:1.6.0:test
[INFO] |     \- org.parboiled:parboiled-java:jar:1.1.7:test
[INFO] |        +- org.parboiled:parboiled-core:jar:1.1.7:test
[INFO] |        +- org.ow2.asm:asm:jar:5.0.3:test
[INFO] |        +- org.ow2.asm:asm-tree:jar:5.0.3:test
[INFO] |        |  \- (org.ow2.asm:asm:jar:5.0.3:test - omitted for duplicate)
[INFO] |        +- org.ow2.asm:asm-analysis:jar:5.0.3:test
[INFO] |        |  \- (org.ow2.asm:asm-tree:jar:5.0.3:test - omitted for duplicate)
[INFO] |        \- org.ow2.asm:asm-util:jar:5.0.3:test
[INFO] |           \- (org.ow2.asm:asm-tree:jar:5.0.3:test - omitted for duplicate)
[INFO] +- com.cemerick:piggieback:jar:0.2.2:test
[INFO] |  \- (org.clojure:clojurescript:jar:0.0-3165:test - omitted for conflict with 1.9.562)
[INFO] +- org.clojure:tools.nrepl:jar:0.2.13:test
[INFO] |  \- (org.clojure:clojure:jar:1.2.0:test - omitted for conflict with 1.9.0-alpha17)
[INFO] \- clj-http:clj-http:jar:3.5.0:test
[INFO]    +- org.apache.httpcomponents:httpcore:jar:4.4.6:test
[INFO]    +- org.apache.httpcomponents:httpclient:jar:4.5.3:test
[INFO]    |  +- (org.apache.httpcomponents:httpcore:jar:4.4.6:test - omitted for duplicate)
[INFO]    |  +- commons-logging:commons-logging:jar:1.2:test
[INFO]    |  \- (commons-codec:commons-codec:jar:1.9:test - omitted for conflict with 1.10)
[INFO]    +- org.apache.httpcomponents:httpasyncclient:jar:4.1.3:test
[INFO]    |  +- (org.apache.httpcomponents:httpcore:jar:4.4.6:test - omitted for duplicate)
[INFO]    |  +- org.apache.httpcomponents:httpcore-nio:jar:4.4.6:test
[INFO]    |  |  \- (org.apache.httpcomponents:httpcore:jar:4.4.6:test - omitted for duplicate)
[INFO]    |  +- (org.apache.httpcomponents:httpclient:jar:4.5.3:test - omitted for duplicate)
[INFO]    |  \- (commons-logging:commons-logging:jar:1.2:test - omitted for duplicate)
[INFO]    +- org.apache.httpcomponents:httpmime:jar:4.5.3:test
[INFO]    |  \- (org.apache.httpcomponents:httpclient:jar:4.5.3:test - omitted for duplicate)
[INFO]    +- (commons-codec:commons-codec:jar:1.10:test - omitted for duplicate)
[INFO]    +- (commons-io:commons-io:jar:2.5:compile - scope updated from test; omitted for duplicate)
[INFO]    +- slingshot:slingshot:jar:0.12.2:test
[INFO]    \- (potemkin:potemkin:jar:0.4.3:test - omitted for duplicate)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.114 s
[INFO] Finished at: 2017-07-18T17:43:37+01:00
[INFO] Final Memory: 19M/425M
[INFO] ------------------------------------------------------------------------
tobias commented 7 years ago

WildFly is an application server container that you would have to explicitly deploy your app as a WAR file to, so you're definitely not using it. I suspect this is a bug with how we detect where we are running, since pedestal explicitly uses a servlet and nothing else that uses Immutant outside of an app server container does.

lxsameer commented 7 years ago

So what should we do about it ?

jcrossley3 commented 7 years ago

There is some complex logic to determine which WF server version supports async streaming, but I'm thinking it might be simpler to just assume it is supported if the try-resolve call fails here.

tobias commented 7 years ago

I agree, I think that might fix it.

jcrossley3 commented 7 years ago

@lxsameer can you confirm the latest incremental build works for you? BUILD_NUM=773 http://immutant.org/builds/2x/

nblumoe commented 6 years ago

I am still having this issue with BUILD773:

Caused by: java.lang.IllegalArgumentException: HTTP stream timeouts are not supported on this platform
    at org.projectodd.wunderboss.web.async.ServletHttpChannel.setTimeout(ServletHttpChannel.java:117)
    at immutant.web.async$as_channel.invokeStatic(async.clj:300)
    at immutant.web.async$as_channel.doInvoke(async.clj:246)
    at clojure.lang.RestFn.invoke(RestFn.java:943)
    at taoensso.sente.server_adapters.immutant.ImmutantServerChanAdapter.ring_req__GT_server_ch_resp(immutant.clj:24)
    at taoensso.sente$make_channel_socket_server_BANG_$fn__34318.invoke(sente.cljc:580)
    at server.handlers.websockets$ajax_get_or_ws_handshake.invokeStatic(websockets.clj:9)
    at server.handlers.websockets$ajax_get_or_ws_handshake.invoke(websockets.clj:8)
    at io.pedestal.interceptor$eval16018$fn__16019$fn__16020.invoke(interceptor.clj:41)
    at io.pedestal.interceptor.chain$try_f.invokeStatic(chain.clj:52)
nblumoe commented 6 years ago

Nevermind, I just had to get the exclusions right! Now I am facing this issue though:

clojure.lang.ExceptionInfo: Interceptor Exception: No implementation of method: :default-content-type of protocol: #'io.pedestal.http.impl.servlet-interceptor/WriteableBody found for class: org.projectodd.wunderboss.web.async.ServletHttpChannel
    at clojure.core$ex_info.invokeStatic(core.clj:4725)
    at clojure.core$ex_info.invoke(core.clj:4725)
    at io.pedestal.interceptor.chain$throwable__GT_ex_info.invokeStatic(chain.clj:33)
    at io.pedestal.interceptor.chain$throwable__GT_ex_info.invoke(chain.clj:32)
    at io.pedestal.interceptor.chain$try_f.invokeStatic(chain.clj:55)
    at io.pedestal.interceptor.chain$try_f.invoke(chain.clj:42)
    at io.pedestal.interceptor.chain$leave_all_with_binding.invokeStatic(chain.clj:252)
    at io.pedestal.interceptor.chain$leave_all_with_binding.invoke(chain.clj:235)
    at io.pedestal.interceptor.chain$leave_all$fn__16228.invoke(chain.clj:266)
    at clojure.lang.AFn.applyToHelper(AFn.java:152)
    at clojure.lang.AFn.applyTo(AFn.java:144)
    at clojure.core$apply.invokeStatic(core.clj:657)
    at clojure.core$with_bindings_STAR_.invokeStatic(core.clj:1970)
    at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1970)
    at clojure.lang.RestFn.invoke(RestFn.java:425)
    at io.pedestal.interceptor.chain$leave_all.invokeStatic(chain.clj:264)
    at io.pedestal.interceptor.chain$leave_all.invoke(chain.clj:258)
    at io.pedestal.interceptor.chain$execute.invokeStatic(chain.clj:377)
    at io.pedestal.interceptor.chain$execute.invoke(chain.clj:350)
    at io.pedestal.interceptor.chain$execute.invokeStatic(chain.clj:387)
    at io.pedestal.interceptor.chain$execute.invoke(chain.clj:350)
    at io.pedestal.http.impl.servlet_interceptor$interceptor_service_fn$fn__20198.invoke(servlet_interceptor.clj:350)
    at io.pedestal.http.servlet.FnServlet.service(servlet.clj:28)
    at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
    at org.projectodd.wunderboss.web.async.websocket.WebSocketHelpyHelpertonFilter.doFilter(WebSocketHelpyHelpertonFilter.java:64)
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
    at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
    at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
    at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
    at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
    at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
    at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
    at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
    at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
    at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
    at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
    at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
    at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:197)
    at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:65)
    at io.undertow.server.session.SessionAttachmentHandler.handleRequest(SessionAttachmentHandler.java:68)
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211)
    at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:809)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)

Seems like this isn't something to blame wunderboss for.

TwiceII commented 5 years ago

So, has anyone figured this issue? I'm having the same error as @nblumoe in his last message.