<p>shinyproxy 2.4.1 no puede cargar tablas DT: error ajax</p>

Creado en 30 oct. 2020  ·  9Comentarios  ·  Fuente: openanalytics/shinyproxy

Hola,

Estoy ejecutando algunas aplicaciones en un shinyproxy dockerizado en enjambre e intenté actualizar shinyproxy de 2.3.1 a 2.4.1

Las aplicaciones funcionan bien, excepto las tablas DT. Levantan un error de ajax que no aparece en shinyproxy 2.3.1:
screenshot-2020-10-30_10-44-27

La consola de Chrome dice lo siguiente:

screenshot-2020-10-30_10-28-14

Aquí hay un ejemplo de una aplicación simple que puede desencadenar el problema, al menos en mi configuración:

library(shiny)
library(DT)
# ui
  ui <- shiny::fluidPage(
    DT::DTOutput('iris_table')
  )

  # server
  server <- function(input, output, session) {

    output$iris_table <- DT::renderDT({
      DT::datatable(iris)
    })
  }

  shiny::shinyApp(ui, server)

Y las (creo) líneas relevantes en los registros de shinyproxy:

2020-10-30T09:27:03.690039944Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="17">@fun2fun</strong>    | 2020-10-30 09:27:03.689 DEBUG 1 --- [  XNIO-1 I/O-10] io.undertow.request.io                   : Fixed length stream closed with with 1378 bytes remaining
2020-10-30T09:27:03.690292679Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="18">@fun2fun</strong>    | 2020-10-30 09:27:03.690 DEBUG 1 --- [  XNIO-1 I/O-10] i.u.client.http.HttpClientExchange       : request terminated for request to 2413b0413c55/10.0.1.133:3838 /session/3f66af1cdf5134d02403b8140f768758/dataobj/iris_table?w=&nonce=d59bacb470b9a656
2020-10-30T09:27:03.691633741Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="19">@fun2fun</strong>    | 2020-10-30 09:27:03.691 ERROR 1 --- [  XNIO-1 I/O-10] io.undertow.proxy                        : UT005028: Proxy request to /shinyproxy/proxy_endpoint/420b8d5a-b0fa-4f28-8575-d98b05ea7e46/session/3f66af1cdf5134d02403b8140f768758/dataobj/iris_table failed
2020-10-30T09:27:03.691664541Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="20">@fun2fun</strong>    | 
2020-10-30T09:27:03.691672937Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="21">@fun2fun</strong>    | io.undertow.server.TruncatedResponseException: null
2020-10-30T09:27:03.691679740Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="22">@fun2fun</strong>    |  at io.undertow.client.http.HttpRequestConduit.truncateWrites(HttpRequestConduit.java:711) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691687091Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="23">@fun2fun</strong>    |  at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.terminateWrites(AbstractFixedLengthStreamSinkConduit.java:256) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691694144Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="24">@fun2fun</strong>    |  at org.xnio.conduits.ConduitStreamSinkChannel.shutdownWrites(ConduitStreamSinkChannel.java:178) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
2020-10-30T09:27:03.691701331Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="25">@fun2fun</strong>    |  at io.undertow.channels.DetachableStreamSinkChannel.shutdownWrites(DetachableStreamSinkChannel.java:79) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691708134Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="26">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$HTTPTrailerChannelListener.handleEvent(ProxyHandler.java:754) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691714960Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="27">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:646) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691721719Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="28">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:561) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691740601Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="29">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientExchange.invokeReadReadyCallback(HttpClientExchange.java:212) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691747781Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="30">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:414) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691754617Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="31">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:347) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691761270Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="32">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:561) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691767989Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="33">@fun2fun</strong>    |  at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691776322Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="34">@fun2fun</strong>    |  at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:821) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691783155Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="35">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:316) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691789864Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="36">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:290) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691796580Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="37">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:353) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691803303Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="38">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool.access$900(ProxyConnectionPool.java:61) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691810413Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="39">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool$2.completed(ProxyConnectionPool.java:287) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691817082Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="40">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool$2.completed(ProxyConnectionPool.java:274) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691823731Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="41">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider.handleConnected(HttpClientProvider.java:156) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691830427Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="42">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider.access$000(HttpClientProvider.java:51) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691837253Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="43">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider$2.handleEvent(HttpClientProvider.java:127) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691843892Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="44">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider$2.handleEvent(HttpClientProvider.java:124) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.691850561Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="45">@fun2fun</strong>    |  at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
2020-10-30T09:27:03.691857163Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="46">@fun2fun</strong>    |  at org.xnio.nio.WorkerThread$ConnectHandle.handleReady(WorkerThread.java:333) [xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
2020-10-30T09:27:03.691864056Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="47">@fun2fun</strong>    |  at org.xnio.nio.WorkerThread.run(WorkerThread.java:591) [xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
2020-10-30T09:27:03.691870632Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="48">@fun2fun</strong>    | 
2020-10-30T09:27:03.692511847Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="49">@fun2fun</strong>    | 2020-10-30 09:27:03.692 DEBUG 1 --- [  XNIO-1 I/O-10] io.undertow.request.error-response       : Setting error code 503 for exchange HttpServerExchange{ POST /shinyproxy/proxy_endpoint/420b8d5a-b0fa-4f28-8575-d98b05ea7e46/session/3f66af1cdf5134d02403b8140f768758/dataobj/iris_table}
2020-10-30T09:27:03.692557512Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="50">@fun2fun</strong>    | 
2020-10-30T09:27:03.692566797Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="51">@fun2fun</strong>    | java.lang.RuntimeException: null
2020-10-30T09:27:03.692573600Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="52">@fun2fun</strong>    |  at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1416) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692580954Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="53">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler.handleFailure(ProxyHandler.java:668) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692587887Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="54">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$HTTPTrailerChannelListener.handleEvent(ProxyHandler.java:769) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692594773Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="55">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:646) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692601442Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="56">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:561) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692608095Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="57">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientExchange.invokeReadReadyCallback(HttpClientExchange.java:212) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692614734Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="58">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:414) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692621507Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="59">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:347) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692628226Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="60">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:561) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692638133Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="61">@fun2fun</strong>    |  at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692644758Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="62">@fun2fun</strong>    |  at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:821) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692651578Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="63">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:316) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692659901Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="64">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:290) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692666670Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="65">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:353) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692673560Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="66">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool.access$900(ProxyConnectionPool.java:61) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692680426Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="67">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool$2.completed(ProxyConnectionPool.java:287) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692687095Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="68">@fun2fun</strong>    |  at io.undertow.server.handlers.proxy.ProxyConnectionPool$2.completed(ProxyConnectionPool.java:274) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692699535Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="69">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider.handleConnected(HttpClientProvider.java:156) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692706401Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="70">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider.access$000(HttpClientProvider.java:51) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692713484Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="71">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider$2.handleEvent(HttpClientProvider.java:127) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692720127Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="72">@fun2fun</strong>    |  at io.undertow.client.http.HttpClientProvider$2.handleEvent(HttpClientProvider.java:124) [undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
2020-10-30T09:27:03.692726833Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="73">@fun2fun</strong>    |  at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
2020-10-30T09:27:03.692733391Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="74">@fun2fun</strong>    |  at org.xnio.nio.WorkerThread$ConnectHandle.handleReady(WorkerThread.java:333) [xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
2020-10-30T09:27:03.692740147Z lfc_swarm_lfc_shinyproxy_production.1.kjw50aadt3q9<strong i="75">@fun2fun</strong>    |  at org.xnio.nio.WorkerThread.run(WorkerThread.java:591) [xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]

Comentario más útil

Hola @egde

Gracias por mirarlo de nuevo. De hecho, hay un problema con la combinación de openid y tablas de datos. Logré proporcionar una corrección de errores que se lanzará en una próxima versión.

Todos 9 comentarios

Hola

La semana pasada se informó un error similar. La causa fue que el registro de depuración estaba habilitado, porque alguna clase está registrando demasiado y, por lo tanto, el servidor proxy no puede manejar correctamente las solicitudes.
(Ver https://github.com/openanalytics/shinyproxy/issues/140#issuecomment-717858983)
Deberías cambiar tu configuración a:

logging:
  level:
     root: DEBUG
     org:
        springframework:
           web:
              servlet:
                 DispatcherServlet: INFO

O deshabilite completamente el nivel de registro de depuración.
El nivel de registro de DispatcherServlet se cambiará en la próxima versión, por lo que esta solución alternativa ya no será necesaria.

¿Puedes informarnos si esto soluciona el problema por ti?

Hola @LEDfan
Gracias por la rápida respuesta.
Tenías razón, aplicar la configuración de registro modificada resuelve el problema. Perdón por no haber notado el problema anterior.

La solución sugerida al cambiar la configuración de registro a la anterior no funcionó para mí.

Tengo los siguientes registros de error allí:

2020-11-18 09:03:30.626 ERROR 30540 --- [  XNIO-1 I/O-10] io.undertow.proxy                        : UT005028: Proxy request to /proxy_endpoint/9e4a846c-569a-47da-a5d7-aec3393b5126/session/84053972e6f1f406b832b9e94e783556/dataobj/universe_statistics failed

io.undertow.server.TruncatedResponseException: null
    at io.undertow.client.http.HttpRequestConduit.truncateWrites(HttpRequestConduit.java:711) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.terminateWrites(AbstractFixedLengthStreamSinkConduit.java:256) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.ConduitStreamSinkChannel.shutdownWrites(ConduitStreamSinkChannel.java:178) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.channels.DetachableStreamSinkChannel.shutdownWrites(DetachableStreamSinkChannel.java:79) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$HTTPTrailerChannelListener.handleEvent(ProxyHandler.java:754) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:646) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:561) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientExchange.invokeReadReadyCallback(HttpClientExchange.java:212) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:414) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:347) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:561) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:821) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:316) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:290) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:353) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:548) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:316) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at eu.openanalytics.containerproxy.util.ProxyMappingManager$1.getConnection(ProxyMappingManager.java:88) ~[containerproxy-0.8.5.jar!/:0.8.5]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:310) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:479) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]

