<p>shinyproxy 2.4.1がDTテーブルのロードに失敗する:ajaxエラー</p>

作成日 2020年10月30日  ·  9コメント  ·  ソース: openanalytics/shinyproxy

こんにちは、

群れのドッキングされたshinyproxyでいくつかのアプリを実行していて、shinyproxyを2.3.1から2.4.1に更新しようとしました。

DTテーブルを除いてアプリはうまく機能します。 これらは、shinyproxy2.3.​​1には表示されないajaxエラーを発生させます。
screenshot-2020-10-30_10-44-27

Chromeコンソールには次のように表示されます。

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

これは、少なくとも私の設定では、問題を引き起こす可能性のある単純なアプリの例です。

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)

そして、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]

最も参考になるコメント

こんにちは@egde

もう一度調べてくれてありがとう。 openidとデータテーブルの組み合わせには確かに問題があります。 次のバージョンでリリースされるバグ修正を提供することができました。

全てのコメント9件

こんにちは

同様のエラーが先週報告されました。 一部のクラスのログが多すぎて、プロキシサーバーでリクエストを適切に処理できないため、デバッグログが有効になっていることが原因でした。
(https://github.com/openanalytics/shinyproxy/issues/140#issuecomment-717858983を参照)
構成を次のように変更する必要があります。

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

または、デバッグログレベルを完全に無効にします。
DispatcherServletのログレベルは次のリリースで変更されるため、この回避策は不要になります。

これで問題が解決するかどうかを報告していただけますか?

こんにちは@LEDfan
迅速な回答をありがとう。
正解です。変更されたログ構成を適用すると、問題が解決します。 前号に気づかず申し訳ありません。

ログ設定を上記に変更することで提案された修正は、私には機能しませんでした。

そこに次のエラーログがあります。

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]

こんにちは@egde 、ここで問題を再現することはできません。次の情報を提供してください。

  • ShinyProxyをどのように実行していますか(jar、Docker、Kubernetesなどを使用)
  • どのJavaバージョンを使用していますか?
  • application.yamlファイルを提供します(機密値を削除します)
  • ロードバランサーまたはリバースプロキシを使用していますか? どれ? 設定も提供してください

こんにちは、
ログ設定をINFOまたはWARNに変更しても役に立ちません。
私の設定は次のとおりです。

  • コンテナ化されたshinyproxy;
  • Dockerfileでopenjdk:8-jreopenjdk:11-jreの両方を試しました。
  • ロードバランサーなし。
  • リバースプロキシとしてのNGINX。
    必要に応じて、エラーログ、application.yaml、NGINX構成をアップロードできます。

今日は少し時間をかけて見てみました。 認証がオフの場合、DTテーブルは正常に機能します。 問題は
`` `
認証:openid
`` `` ``
ここではAzureActiveDirectoryを使用しています。

こんにちは@egde

もう一度調べてくれてありがとう。 openidとデータテーブルの組み合わせには確かに問題があります。 次のバージョンでリリースされるバグ修正を提供することができました。

こんにちは@LEDfan

とても早く修正してくれてありがとう!
新しいバージョンがいつリリースされる予定か聞いてもいいですか?
そして、回避策がある場合はどうなりますか?

もう一度ありがとう!

この問題は、リリースされたばかりの2.4.2で修正されました。

この問題をロックして、問題を維持できるようにします。
もちろん、何か問題が発生した場合は、いつものように新しい問題を開くことを躊躇しないでください!

このページは役に立ちましたか?
0 / 5 - 0 評価