<p>shinyproxy 2.4.1 ne parvient pas à charger les tables DT : erreur ajax</p>

Créé le 30 oct. 2020  ·  9Commentaires  ·  Source: openanalytics/shinyproxy

Salut,

J'exécute certaines applications dans un shinyproxy dockerisé en essaim et j'ai essayé de mettre à jour shinyproxy de 2.3.1 à 2.4.1

Les applications fonctionnent bien, sauf pour les tables DT. Ils génèrent une erreur ajax qui n'apparaît pas dans shinyproxy 2.3.1 :
screenshot-2020-10-30_10-44-27

La console Chrome indique ce qui suit :

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

Voici un exemple d'application simple qui peut déclencher le problème, du moins dans ma configuration :

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)

Et les (je pense) lignes pertinentes dans les journaux 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]

Commentaire le plus utile

Salut @egde

Merci de l'avoir examiné à nouveau. Il y a en effet un problème avec la combinaison d'openid et de Data Tables. J'ai réussi à fournir un correctif qui sera publié dans une prochaine version.

Tous les 9 commentaires

salut

Une erreur similaire a été signalée la semaine dernière. La cause était que la journalisation de débogage était activée, car certaines classes se connectent trop et, par conséquent, les demandes ne peuvent pas être correctement gérées par le serveur proxy.
(Voir https://github.com/openanalytics/shinyproxy/issues/140#issuecomment-717858983)
Vous devriez changer votre configuration en :

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

Ou désactivez complètement le niveau de journal de débogage.
Le niveau de journalisation pour DispatcherServlet sera modifié dans la prochaine version, de sorte que cette solution de contournement n'est plus nécessaire.

Pouvez-vous s'il vous plaît indiquer si cela résout le problème pour vous?

Salut @LEDfan
Merci pour la réponse rapide.
Vous aviez raison, l'application de la configuration de journal modifiée résout le problème. Désolé de ne pas avoir remarqué le problème précédent.

Le correctif suggéré en modifiant les paramètres du journal comme ci-dessus n'a pas fonctionné pour moi.

J'ai les journaux d'erreurs suivants ici :

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]

Salut @egde , je ne parviens pas à reproduire le problème ici, pouvez-vous s'il vous plaît fournir les informations suivantes :

  • comment exécutez-vous ShinyProxy (en utilisant le pot, Docker, Kubernetes, etc.)
  • tu utilises quelle version de java ?
  • fournissez votre fichier application.yaml (supprimez les valeurs sensibles)
  • utilisez-vous un équilibreur de charge ou un proxy inverse ? lequel? merci de donner aussi la config

Salut,
Changer le paramètre de journal sur INFO ou WARN ne m'aide pas non plus.
Ma configuration est:

  • Shinyproxy conteneurisé ;
  • J'ai essayé à la fois openjdk:8-jre et openjdk:11-jre dans Dockerfile ;
  • Pas d'équilibreur de charge ;
  • NGINX comme proxy inverse.
    Si nécessaire, je peux télécharger mon journal d'erreurs, application.yaml et la configuration NGINX.

J'ai pris un peu de temps aujourd'hui pour y jeter un œil. Les tables DT fonctionnent correctement si l'authentification est désactivée. Les problèmes commencent par
```
authentification : openid
````
J'utilise Azure Active Directory ici.

Salut @egde

Merci de l'avoir examiné à nouveau. Il y a en effet un problème avec la combinaison d'openid et de Data Tables. J'ai réussi à fournir un correctif qui sera publié dans une prochaine version.

Salut @LEDfan ,

Merci beaucoup de l'avoir réparé si vite !
Puis-je vous demander quand est prévue la sortie de la nouvelle version ?
Et s'il y a une solution de contournement?

Encore merci!

Ce problème est maintenant résolu dans la version 2.4.2 qui vient de sortir.

Je vais verrouiller ce problème, afin que les problèmes restent gérables pour nous.
Bien sûr, comme toujours, n'hésitez pas à ouvrir un nouveau sujet si vous rencontrez le moindre problème !

Cette page vous a été utile?
0 / 5 - 0 notes