2020-11-18 09:03:30.626 ERROR 30540 --- [  XNIO-1 I/O-12] io.undertow.proxy                        : UT005028: Proxy request to /proxy_endpoint/9e4a846c-569a-47da-a5d7-aec3393b5126/session/84053972e6f1f406b832b9e94e783556/dataobj/csss_candidates_statistics failed

io.undertow.server.TruncatedResponseException: null
    at io.undertow.client.http.HttpRequestConduit.truncateWrites(HttpRequestConduit.java:711) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.terminateWrites(AbstractFixedLengthStreamSinkConduit.java:256) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.ConduitStreamSinkChannel.shutdownWrites(ConduitStreamSinkChannel.java:178) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.channels.DetachableStreamSinkChannel.shutdownWrites(DetachableStreamSinkChannel.java:79) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$HTTPTrailerChannelListener.handleEvent(ProxyHandler.java:754) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:646) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:561) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientExchange.invokeReadReadyCallback(HttpClientExchange.java:212) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:414) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:347) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:561) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:821) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:316) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:290) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:353) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:548) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:316) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at eu.openanalytics.containerproxy.util.ProxyMappingManager$1.getConnection(ProxyMappingManager.java:88) ~[containerproxy-0.8.5.jar!/:0.8.5]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:310) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:479) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]

