Shiny app in kubernetes behind Traefik

Hi,
I am running some apps on a kubernetes cluster and found out that for some of them it grays out the screen without loading anything. Traefik is supposed to be transparent regarding Websockets.
The Traefik proxy does the SSL termination and it goes plain to the shiny server.


[2020-05-13T11:21:18.056] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:18.056] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:18.317] [TRACE] shiny-server - Reusing existing instance
[2020-05-13T11:21:18.318] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring http port. 1 HTTP, 0 WebSocket, 0 pending.
[2020-05-13T11:21:18.318] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring pending port. 1 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:18.556] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:18.557] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:18.630] [TRACE] shiny-server - Reusing existing instance
[2020-05-13T11:21:18.630] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring http port. 2 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:18.630] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring pending port. 2 HTTP, 0 WebSocket, 2 pending.
[2020-05-13T11:21:19.057] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:19.057] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:19.316] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing http port. 1 HTTP, 0 WebSocket, 2 pending.
[2020-05-13T11:21:19.316] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing pending port. 1 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:19.557] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:19.558] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:19.620] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing http port. 0 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:19.620] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing pending port. 0 HTTP, 0 WebSocket, 0 pending.
[2020-05-13T11:21:19.620] [TRACE] shiny-server - No clients connected to worker #06a2d78a410e8ea6. Starting timer
[2020-05-13T11:21:20.058] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:20.059] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:20.560] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:20.561] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:21.060] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:21.061] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:21.562] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:21.562] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:22.062] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:22.063] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:22.562] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:22.563] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:23.064] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:23.064] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:23.323] [TRACE] shiny-server - Reusing existing instance
[2020-05-13T11:21:23.323] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring http port. 1 HTTP, 0 WebSocket, 0 pending.
[2020-05-13T11:21:23.323] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring pending port. 1 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:23.564] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:23.565] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:23.624] [TRACE] shiny-server - Reusing existing instance
[2020-05-13T11:21:23.624] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring http port. 2 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:23.624] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring pending port. 2 HTTP, 0 WebSocket, 2 pending.
[2020-05-13T11:21:24.065] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:24.066] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:24.314] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing http port. 1 HTTP, 0 WebSocket, 2 pending.
[2020-05-13T11:21:24.314] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing pending port. 1 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:24.566] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:24.567] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:24.620] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing http port. 0 HTTP, 0 WebSocket, 1 pending.
[2020-05-13T11:21:24.620] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 releasing pending port. 0 HTTP, 0 WebSocket, 0 pending.
[2020-05-13T11:21:24.620] [TRACE] shiny-server - No clients connected to worker #06a2d78a410e8ea6. Starting timer
[2020-05-13T11:21:25.068] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:25.069] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:25.568] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:25.569] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:26.070] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:26.070] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:26.570] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:26.571] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:27.071] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:27.072] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:27.573] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:27.573] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:28.073] [TRACE] shiny-server - Attempting to connect to port 41100
[2020-05-13T11:21:28.074] [TRACE] shiny-server - Failed to connect to port 41100
[2020-05-13T11:21:28.316] [TRACE] shiny-server - Reusing existing instance
[2020-05-13T11:21:28.316] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring http port. 1 HTTP, 0 WebSocket, 0 pending.
[2020-05-13T11:21:28.316] [TRACE] shiny-server - Worker #06a2d78a410e8ea6 acquiring pending port. 1 HTTP, 0 WebSocket, 1 pending.
^C

it turned out that had something to do with resources, after increasing the resource limit in k8s it worked

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.