2020-11-18 09:03:30.645 ERROR 30540 --- [  XNIO-1 I/O-14] io.undertow.proxy                        : UT005028: Proxy request to /proxy_endpoint/9e4a846c-569a-47da-a5d7-aec3393b5126/session/84053972e6f1f406b832b9e94e783556/dataobj/flatTable_statistics failed

io.undertow.server.TruncatedResponseException: null
    at io.undertow.client.http.HttpRequestConduit.truncateWrites(HttpRequestConduit.java:711) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.terminateWrites(AbstractFixedLengthStreamSinkConduit.java:256) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.ConduitStreamSinkChannel.shutdownWrites(ConduitStreamSinkChannel.java:178) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.channels.DetachableStreamSinkChannel.shutdownWrites(DetachableStreamSinkChannel.java:79) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$HTTPTrailerChannelListener.handleEvent(ProxyHandler.java:754) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:646) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction$1.completed(ProxyHandler.java:561) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientExchange.invokeReadReadyCallback(HttpClientExchange.java:212) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection.initiateRequest(HttpClientConnection.java:414) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection.sendRequest(HttpClientConnection.java:347) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyAction.run(ProxyHandler.java:561) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.HttpServerExchange.dispatch(HttpServerExchange.java:821) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:316) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.completed(ProxyHandler.java:290) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connectionReady(ProxyConnectionPool.java:353) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:548) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:316) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at eu.openanalytics.containerproxy.util.ProxyMappingManager$1.getConnection(ProxyMappingManager.java:88) ~[containerproxy-0.8.5.jar!/:0.8.5]
    at io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:310) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:479) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]

2020-11-18 09:12:57.684 ERROR 30540 --- [  XNIO-1 I/O-10] io.undertow.proxy                        : UT005028: Proxy request to /proxy_endpoint/9e4a846c-569a-47da-a5d7-aec3393b5126/session/84053972e6f1f406b832b9e94e783556/dataobj/universe_statistics failed

java.nio.channels.ClosedChannelException: null
    at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:192) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:171) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.StreamConnection.invokeCloseListener(StreamConnection.java:80) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.Connection.writeClosed(Connection.java:117) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.AbstractNioStreamConnection.writeClosed(AbstractNioStreamConnection.java:47) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.terminateWrites(NioSocketConduit.java:182) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.truncateWrites(NioSocketConduit.java:198) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.client.http.HttpRequestConduit.truncateWrites(HttpRequestConduit.java:701) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.AbstractSinkConduit.truncateWrites(AbstractSinkConduit.java:82) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.truncateWrites(AbstractFixedLengthStreamSinkConduit.java:277) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.ConduitStreamSinkChannel.close(ConduitStreamSinkChannel.java:186) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.IoUtils.safeClose(IoUtils.java:152) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.forceTermination(WriteReadyHandler.java:57) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.forceTermination(NioSocketConduit.java:108) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:507) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]

2020-11-18 09:12:57.685 ERROR 30540 --- [  XNIO-1 I/O-12] io.undertow.proxy                        : UT005028: Proxy request to /proxy_endpoint/9e4a846c-569a-47da-a5d7-aec3393b5126/session/84053972e6f1f406b832b9e94e783556/dataobj/csss_candidates_statistics failed

java.nio.channels.ClosedChannelException: null
    at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:192) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:171) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.StreamConnection.invokeCloseListener(StreamConnection.java:80) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.Connection.writeClosed(Connection.java:117) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.AbstractNioStreamConnection.writeClosed(AbstractNioStreamConnection.java:47) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.terminateWrites(NioSocketConduit.java:182) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.truncateWrites(NioSocketConduit.java:198) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.client.http.HttpRequestConduit.truncateWrites(HttpRequestConduit.java:701) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.AbstractSinkConduit.truncateWrites(AbstractSinkConduit.java:82) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.truncateWrites(AbstractFixedLengthStreamSinkConduit.java:277) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.ConduitStreamSinkChannel.close(ConduitStreamSinkChannel.java:186) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.IoUtils.safeClose(IoUtils.java:152) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.forceTermination(WriteReadyHandler.java:57) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.forceTermination(NioSocketConduit.java:108) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:507) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]

2020-11-18 09:12:57.685 ERROR 30540 --- [  XNIO-1 I/O-14] io.undertow.proxy                        : UT005028: Proxy request to /proxy_endpoint/9e4a846c-569a-47da-a5d7-aec3393b5126/session/84053972e6f1f406b832b9e94e783556/dataobj/flatTable_statistics failed

java.nio.channels.ClosedChannelException: null
    at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:192) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:171) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.StreamConnection.invokeCloseListener(StreamConnection.java:80) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.Connection.writeClosed(Connection.java:117) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.AbstractNioStreamConnection.writeClosed(AbstractNioStreamConnection.java:47) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.terminateWrites(NioSocketConduit.java:182) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.truncateWrites(NioSocketConduit.java:198) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.client.http.HttpRequestConduit.truncateWrites(HttpRequestConduit.java:701) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.AbstractSinkConduit.truncateWrites(AbstractSinkConduit.java:82) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.truncateWrites(AbstractFixedLengthStreamSinkConduit.java:277) ~[undertow-core-2.1.4.Final.jar!/:2.1.4.Final]
    at org.xnio.conduits.ConduitStreamSinkChannel.close(ConduitStreamSinkChannel.java:186) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.IoUtils.safeClose(IoUtils.java:152) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.forceTermination(WriteReadyHandler.java:57) ~[xnio-api-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.NioSocketConduit.forceTermination(NioSocketConduit.java:108) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:507) ~[xnio-nio-3.8.0.Final.jar!/:3.8.0.Final]

Hola, @egde , no puedo reproducir el problema aquí. ¿Puede proporcionar la siguiente información?

  • ¿Cómo estás ejecutando ShinyProxy (usando el jar, Docker, Kubernetes, etc.)
  • que version de java estas usando?
  • proporcione su archivo application.yaml (elimine los valores confidenciales)
  • ¿Está utilizando un equilibrador de carga o un proxy inverso? ¿Cuál? por favor proporcione la configuración también

Hola,
Cambiar la configuración de registro a INFO o WARN tampoco me ayuda.
Mi configuración es:

  • shinyproxy en contenedores;
  • Probé openjdk:8-jre y openjdk:11-jre en Dockerfile;
  • Sin equilibrador de carga;
  • NGINX como proxy inverso.
    Si es necesario, puedo cargar mi registro de errores, application.yaml y la configuración de NGINX.

Me tomé un tiempo hoy para echarle un vistazo. Las tablas de DT funcionan bien si la autenticación está desactivada. Los problemas comienzan con
```
autenticación: openid
````
Estoy usando Azure Active Directory aquí.

Hola @egde

Gracias por mirarlo de nuevo. De hecho, hay un problema con la combinación de openid y tablas de datos. Logré proporcionar una corrección de errores que se lanzará en una próxima versión.

Hola @LEDfan ,

¡Muchas gracias por arreglarlo tan rápido!
¿Puedo preguntarle cuándo se planea lanzar la nueva versión?
¿Y si hay una solución?

¡Gracias una vez más!

Este problema ahora está solucionado en el recién lanzado 2.4.2 .

Bloquearé este problema para que podamos mantenerlo.
Por supuesto, como siempre, ¡no dudes en abrir un nuevo número si encuentras algún problema!

¿Fue útil esta página
0 / 5 - 0 calificaciones

Temas relacionados

benkates picture benkates  ·  3Comentarios

erossini picture erossini  ·  3Comentarios

ramkumarg1 picture ramkumarg1  ·  7Comentarios

PauloJhonny picture PauloJhonny  ·  8Comentarios

lucius-verus-fan picture lucius-verus-fan  ·  7Comentarios