Last updated on 2026-09-23 00:50:03 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 6.88 | 71.37 | 78.25 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 4.97 | 54.30 | 59.27 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 51.45 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 51.18 | ERROR | |||
| r-devel-windows-x86_64 | 0.1.0 | 11.00 | 91.00 | 102.00 | OK | |
| r-patched-linux-x86_64 | 0.1.0 | 6.27 | 62.09 | 68.36 | OK | |
| r-release-linux-x86_64 | 0.2.0 | 7.17 | 68.95 | 76.12 | OK | |
| r-release-macos-arm64 | 0.2.0 | 2.00 | 27.00 | 29.00 | OK | |
| r-release-macos-x86_64 | 0.2.0 | 5.00 | 81.00 | 86.00 | OK | |
| r-release-windows-x86_64 | 0.1.0 | 10.00 | 85.00 | 95.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.0 | 2.00 | 32.00 | 34.00 | OK | |
| r-oldrel-macos-x86_64 | 0.2.0 | 5.00 | 83.00 | 88.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.0 | 11.00 | 103.00 | 114.00 | OK |
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [17s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard testthat setup for R packages.
> # It runs all tests in the tests/testthat/ directory.
>
> library(testthat)
> library(tinyshinyserver)
>
> test_check("tinyshinyserver")
INFO [2026-09-22 20:51:15] WebSocket connection opened
INFO [2026-09-22 20:51:15] WebSocket routed to app: app
INFO [2026-09-22 20:51:15] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:15] Connecting to backend: ws://127.0.0.1:42765/websocket/ for app app
INFO [2026-09-22 20:51:15] Backend connection opened for app
INFO [2026-09-22 20:51:15] Sending 1 pending messages for app app
INFO [2026-09-22 20:51:15] WebSocket connection opened
INFO [2026-09-22 20:51:15] WebSocket routed to app: app
INFO [2026-09-22 20:51:15] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:15] Connecting to backend: ws://127.0.0.1:42765/second.Rmd/websocket/?token=a%2Fb&n=1 for app app
INFO [2026-09-22 20:51:15] Backend connection opened for app
INFO [2026-09-22 20:51:15] Sending 1 pending messages for app app
INFO [2026-09-22 20:51:15] WebSocket connection opened
INFO [2026-09-22 20:51:15] WebSocket routed to app: app
INFO [2026-09-22 20:51:15] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:15] Connecting to backend: ws://127.0.0.1:42765/folder/doc.Rmd/websocket?x=1 for app app
INFO [2026-09-22 20:51:15] Backend connection opened for app
INFO [2026-09-22 20:51:15] Sending 1 pending messages for app app
[2026-09-22 20:51:15] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-22 20:51:15] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-22 20:51:15] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-22 20:51:15] WebSocket connection closed for session 105c1fea3ba248898f6993d9cab8d91009b2f5650d6655595aeb2c428ebed5c8
INFO [2026-09-22 20:51:15] WebSocket connection closed for session 2e7e0599daebdf3a3aa8852fbbb9d51c28a6c6a10a56e9b402c029ff8a6467eb
INFO [2026-09-22 20:51:15] WebSocket connection closed for session 19d035d1c62987ef28fe910b5371ef88cce9560c73aad3643c63df28274c3714
INFO [2026-09-22 20:51:15] Backend connection closed for app app
INFO [2026-09-22 20:51:15] Backend connection closed for app app
INFO [2026-09-22 20:51:15] Backend connection closed for app app
INFO [2026-09-22 20:51:15] WebSocket connection opened
INFO [2026-09-22 20:51:15] WebSocket routed to app: app
INFO [2026-09-22 20:51:15] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:15] Connecting to backend: ws://127.0.0.1:49878/websocket/ for app app
INFO [2026-09-22 20:51:15] Backend connection opened for app
INFO [2026-09-22 20:51:15] Sending 1 pending messages for app app
[2026-09-22 20:51:15] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-22 20:51:15] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
Saving _problems/test-async-proxy-64.R
INFO [2026-09-22 20:51:15] WebSocket connection closed for session 1a3867c69c12d8b754fb693dedbe0f73397540ab46339939fbeed66773f83a78
INFO [2026-09-22 20:51:15] Backend connection closed for app app
ERROR [2026-09-22 20:51:17] Proxy error for app app: transfer failed
INFO [2026-09-22 20:51:17] App app is ready on port 31209 (attempt 1)
INFO [2026-09-22 20:51:18] WebSocket connection opened
INFO [2026-09-22 20:51:18] WebSocket routed to app: app
INFO [2026-09-22 20:51:18] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:18] Connecting to backend: ws://127.0.0.1:32703/websocket for app app
INFO [2026-09-22 20:51:18] Backend connection opened for app
INFO [2026-09-22 20:51:18] Sending 1 pending messages for app app
INFO [2026-09-22 20:51:18] Backend connection closed for app app
INFO [2026-09-22 20:51:18] WebSocket connection closed for session 3d2ea5ff96baca0fc3881817f96c73d70cc7a76a06698ae90fe1e57e3cc94cae
INFO [2026-09-22 20:51:18] WebSocket connection closed for session 3d2ea5ff96baca0fc3881817f96c73d70cc7a76a06698ae90fe1e57e3cc94cae
INFO [2026-09-22 20:51:18] WebSocket connection opened
INFO [2026-09-22 20:51:18] WebSocket routed to app: app
INFO [2026-09-22 20:51:18] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:18] Connecting to backend: ws://127.0.0.1:42273/websocket/ for app app
INFO [2026-09-22 20:51:18] Backend connection opened for app
INFO [2026-09-22 20:51:18] Sending 1 pending messages for app app
INFO [2026-09-22 20:51:18] WebSocket connection closed for session a6593968ccc938b873dda685e5fdb7b5364a41fc4363a1594dc4b59b8f2173b0
INFO [2026-09-22 20:51:18] Backend connection closed for app app
INFO [2026-09-22 20:51:18] WebSocket connection opened
INFO [2026-09-22 20:51:18] WebSocket routed to app: app
INFO [2026-09-22 20:51:18] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:18] Connecting to backend: ws://127.0.0.1:42273/websocket/ for app app
INFO [2026-09-22 20:51:18] Backend connection opened for app
INFO [2026-09-22 20:51:18] Sending 1 pending messages for app app
INFO [2026-09-22 20:51:18] WebSocket connection closed for session dba2329418ffdc0e3b1c7a70a2f7c6f2c86dbf20018a1f5e8d9ba5be4bdb7387
INFO [2026-09-22 20:51:18] Backend connection closed for app app
INFO [2026-09-22 20:51:18] WebSocket connection opened
INFO [2026-09-22 20:51:18] WebSocket routed to app: app
INFO [2026-09-22 20:51:18] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:18] Connecting to backend: ws://127.0.0.1:42273/websocket/ for app app
INFO [2026-09-22 20:51:18] Backend connection opened for app
INFO [2026-09-22 20:51:18] Sending 1 pending messages for app app
[2026-09-22 20:51:18] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-22 20:51:18] WebSocket connection closed for session 4904835b0f05fb5d959351cffa201f755a115fa6bcb9aa97e253c415753ef856
INFO [2026-09-22 20:51:18] Backend connection closed for app app
INFO [2026-09-22 20:51:18] WebSocket connection opened
INFO [2026-09-22 20:51:18] WebSocket routed to app: app
INFO [2026-09-22 20:51:18] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:18] Connecting to backend: ws://127.0.0.1:48585/websocket/ for app app
[2026-09-22 20:51:18] [info] asio async_connect error: asio.system:111 (Connection refused)
[2026-09-22 20:51:18] [info] Error getting remote endpoint: asio.system:107 (Transport endpoint is not connected)
[2026-09-22 20:51:18] [error] handle_connect error: Connection refused
ERROR [2026-09-22 20:51:18] Backend connection error for app app: Connection refused
INFO [2026-09-22 20:51:18] WebSocket connection closed for session 560f50e80282218821e3c1d64ddadc34a10440024ff5394e41429a10c8987cff
INFO [2026-09-22 20:51:18] WebSocket connection closed for session 560f50e80282218821e3c1d64ddadc34a10440024ff5394e41429a10c8987cff
INFO [2026-09-22 20:51:18] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:19] WebSocket connection closed for session s
INFO [2026-09-22 20:51:19] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-22 20:51:19] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-22 20:51:19] Stopping app: app
INFO [2026-09-22 20:51:19] Successfully stopped app app
ERROR [2026-09-22 20:51:19] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-22 20:51:19] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-22 20:51:19] remove_ws_connection called with NULL session_id
ERROR [2026-09-22 20:51:20] Connection count INCONSISTENCY for app1: cached=10, actual=2, diff=8
ERROR [2026-09-22 20:51:20] Connection count INCONSISTENCY for app1: cached=99, actual=1, diff=98
INFO [2026-09-22 20:51:20] Fixed connection count for app1: 99 -> 1
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'testapp' -> port 4001
INFO [2026-09-22 20:51:20] Proxy -> port 4000
INFO [2026-09-22 20:51:20] Management -> port 4002
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'testapp' -> port 5001
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'app1' -> port 5001
INFO [2026-09-22 20:51:20] App 'app2' -> port 5002
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'testapp' -> port 6001
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'app1' -> port 5000
INFO [2026-09-22 20:51:20] App 'app2' -> port 5001
INFO [2026-09-22 20:51:20] App 'app3' -> port 5002
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'app1' -> port 3840
INFO [2026-09-22 20:51:20] App 'app2' -> port 3841
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'app1' -> port 5001
INFO [2026-09-22 20:51:20] App 'app2' -> port 5002
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'app1' -> port 5000
INFO [2026-09-22 20:51:20] App 'app2' -> port 5001
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
INFO [2026-09-22 20:51:20] Port assignments:
INFO [2026-09-22 20:51:20] App 'default' -> port 5001
INFO [2026-09-22 20:51:20] App 'custom' -> port 5002
INFO [2026-09-22 20:51:20] Proxy -> port 3838
INFO [2026-09-22 20:51:20] Management -> port 3839
ERROR [2026-09-22 20:51:20] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-22 20:51:20] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-22 20:51:21] remove_ws_connection called with NULL session_id
ERROR [2026-09-22 20:51:21] Connection count INCONSISTENCY for app1: cached=999, actual=2, diff=997
INFO [2026-09-22 20:51:21] Fixed connection count for app1: 999 -> 2
INFO [2026-09-22 20:51:21] Shutdown requested via management API
ERROR [2026-09-22 20:51:21] Error generating management page: Template error
ERROR [2026-09-22 20:51:21] Error getting app status for management: Database connection error
INFO [2026-09-22 20:51:21] Restarting app: app1
INFO [2026-09-22 20:51:21] Starting app app1 on port 3001
INFO [2026-09-22 20:51:21] Detected traditional Shiny app for app1
INFO [2026-09-22 20:51:21] App app1 process started, checking readiness asynchronously
INFO [2026-09-22 20:51:21] Restarting app: app1
ERROR [2026-09-22 20:51:21] Failed to restart app app1: Kill failed
INFO [2026-09-22 20:51:21] Shutdown requested via management API
INFO [2026-09-22 20:51:21] Shutdown requested via management API
ERROR [2026-09-22 20:51:21] Error creating shutdown flag: cannot open the connection
INFO [2026-09-22 20:51:22] Shutdown requested via management API
INFO [2026-09-22 20:51:22] Cleaning stale client connection: s, app: app, last activity: 2026-09-22 19:51:22
INFO [2026-09-22 20:51:22] WebSocket connection closed for session s
INFO [2026-09-22 20:51:22] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-22 20:51:22] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-22 20:51:22] Stopping app: app
INFO [2026-09-22 20:51:22] Successfully stopped app app
INFO [2026-09-22 20:51:22] WebSocket connection closed for session s
INFO [2026-09-22 20:51:22] Cleaned up 1 stale connections
INFO [2026-09-22 20:51:22] WebSocket connection closed for session s
INFO [2026-09-22 20:51:22] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:22] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-22 20:51:22] Backend connection closed for app app
INFO [2026-09-22 20:51:22] WebSocket connection closed for session s
INFO [2026-09-22 20:51:22] WebSocket connection closed for session s
INFO [2026-09-22 20:51:22] Backend connection closed for app app
INFO [2026-09-22 20:51:22] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:22] Backend connection closed for app app
INFO [2026-09-22 20:51:22] Port assignments:
INFO [2026-09-22 20:51:22] App 'app' -> port 3001
INFO [2026-09-22 20:51:22] Proxy -> port 3838
INFO [2026-09-22 20:51:22] Management -> port 3839
INFO [2026-09-22 20:51:22] Tiny Shiny Server initialized
INFO [2026-09-22 20:51:22] Starting Tiny Shiny Server
INFO [2026-09-22 20:51:22] Press Ctrl-C to shutdown gracefully
INFO [2026-09-22 20:51:22] Starting resident applications...
INFO [2026-09-22 20:51:22] Starting monitoring services
INFO [2026-09-22 20:51:22] Starting proxy server on http://127.0.0.1:3838
INFO [2026-09-22 20:51:22] Starting management server on http://127.0.0.1:3839
INFO [2026-09-22 20:51:22] Shutting down Tiny Shiny Server...
INFO [2026-09-22 20:51:22] Proxy server stopped
INFO [2026-09-22 20:51:22] Server shutdown complete
INFO [2026-09-22 20:51:22] Cleaning stale backend connection: s, last activity: 2026-09-22 19:51:22
INFO [2026-09-22 20:51:22] WebSocket connection closed for session s
INFO [2026-09-22 20:51:22] Cleaned up 1 stale connections
INFO [2026-09-22 20:51:22] Stopping app: nonexistent
INFO [2026-09-22 20:51:22] Stopping app: app1
INFO [2026-09-22 20:51:22] Successfully stopped app app1
INFO [2026-09-22 20:51:22] Stopping app: app1
ERROR [2026-09-22 20:51:22] Cannot stop unknown app: nonexistent
INFO [2026-09-22 20:51:22] Immediately stopping non-resident app app1 (no active connections)
INFO [2026-09-22 20:51:22] Stopping app: app1
INFO [2026-09-22 20:51:22] Successfully stopped app app1
INFO [2026-09-22 20:51:22] Restarting app: app1
INFO [2026-09-22 20:51:22] Starting app app1 on port 3001
INFO [2026-09-22 20:51:22] Detected traditional Shiny app for app1
INFO [2026-09-22 20:51:22] App app1 process started, checking readiness asynchronously
INFO [2026-09-22 20:51:23] Restarting app: app1
ERROR [2026-09-22 20:51:23] Failed to restart app app1: Simulated kill error
ERROR [2026-09-22 20:51:23] Cannot start app on demand: nonexistent not found in configuration
INFO [2026-09-22 20:51:23] Starting app app1 on demand
INFO [2026-09-22 20:51:23] Starting app app1 on port 3001
INFO [2026-09-22 20:51:23] Detected traditional Shiny app for app1
INFO [2026-09-22 20:51:23] App app1 process started, checking readiness asynchronously
INFO [2026-09-22 20:51:23] Successfully initiated startup for app app1 on demand
INFO [2026-09-22 20:51:23] Cleaning stale backend connection: stale_backend, last activity: 2026-09-22 20:16:23
INFO [2026-09-22 20:51:23] Cleaning stale client connection: stale, app: app1, last activity: 2026-09-22 20:16:23
INFO [2026-09-22 20:51:23] WebSocket connection closed for session stale
INFO [2026-09-22 20:51:23] Cleaned up 2 stale connections
INFO [2026-09-22 20:51:23] Cleaning dead process for app dead_app
INFO [2026-09-22 20:51:23] Cleaned up 1 dead processes
INFO [2026-09-22 20:51:23] Cleaning dead process for app dead_app
INFO [2026-09-22 20:51:23] Cleaned up 1 dead processes
INFO [2026-09-22 20:51:23] Stopping all applications...
INFO [2026-09-22 20:51:23] Stopping app: app1
INFO [2026-09-22 20:51:23] Successfully stopped app app1
INFO [2026-09-22 20:51:23] Stopping app: app2
INFO [2026-09-22 20:51:23] Successfully stopped app app2
INFO [2026-09-22 20:51:23] All applications stopped
INFO [2026-09-22 20:51:23] Stopping all applications...
INFO [2026-09-22 20:51:23] All applications stopped
INFO [2026-09-22 20:51:23] Stopping all applications...
INFO [2026-09-22 20:51:23] All applications stopped
ERROR [2026-09-22 20:51:23] App app1 died, restarting
INFO [2026-09-22 20:51:23] Starting app app1 on port 3001
INFO [2026-09-22 20:51:23] Detected traditional Shiny app for app1
INFO [2026-09-22 20:51:23] App app1 process started, checking readiness asynchronously
ERROR [2026-09-22 20:51:23] App app1 died, restarting
INFO [2026-09-22 20:51:23] Non-resident app app1 died, will start on next request
INFO [2026-09-22 20:51:23] Resident app app1 not running, starting
INFO [2026-09-22 20:51:23] Starting app app1 on port 3001
INFO [2026-09-22 20:51:23] Detected traditional Shiny app for app1
INFO [2026-09-22 20:51:24] App app1 process started, checking readiness asynchronously
ERROR [2026-09-22 20:51:24] App app1 process died during startup
INFO [2026-09-22 20:51:24] App app1 is ready on port 3001 (attempt 1)
ERROR [2026-09-22 20:51:24] App app1 failed to become ready after 10 attempts
ERROR [2026-09-22 20:51:24] App app1 failed to become ready after 20 attempts
ERROR [2026-09-22 20:51:25] App app died, restarting
INFO [2026-09-22 20:51:25] Non-resident app app died, will start on next request
INFO [2026-09-22 20:51:26] Cleaning dead process for app app
INFO [2026-09-22 20:51:26] Cleaned up 1 dead processes
ERROR [2026-09-22 20:51:28] App app process died during startup
INFO [2026-09-22 20:51:29] Restarting app: app
INFO [2026-09-22 20:51:31] Stopping all applications...
INFO [2026-09-22 20:51:31] Stopping app: app
INFO [2026-09-22 20:51:31] Successfully stopped app app
INFO [2026-09-22 20:51:31] All applications stopped
INFO [2026-09-22 20:51:32] Starting app app on demand
INFO [2026-09-22 20:51:32] Successfully initiated startup for app app on demand
ERROR [2026-09-22 20:51:33] App app died, restarting
ERROR [2026-09-22 20:51:33] Error terminating process: cleanup failed
INFO [2026-09-22 20:51:33] Cleaning dead process for app app
ERROR [2026-09-22 20:51:33] Error terminating process: cleanup failed
ERROR [2026-09-22 20:51:33] App app process died during startup
ERROR [2026-09-22 20:51:33] Error terminating process: cleanup failed
INFO [2026-09-22 20:51:33] Restarting app: app
ERROR [2026-09-22 20:51:33] Error terminating process: cleanup failed
ERROR [2026-09-22 20:51:33] Error terminating process: cleanup failed
INFO [2026-09-22 20:51:33] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:33] WebSocket connection closed for session old
INFO [2026-09-22 20:51:33] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-22 20:51:33] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:33] WebSocket connection closed for session old
INFO [2026-09-22 20:51:33] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:33] Port assignments:
INFO [2026-09-22 20:51:33] App 'app' -> port 65535
INFO [2026-09-22 20:51:33] Proxy -> port 3838
INFO [2026-09-22 20:51:33] Management -> port 3839
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: app
INFO [2026-09-22 20:51:33] Starting non-resident app app on demand for WebSocket connection
INFO [2026-09-22 20:51:33] Starting app app on demand
INFO [2026-09-22 20:51:33] Successfully initiated startup for app app on demand
INFO [2026-09-22 20:51:33] App app is starting, closing WebSocket with retry message
INFO [2026-09-22 20:51:33] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-22 20:51:33] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-22 20:51:33] Stopping app: app
INFO [2026-09-22 20:51:33] Successfully stopped app app
INFO [2026-09-22 20:51:33] Restarting app: app
INFO [2026-09-22 20:51:33] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-22 20:51:33] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-22 20:51:33] Stopping app: app
INFO [2026-09-22 20:51:33] Successfully stopped app app
INFO [2026-09-22 20:51:33] Restarting app: app
INFO [2026-09-22 20:51:33] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-1
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-1
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-2
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-2
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-3
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-3
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-4
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-4
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-5
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-5
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-6
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-6
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-7
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-7
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-8
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-8
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-9
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-9
INFO [2026-09-22 20:51:33] WebSocket connection opened
INFO [2026-09-22 20:51:33] WebSocket routed to app: unknown-10
WARN [2026-09-22 20:51:33] Rejecting WebSocket for unknown app: unknown-10
INFO [2026-09-22 20:51:33] Starting non-resident app app on demand for HTTP request
INFO [2026-09-22 20:51:33] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-22 20:51:33] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:33] WebSocket connection closed for session s
INFO [2026-09-22 20:51:33] No WebSocket connections remain for non-resident app app, stopping immediately
ERROR [2026-09-22 20:51:33] App app died, restarting
INFO [2026-09-22 20:51:33] Non-resident app app died, will start on next request
INFO [2026-09-22 20:51:33] Starting app app on demand
INFO [2026-09-22 20:51:33] Successfully initiated startup for app app on demand
INFO [2026-09-22 20:51:33] Cleaning dead process for app app
INFO [2026-09-22 20:51:33] Cleaned up 1 dead processes
INFO [2026-09-22 20:51:33] Starting app app on demand
INFO [2026-09-22 20:51:33] Successfully initiated startup for app app on demand
INFO [2026-09-22 20:51:33] Stopping app: app
INFO [2026-09-22 20:51:33] Successfully stopped app app
INFO [2026-09-22 20:51:33] Starting app app on demand
INFO [2026-09-22 20:51:33] Successfully initiated startup for app app on demand
INFO [2026-09-22 20:51:34] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:34] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-22 20:51:34] Stopping app: app
INFO [2026-09-22 20:51:34] Restarting app: app
INFO [2026-09-22 20:51:34] Restarting app: app
ERROR [2026-09-22 20:51:34] App app1 process died during startup
INFO [2026-09-22 20:51:34] Restarting app: app
INFO [2026-09-22 20:51:34] Stopping app: app
INFO [2026-09-22 20:51:34] Restarting app: app
INFO [2026-09-22 20:51:34] Stopping all applications...
INFO [2026-09-22 20:51:34] All applications stopped
ERROR [2026-09-22 20:51:34] App app died, restarting
INFO [2026-09-22 20:51:36] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:36] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
ERROR [2026-09-22 20:51:36] Backend connection error for app app: Connection refused
INFO [2026-09-22 20:51:36] WebSocket connection closed for session s
INFO [2026-09-22 20:51:36] Backend connection closed for app app
INFO [2026-09-22 20:51:36] WebSocket connection closed for session s
ERROR [2026-09-22 20:51:36] Backend connection error for app app: Connection refused
INFO [2026-09-22 20:51:36] WebSocket connection added for app app from 127.0.0.1
ERROR [2026-09-22 20:51:36] Backend connection error for app app: Old error
INFO [2026-09-22 20:51:36] Resident app bad not running, starting
ERROR [2026-09-22 20:51:36] Health check failed for app bad: Resource temporarily unavailable
INFO [2026-09-22 20:51:36] Resident app next not running, starting
INFO [2026-09-22 20:51:36] Resident app bad not running, starting
INFO [2026-09-22 20:51:36] Tiny Shiny Server initialized
INFO [2026-09-22 20:51:36] Starting monitoring services
ERROR [2026-09-22 20:51:36] Health check failed: Unexpected failure
INFO [2026-09-22 20:51:37] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-22 20:51:37] WebSocket connection closed for session s
ERROR [2026-09-22 20:51:37] Error generating landing page: Template error
INFO [2026-09-22 20:51:38] Starting non-resident app myapp on demand for HTTP request
INFO [2026-09-22 20:51:38] Starting non-resident app myapp on demand for HTTP request
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1380 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-utils.R:141:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-async-proxy.R:33:1'): proxy preserves binary WebSocket frames before and after backend readiness ──
Error: invalid state
Backtrace:
▆
1. └─client$close()
2. └─websocket:::wsClose(private$wsObj, code, reason)
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1380 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard testthat setup for R packages.
> # It runs all tests in the tests/testthat/ directory.
>
> library(testthat)
> library(tinyshinyserver)
>
> test_check("tinyshinyserver")
INFO [2026-09-21 16:26:13] WebSocket connection opened
INFO [2026-09-21 16:26:13] WebSocket routed to app: app
INFO [2026-09-21 16:26:13] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:13] Connecting to backend: ws://127.0.0.1:34518/websocket/ for app app
INFO [2026-09-21 16:26:13] Backend connection opened for app
INFO [2026-09-21 16:26:13] Sending 1 pending messages for app app
INFO [2026-09-21 16:26:13] WebSocket connection opened
INFO [2026-09-21 16:26:13] WebSocket routed to app: app
INFO [2026-09-21 16:26:13] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:14] Connecting to backend: ws://127.0.0.1:34518/second.Rmd/websocket/?token=a%2Fb&n=1 for app app
INFO [2026-09-21 16:26:14] Backend connection opened for app
INFO [2026-09-21 16:26:14] Sending 1 pending messages for app app
INFO [2026-09-21 16:26:14] WebSocket connection opened
INFO [2026-09-21 16:26:14] WebSocket routed to app: app
INFO [2026-09-21 16:26:14] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:14] Connecting to backend: ws://127.0.0.1:34518/folder/doc.Rmd/websocket?x=1 for app app
INFO [2026-09-21 16:26:14] Backend connection opened for app
INFO [2026-09-21 16:26:14] Sending 1 pending messages for app app
[2026-09-21 16:26:14] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 16:26:14] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 16:26:14] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-21 16:26:14] WebSocket connection closed for session 72116e3cc96bbeefe6964efda34692591275d7dc15481f02f020bbad938603d7
INFO [2026-09-21 16:26:14] WebSocket connection closed for session 4861cf660d57760a5513fb3ac7086b4f0cda5b0c56eb17dab411a64f49bff688
INFO [2026-09-21 16:26:14] WebSocket connection closed for session 4bce39f3e9a3e42cf72ce9501aff66463d971998693badd930d9d57940e8cd5e
INFO [2026-09-21 16:26:14] Backend connection closed for app app
INFO [2026-09-21 16:26:14] Backend connection closed for app app
INFO [2026-09-21 16:26:14] Backend connection closed for app app
INFO [2026-09-21 16:26:14] WebSocket connection opened
INFO [2026-09-21 16:26:14] WebSocket routed to app: app
INFO [2026-09-21 16:26:14] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:14] Connecting to backend: ws://127.0.0.1:36404/websocket/ for app app
INFO [2026-09-21 16:26:14] Backend connection opened for app
INFO [2026-09-21 16:26:14] Sending 1 pending messages for app app
[2026-09-21 16:26:14] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 16:26:14] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
Saving _problems/test-async-proxy-64.R
INFO [2026-09-21 16:26:14] WebSocket connection closed for session 8cc5b306a6f9db5cd8da277931c1b4c4eacd32a25b718a2d259c51144b66dec0
INFO [2026-09-21 16:26:14] Backend connection closed for app app
[2026-09-21 16:26:15] [error] handle_read_frame error: asio.system:104 (Connection reset by peer)
ERROR [2026-09-21 16:26:16] Proxy error for app app: transfer failed
INFO [2026-09-21 16:26:16] App app is ready on port 48387 (attempt 1)
INFO [2026-09-21 16:26:16] WebSocket connection opened
INFO [2026-09-21 16:26:16] WebSocket routed to app: app
INFO [2026-09-21 16:26:16] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:16] Connecting to backend: ws://127.0.0.1:21404/websocket for app app
INFO [2026-09-21 16:26:16] Backend connection opened for app
INFO [2026-09-21 16:26:16] Sending 1 pending messages for app app
INFO [2026-09-21 16:26:17] Backend connection closed for app app
INFO [2026-09-21 16:26:17] WebSocket connection closed for session 65f21257dfeaca267e19d122687373509d1d12eae402f7401cd82e3186ba7be0
INFO [2026-09-21 16:26:17] WebSocket connection closed for session 65f21257dfeaca267e19d122687373509d1d12eae402f7401cd82e3186ba7be0
INFO [2026-09-21 16:26:17] WebSocket connection opened
INFO [2026-09-21 16:26:17] WebSocket routed to app: app
INFO [2026-09-21 16:26:17] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:17] Connecting to backend: ws://127.0.0.1:20790/websocket/ for app app
INFO [2026-09-21 16:26:17] Backend connection opened for app
INFO [2026-09-21 16:26:17] Sending 1 pending messages for app app
INFO [2026-09-21 16:26:17] WebSocket connection closed for session b9786011b13bb7bbcc0b79657b469f712498e4d9e498dffb74fda6eabe0648f7
INFO [2026-09-21 16:26:17] Backend connection closed for app app
INFO [2026-09-21 16:26:17] WebSocket connection opened
INFO [2026-09-21 16:26:17] WebSocket routed to app: app
INFO [2026-09-21 16:26:17] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:17] Connecting to backend: ws://127.0.0.1:20790/websocket/ for app app
INFO [2026-09-21 16:26:17] Backend connection opened for app
INFO [2026-09-21 16:26:17] Sending 1 pending messages for app app
INFO [2026-09-21 16:26:17] WebSocket connection closed for session 4c51eb6201296806bab9f79bef0b2be97e96f000da9d2e56b731c235f4d60c8c
INFO [2026-09-21 16:26:17] Backend connection closed for app app
INFO [2026-09-21 16:26:17] WebSocket connection opened
INFO [2026-09-21 16:26:17] WebSocket routed to app: app
INFO [2026-09-21 16:26:17] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:17] Connecting to backend: ws://127.0.0.1:20790/websocket/ for app app
INFO [2026-09-21 16:26:17] Backend connection opened for app
INFO [2026-09-21 16:26:17] Sending 1 pending messages for app app
[2026-09-21 16:26:17] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-21 16:26:17] WebSocket connection closed for session 0bf426beac1cb9953f3086573f5485f79d0ced2b6842ed1e14ac7cf6137d626b
INFO [2026-09-21 16:26:17] Backend connection closed for app app
INFO [2026-09-21 16:26:17] WebSocket connection opened
INFO [2026-09-21 16:26:17] WebSocket routed to app: app
INFO [2026-09-21 16:26:17] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:17] Connecting to backend: ws://127.0.0.1:45229/websocket/ for app app
[2026-09-21 16:26:17] [info] asio async_connect error: asio.system:111 (Connection refused)
[2026-09-21 16:26:17] [info] Error getting remote endpoint: asio.system:107 (Transport endpoint is not connected)
[2026-09-21 16:26:17] [error] handle_connect error: Connection refused
ERROR [2026-09-21 16:26:17] Backend connection error for app app: Connection refused
INFO [2026-09-21 16:26:17] WebSocket connection closed for session d77e043e57238afd8dd59c7e451a35d1ad04c0e4455ce0acebfce09d4e6eebc1
INFO [2026-09-21 16:26:17] WebSocket connection closed for session d77e043e57238afd8dd59c7e451a35d1ad04c0e4455ce0acebfce09d4e6eebc1
INFO [2026-09-21 16:26:17] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:17] WebSocket connection closed for session s
INFO [2026-09-21 16:26:18] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 16:26:18] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 16:26:18] Stopping app: app
INFO [2026-09-21 16:26:18] Successfully stopped app app
ERROR [2026-09-21 16:26:18] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 16:26:18] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 16:26:18] remove_ws_connection called with NULL session_id
ERROR [2026-09-21 16:26:18] Connection count INCONSISTENCY for app1: cached=10, actual=2, diff=8
ERROR [2026-09-21 16:26:18] Connection count INCONSISTENCY for app1: cached=99, actual=1, diff=98
INFO [2026-09-21 16:26:18] Fixed connection count for app1: 99 -> 1
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'testapp' -> port 4001
INFO [2026-09-21 16:26:19] Proxy -> port 4000
INFO [2026-09-21 16:26:19] Management -> port 4002
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'testapp' -> port 5001
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'app1' -> port 5001
INFO [2026-09-21 16:26:19] App 'app2' -> port 5002
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'testapp' -> port 6001
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'app1' -> port 5000
INFO [2026-09-21 16:26:19] App 'app2' -> port 5001
INFO [2026-09-21 16:26:19] App 'app3' -> port 5002
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'app1' -> port 3840
INFO [2026-09-21 16:26:19] App 'app2' -> port 3841
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'app1' -> port 5001
INFO [2026-09-21 16:26:19] App 'app2' -> port 5002
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'app1' -> port 5000
INFO [2026-09-21 16:26:19] App 'app2' -> port 5001
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
INFO [2026-09-21 16:26:19] Port assignments:
INFO [2026-09-21 16:26:19] App 'default' -> port 5001
INFO [2026-09-21 16:26:19] App 'custom' -> port 5002
INFO [2026-09-21 16:26:19] Proxy -> port 3838
INFO [2026-09-21 16:26:19] Management -> port 3839
ERROR [2026-09-21 16:26:19] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 16:26:19] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 16:26:19] remove_ws_connection called with NULL session_id
ERROR [2026-09-21 16:26:19] Connection count INCONSISTENCY for app1: cached=999, actual=2, diff=997
INFO [2026-09-21 16:26:19] Fixed connection count for app1: 999 -> 2
INFO [2026-09-21 16:26:20] Shutdown requested via management API
ERROR [2026-09-21 16:26:20] Error generating management page: Template error
ERROR [2026-09-21 16:26:20] Error getting app status for management: Database connection error
INFO [2026-09-21 16:26:20] Restarting app: app1
INFO [2026-09-21 16:26:20] Starting app app1 on port 3001
INFO [2026-09-21 16:26:20] Detected traditional Shiny app for app1
INFO [2026-09-21 16:26:20] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 16:26:20] Restarting app: app1
ERROR [2026-09-21 16:26:20] Failed to restart app app1: Kill failed
INFO [2026-09-21 16:26:20] Shutdown requested via management API
INFO [2026-09-21 16:26:20] Shutdown requested via management API
ERROR [2026-09-21 16:26:20] Error creating shutdown flag: cannot open the connection
INFO [2026-09-21 16:26:20] Shutdown requested via management API
INFO [2026-09-21 16:26:20] Cleaning stale client connection: s, app: app, last activity: 2026-09-21 15:26:20
INFO [2026-09-21 16:26:20] WebSocket connection closed for session s
INFO [2026-09-21 16:26:20] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 16:26:20] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 16:26:20] Stopping app: app
INFO [2026-09-21 16:26:20] Successfully stopped app app
INFO [2026-09-21 16:26:20] WebSocket connection closed for session s
INFO [2026-09-21 16:26:20] Cleaned up 1 stale connections
INFO [2026-09-21 16:26:21] WebSocket connection closed for session s
INFO [2026-09-21 16:26:21] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:21] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-21 16:26:21] Backend connection closed for app app
INFO [2026-09-21 16:26:21] WebSocket connection closed for session s
INFO [2026-09-21 16:26:21] WebSocket connection closed for session s
INFO [2026-09-21 16:26:21] Backend connection closed for app app
INFO [2026-09-21 16:26:21] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:21] Backend connection closed for app app
INFO [2026-09-21 16:26:21] Port assignments:
INFO [2026-09-21 16:26:21] App 'app' -> port 3001
INFO [2026-09-21 16:26:21] Proxy -> port 3838
INFO [2026-09-21 16:26:21] Management -> port 3839
INFO [2026-09-21 16:26:21] Tiny Shiny Server initialized
INFO [2026-09-21 16:26:21] Starting Tiny Shiny Server
INFO [2026-09-21 16:26:21] Press Ctrl-C to shutdown gracefully
INFO [2026-09-21 16:26:21] Starting resident applications...
INFO [2026-09-21 16:26:21] Starting monitoring services
INFO [2026-09-21 16:26:21] Starting proxy server on http://127.0.0.1:3838
INFO [2026-09-21 16:26:21] Starting management server on http://127.0.0.1:3839
INFO [2026-09-21 16:26:21] Shutting down Tiny Shiny Server...
INFO [2026-09-21 16:26:21] Proxy server stopped
INFO [2026-09-21 16:26:21] Server shutdown complete
INFO [2026-09-21 16:26:21] Cleaning stale backend connection: s, last activity: 2026-09-21 15:26:21
INFO [2026-09-21 16:26:21] WebSocket connection closed for session s
INFO [2026-09-21 16:26:21] Cleaned up 1 stale connections
INFO [2026-09-21 16:26:21] Stopping app: nonexistent
INFO [2026-09-21 16:26:21] Stopping app: app1
INFO [2026-09-21 16:26:21] Successfully stopped app app1
INFO [2026-09-21 16:26:21] Stopping app: app1
ERROR [2026-09-21 16:26:21] Cannot stop unknown app: nonexistent
INFO [2026-09-21 16:26:21] Immediately stopping non-resident app app1 (no active connections)
INFO [2026-09-21 16:26:21] Stopping app: app1
INFO [2026-09-21 16:26:21] Successfully stopped app app1
INFO [2026-09-21 16:26:21] Restarting app: app1
INFO [2026-09-21 16:26:21] Starting app app1 on port 3001
INFO [2026-09-21 16:26:21] Detected traditional Shiny app for app1
INFO [2026-09-21 16:26:21] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 16:26:21] Restarting app: app1
ERROR [2026-09-21 16:26:21] Failed to restart app app1: Simulated kill error
ERROR [2026-09-21 16:26:21] Cannot start app on demand: nonexistent not found in configuration
INFO [2026-09-21 16:26:21] Starting app app1 on demand
INFO [2026-09-21 16:26:21] Starting app app1 on port 3001
INFO [2026-09-21 16:26:21] Detected traditional Shiny app for app1
INFO [2026-09-21 16:26:21] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 16:26:21] Successfully initiated startup for app app1 on demand
INFO [2026-09-21 16:26:21] Cleaning stale backend connection: stale_backend, last activity: 2026-09-21 15:51:21
INFO [2026-09-21 16:26:21] Cleaning stale client connection: stale, app: app1, last activity: 2026-09-21 15:51:21
INFO [2026-09-21 16:26:21] WebSocket connection closed for session stale
INFO [2026-09-21 16:26:21] Cleaned up 2 stale connections
INFO [2026-09-21 16:26:21] Cleaning dead process for app dead_app
INFO [2026-09-21 16:26:21] Cleaned up 1 dead processes
INFO [2026-09-21 16:26:21] Cleaning dead process for app dead_app
INFO [2026-09-21 16:26:21] Cleaned up 1 dead processes
INFO [2026-09-21 16:26:21] Stopping all applications...
INFO [2026-09-21 16:26:21] Stopping app: app1
INFO [2026-09-21 16:26:21] Successfully stopped app app1
INFO [2026-09-21 16:26:21] Stopping app: app2
INFO [2026-09-21 16:26:21] Successfully stopped app app2
INFO [2026-09-21 16:26:21] All applications stopped
INFO [2026-09-21 16:26:22] Stopping all applications...
INFO [2026-09-21 16:26:22] All applications stopped
INFO [2026-09-21 16:26:22] Stopping all applications...
INFO [2026-09-21 16:26:22] All applications stopped
ERROR [2026-09-21 16:26:22] App app1 died, restarting
INFO [2026-09-21 16:26:22] Starting app app1 on port 3001
INFO [2026-09-21 16:26:22] Detected traditional Shiny app for app1
INFO [2026-09-21 16:26:22] App app1 process started, checking readiness asynchronously
ERROR [2026-09-21 16:26:22] App app1 died, restarting
INFO [2026-09-21 16:26:22] Non-resident app app1 died, will start on next request
INFO [2026-09-21 16:26:22] Resident app app1 not running, starting
INFO [2026-09-21 16:26:22] Starting app app1 on port 3001
INFO [2026-09-21 16:26:22] Detected traditional Shiny app for app1
INFO [2026-09-21 16:26:22] App app1 process started, checking readiness asynchronously
ERROR [2026-09-21 16:26:22] App app1 process died during startup
INFO [2026-09-21 16:26:22] App app1 is ready on port 3001 (attempt 1)
ERROR [2026-09-21 16:26:22] App app1 failed to become ready after 10 attempts
ERROR [2026-09-21 16:26:22] App app1 failed to become ready after 20 attempts
ERROR [2026-09-21 16:26:23] App app died, restarting
INFO [2026-09-21 16:26:23] Non-resident app app died, will start on next request
INFO [2026-09-21 16:26:24] Cleaning dead process for app app
INFO [2026-09-21 16:26:24] Cleaned up 1 dead processes
ERROR [2026-09-21 16:26:26] App app process died during startup
INFO [2026-09-21 16:26:27] Restarting app: app
INFO [2026-09-21 16:26:28] Stopping all applications...
INFO [2026-09-21 16:26:28] Stopping app: app
INFO [2026-09-21 16:26:28] Successfully stopped app app
INFO [2026-09-21 16:26:28] All applications stopped
INFO [2026-09-21 16:26:29] Starting app app on demand
INFO [2026-09-21 16:26:29] Successfully initiated startup for app app on demand
ERROR [2026-09-21 16:26:30] App app died, restarting
ERROR [2026-09-21 16:26:30] Error terminating process: cleanup failed
INFO [2026-09-21 16:26:30] Cleaning dead process for app app
ERROR [2026-09-21 16:26:30] Error terminating process: cleanup failed
ERROR [2026-09-21 16:26:30] App app process died during startup
ERROR [2026-09-21 16:26:30] Error terminating process: cleanup failed
INFO [2026-09-21 16:26:30] Restarting app: app
ERROR [2026-09-21 16:26:30] Error terminating process: cleanup failed
ERROR [2026-09-21 16:26:30] Error terminating process: cleanup failed
INFO [2026-09-21 16:26:30] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:30] WebSocket connection closed for session old
INFO [2026-09-21 16:26:30] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 16:26:30] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:30] WebSocket connection closed for session old
INFO [2026-09-21 16:26:30] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:30] Port assignments:
INFO [2026-09-21 16:26:30] App 'app' -> port 65535
INFO [2026-09-21 16:26:30] Proxy -> port 3838
INFO [2026-09-21 16:26:30] Management -> port 3839
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: app
INFO [2026-09-21 16:26:30] Starting non-resident app app on demand for WebSocket connection
INFO [2026-09-21 16:26:30] Starting app app on demand
INFO [2026-09-21 16:26:30] Successfully initiated startup for app app on demand
INFO [2026-09-21 16:26:30] App app is starting, closing WebSocket with retry message
INFO [2026-09-21 16:26:30] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 16:26:30] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 16:26:30] Stopping app: app
INFO [2026-09-21 16:26:30] Successfully stopped app app
INFO [2026-09-21 16:26:30] Restarting app: app
INFO [2026-09-21 16:26:30] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 16:26:30] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 16:26:30] Stopping app: app
INFO [2026-09-21 16:26:30] Successfully stopped app app
INFO [2026-09-21 16:26:30] Restarting app: app
INFO [2026-09-21 16:26:30] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-1
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-1
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-2
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-2
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-3
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-3
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-4
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-4
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-5
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-5
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-6
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-6
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-7
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-7
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-8
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-8
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-9
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-9
INFO [2026-09-21 16:26:30] WebSocket connection opened
INFO [2026-09-21 16:26:30] WebSocket routed to app: unknown-10
WARN [2026-09-21 16:26:30] Rejecting WebSocket for unknown app: unknown-10
INFO [2026-09-21 16:26:30] Starting non-resident app app on demand for HTTP request
INFO [2026-09-21 16:26:30] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 16:26:30] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:30] WebSocket connection closed for session s
INFO [2026-09-21 16:26:30] No WebSocket connections remain for non-resident app app, stopping immediately
ERROR [2026-09-21 16:26:30] App app died, restarting
INFO [2026-09-21 16:26:30] Non-resident app app died, will start on next request
INFO [2026-09-21 16:26:30] Starting app app on demand
INFO [2026-09-21 16:26:30] Successfully initiated startup for app app on demand
INFO [2026-09-21 16:26:30] Cleaning dead process for app app
INFO [2026-09-21 16:26:30] Cleaned up 1 dead processes
INFO [2026-09-21 16:26:30] Starting app app on demand
INFO [2026-09-21 16:26:30] Successfully initiated startup for app app on demand
INFO [2026-09-21 16:26:30] Stopping app: app
INFO [2026-09-21 16:26:30] Successfully stopped app app
INFO [2026-09-21 16:26:30] Starting app app on demand
INFO [2026-09-21 16:26:30] Successfully initiated startup for app app on demand
INFO [2026-09-21 16:26:30] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:30] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-21 16:26:30] Stopping app: app
INFO [2026-09-21 16:26:30] Restarting app: app
INFO [2026-09-21 16:26:30] Restarting app: app
ERROR [2026-09-21 16:26:30] App app1 process died during startup
INFO [2026-09-21 16:26:30] Restarting app: app
INFO [2026-09-21 16:26:30] Stopping app: app
INFO [2026-09-21 16:26:31] Restarting app: app
INFO [2026-09-21 16:26:31] Stopping all applications...
INFO [2026-09-21 16:26:31] All applications stopped
ERROR [2026-09-21 16:26:31] App app died, restarting
INFO [2026-09-21 16:26:32] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:32] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
ERROR [2026-09-21 16:26:32] Backend connection error for app app: Connection refused
INFO [2026-09-21 16:26:32] WebSocket connection closed for session s
INFO [2026-09-21 16:26:32] Backend connection closed for app app
INFO [2026-09-21 16:26:32] WebSocket connection closed for session s
ERROR [2026-09-21 16:26:32] Backend connection error for app app: Connection refused
INFO [2026-09-21 16:26:32] WebSocket connection added for app app from 127.0.0.1
ERROR [2026-09-21 16:26:32] Backend connection error for app app: Old error
INFO [2026-09-21 16:26:32] Resident app bad not running, starting
ERROR [2026-09-21 16:26:32] Health check failed for app bad: Resource temporarily unavailable
INFO [2026-09-21 16:26:32] Resident app next not running, starting
INFO [2026-09-21 16:26:32] Resident app bad not running, starting
INFO [2026-09-21 16:26:32] Tiny Shiny Server initialized
INFO [2026-09-21 16:26:32] Starting monitoring services
ERROR [2026-09-21 16:26:32] Health check failed: Unexpected failure
INFO [2026-09-21 16:26:32] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 16:26:33] WebSocket connection closed for session s
ERROR [2026-09-21 16:26:33] Error generating landing page: Template error
INFO [2026-09-21 16:26:33] Starting non-resident app myapp on demand for HTTP request
INFO [2026-09-21 16:26:33] Starting non-resident app myapp on demand for HTTP request
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1380 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-utils.R:141:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-async-proxy.R:33:1'): proxy preserves binary WebSocket frames before and after backend readiness ──
Error: invalid state
Backtrace:
▆
1. └─client$close()
2. └─websocket:::wsClose(private$wsObj, code, reason)
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1380 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard testthat setup for R packages.
> # It runs all tests in the tests/testthat/ directory.
>
> library(testthat)
> library(tinyshinyserver)
>
> test_check("tinyshinyserver")
INFO [2026-09-21 04:23:38] WebSocket connection opened
INFO [2026-09-21 04:23:38] WebSocket routed to app: app
INFO [2026-09-21 04:23:38] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:38] Connecting to backend: ws://127.0.0.1:24390/websocket/ for app app
INFO [2026-09-21 04:23:38] Backend connection opened for app
INFO [2026-09-21 04:23:38] Sending 1 pending messages for app app
INFO [2026-09-21 04:23:38] WebSocket connection opened
INFO [2026-09-21 04:23:38] WebSocket routed to app: app
INFO [2026-09-21 04:23:38] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:39] Connecting to backend: ws://127.0.0.1:24390/second.Rmd/websocket/?token=a%2Fb&n=1 for app app
INFO [2026-09-21 04:23:39] Backend connection opened for app
INFO [2026-09-21 04:23:39] Sending 1 pending messages for app app
INFO [2026-09-21 04:23:39] WebSocket connection opened
INFO [2026-09-21 04:23:39] WebSocket routed to app: app
INFO [2026-09-21 04:23:39] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:39] Connecting to backend: ws://127.0.0.1:24390/folder/doc.Rmd/websocket?x=1 for app app
INFO [2026-09-21 04:23:39] Backend connection opened for app
INFO [2026-09-21 04:23:39] Sending 1 pending messages for app app
[2026-09-21 04:23:39] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 04:23:39] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 04:23:39] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-21 04:23:39] WebSocket connection closed for session 6f96b987dd4c200df4bfaeaa08765a03b7b09ff014b34984b1433e9f914e697e
INFO [2026-09-21 04:23:39] WebSocket connection closed for session ff3b2284ac152c73b2a8fc0281658b1e61bc23cb440a5885d6ecae115b6a8af2
INFO [2026-09-21 04:23:39] WebSocket connection closed for session 1340506ba983d29622b5306bf5cacfe31df9718a38f3d9163a680933875ca297
INFO [2026-09-21 04:23:39] Backend connection closed for app app
INFO [2026-09-21 04:23:39] Backend connection closed for app app
INFO [2026-09-21 04:23:39] Backend connection closed for app app
INFO [2026-09-21 04:23:39] WebSocket connection opened
INFO [2026-09-21 04:23:39] WebSocket routed to app: app
INFO [2026-09-21 04:23:39] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:39] Connecting to backend: ws://127.0.0.1:29379/websocket/ for app app
INFO [2026-09-21 04:23:39] Backend connection opened for app
INFO [2026-09-21 04:23:39] Sending 1 pending messages for app app
[2026-09-21 04:23:39] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 04:23:39] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
Saving _problems/test-async-proxy-64.R
INFO [2026-09-21 04:23:39] Backend connection closed for app app
INFO [2026-09-21 04:23:39] WebSocket connection closed for session 6bd1e03b761fe73ccaceb0f83041a2142475403cce294f6b3f48698b0cb32e06
INFO [2026-09-21 04:23:39] WebSocket connection closed for session 6bd1e03b761fe73ccaceb0f83041a2142475403cce294f6b3f48698b0cb32e06
[2026-09-21 04:23:40] [error] handle_read_frame error: asio.system:104 (Connection reset by peer)
ERROR [2026-09-21 04:23:41] Proxy error for app app: transfer failed
INFO [2026-09-21 04:23:41] App app is ready on port 26277 (attempt 1)
INFO [2026-09-21 04:23:41] WebSocket connection opened
INFO [2026-09-21 04:23:41] WebSocket routed to app: app
INFO [2026-09-21 04:23:41] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:41] Connecting to backend: ws://127.0.0.1:47362/websocket for app app
INFO [2026-09-21 04:23:41] Backend connection opened for app
INFO [2026-09-21 04:23:41] Sending 1 pending messages for app app
INFO [2026-09-21 04:23:41] Backend connection closed for app app
INFO [2026-09-21 04:23:41] WebSocket connection closed for session 84a9bc1726e5f95632ec39d2584498f527ae209a56d1e678523b8f69773be893
INFO [2026-09-21 04:23:41] WebSocket connection closed for session 84a9bc1726e5f95632ec39d2584498f527ae209a56d1e678523b8f69773be893
INFO [2026-09-21 04:23:41] WebSocket connection opened
INFO [2026-09-21 04:23:41] WebSocket routed to app: app
INFO [2026-09-21 04:23:41] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:41] Connecting to backend: ws://127.0.0.1:20575/websocket/ for app app
INFO [2026-09-21 04:23:41] Backend connection opened for app
INFO [2026-09-21 04:23:41] Sending 1 pending messages for app app
INFO [2026-09-21 04:23:41] WebSocket connection closed for session d80a62021a3da47eee10a70960b39b682dfed835b684551749fb378a409e6d5f
INFO [2026-09-21 04:23:41] Backend connection closed for app app
INFO [2026-09-21 04:23:41] WebSocket connection opened
INFO [2026-09-21 04:23:41] WebSocket routed to app: app
INFO [2026-09-21 04:23:41] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:41] Connecting to backend: ws://127.0.0.1:20575/websocket/ for app app
INFO [2026-09-21 04:23:41] Backend connection opened for app
INFO [2026-09-21 04:23:41] Sending 1 pending messages for app app
INFO [2026-09-21 04:23:41] WebSocket connection closed for session c5f3ddd9dc7df5dd9b19f7e64ad8f932183639b870bccd5c6e506f3f465e7978
INFO [2026-09-21 04:23:41] WebSocket connection opened
INFO [2026-09-21 04:23:41] WebSocket routed to app: app
INFO [2026-09-21 04:23:41] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:41] Backend connection closed for app app
INFO [2026-09-21 04:23:41] Connecting to backend: ws://127.0.0.1:20575/websocket/ for app app
INFO [2026-09-21 04:23:42] Backend connection opened for app
INFO [2026-09-21 04:23:42] Sending 1 pending messages for app app
[2026-09-21 04:23:42] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-21 04:23:42] WebSocket connection closed for session c22420c3dbd0e222c32e56f32897c3098ff09f256c775451901b264bffada770
INFO [2026-09-21 04:23:42] Backend connection closed for app app
INFO [2026-09-21 04:23:42] WebSocket connection opened
INFO [2026-09-21 04:23:42] WebSocket routed to app: app
INFO [2026-09-21 04:23:42] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:42] Connecting to backend: ws://127.0.0.1:47762/websocket/ for app app
[2026-09-21 04:23:42] [info] asio async_connect error: asio.system:111 (Connection refused)
[2026-09-21 04:23:42] [info] Error getting remote endpoint: asio.system:107 (Transport endpoint is not connected)
ERROR [2026-09-21 04:23:42] Backend connection error for app app: Connection refused
INFO [2026-09-21 04:23:42] WebSocket connection closed for session 4de288078b3fc725cc2d50c6f74e91462ebd81219657ce78a43a85466d289836
[2026-09-21 04:23:42] [error] handle_connect error: Connection refused
INFO [2026-09-21 04:23:42] WebSocket connection closed for session 4de288078b3fc725cc2d50c6f74e91462ebd81219657ce78a43a85466d289836
INFO [2026-09-21 04:23:42] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:42] WebSocket connection closed for session s
INFO [2026-09-21 04:23:42] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 04:23:42] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 04:23:42] Stopping app: app
INFO [2026-09-21 04:23:42] Successfully stopped app app
ERROR [2026-09-21 04:23:43] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 04:23:43] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 04:23:43] remove_ws_connection called with NULL session_id
ERROR [2026-09-21 04:23:43] Connection count INCONSISTENCY for app1: cached=10, actual=2, diff=8
ERROR [2026-09-21 04:23:43] Connection count INCONSISTENCY for app1: cached=99, actual=1, diff=98
INFO [2026-09-21 04:23:43] Fixed connection count for app1: 99 -> 1
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'testapp' -> port 4001
INFO [2026-09-21 04:23:43] Proxy -> port 4000
INFO [2026-09-21 04:23:43] Management -> port 4002
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'testapp' -> port 5001
INFO [2026-09-21 04:23:43] Proxy -> port 3838
INFO [2026-09-21 04:23:43] Management -> port 3839
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'app1' -> port 5001
INFO [2026-09-21 04:23:43] App 'app2' -> port 5002
INFO [2026-09-21 04:23:43] Proxy -> port 3838
INFO [2026-09-21 04:23:43] Management -> port 3839
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'testapp' -> port 6001
INFO [2026-09-21 04:23:43] Proxy -> port 3838
INFO [2026-09-21 04:23:43] Management -> port 3839
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'app1' -> port 5000
INFO [2026-09-21 04:23:43] App 'app2' -> port 5001
INFO [2026-09-21 04:23:43] App 'app3' -> port 5002
INFO [2026-09-21 04:23:43] Proxy -> port 3838
INFO [2026-09-21 04:23:43] Management -> port 3839
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'app1' -> port 3840
INFO [2026-09-21 04:23:43] App 'app2' -> port 3841
INFO [2026-09-21 04:23:43] Proxy -> port 3838
INFO [2026-09-21 04:23:43] Management -> port 3839
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'app1' -> port 5001
INFO [2026-09-21 04:23:43] App 'app2' -> port 5002
INFO [2026-09-21 04:23:43] Proxy -> port 3838
INFO [2026-09-21 04:23:43] Management -> port 3839
INFO [2026-09-21 04:23:43] Port assignments:
INFO [2026-09-21 04:23:43] App 'app1' -> port 5000
INFO [2026-09-21 04:23:43] App 'app2' -> port 5001
INFO [2026-09-21 04:23:43] Proxy -> port 3838
INFO [2026-09-21 04:23:43] Management -> port 3839
INFO [2026-09-21 04:23:44] Port assignments:
INFO [2026-09-21 04:23:44] App 'default' -> port 5001
INFO [2026-09-21 04:23:44] App 'custom' -> port 5002
INFO [2026-09-21 04:23:44] Proxy -> port 3838
INFO [2026-09-21 04:23:44] Management -> port 3839
ERROR [2026-09-21 04:23:44] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 04:23:44] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 04:23:44] remove_ws_connection called with NULL session_id
ERROR [2026-09-21 04:23:44] Connection count INCONSISTENCY for app1: cached=999, actual=2, diff=997
INFO [2026-09-21 04:23:44] Fixed connection count for app1: 999 -> 2
INFO [2026-09-21 04:23:44] Shutdown requested via management API
ERROR [2026-09-21 04:23:44] Error generating management page: Template error
ERROR [2026-09-21 04:23:44] Error getting app status for management: Database connection error
INFO [2026-09-21 04:23:44] Restarting app: app1
INFO [2026-09-21 04:23:44] Starting app app1 on port 3001
INFO [2026-09-21 04:23:44] Detected traditional Shiny app for app1
INFO [2026-09-21 04:23:44] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 04:23:44] Restarting app: app1
ERROR [2026-09-21 04:23:44] Failed to restart app app1: Kill failed
INFO [2026-09-21 04:23:44] Shutdown requested via management API
INFO [2026-09-21 04:23:45] Shutdown requested via management API
ERROR [2026-09-21 04:23:45] Error creating shutdown flag: cannot open the connection
INFO [2026-09-21 04:23:45] Shutdown requested via management API
INFO [2026-09-21 04:23:45] Cleaning stale client connection: s, app: app, last activity: 2026-09-21 03:23:45
INFO [2026-09-21 04:23:45] WebSocket connection closed for session s
INFO [2026-09-21 04:23:45] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 04:23:45] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 04:23:45] Stopping app: app
INFO [2026-09-21 04:23:45] Successfully stopped app app
INFO [2026-09-21 04:23:45] WebSocket connection closed for session s
INFO [2026-09-21 04:23:45] Cleaned up 1 stale connections
INFO [2026-09-21 04:23:45] WebSocket connection closed for session s
INFO [2026-09-21 04:23:45] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:45] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-21 04:23:45] Backend connection closed for app app
INFO [2026-09-21 04:23:45] WebSocket connection closed for session s
INFO [2026-09-21 04:23:45] WebSocket connection closed for session s
INFO [2026-09-21 04:23:45] Backend connection closed for app app
INFO [2026-09-21 04:23:45] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:45] Backend connection closed for app app
INFO [2026-09-21 04:23:45] Port assignments:
INFO [2026-09-21 04:23:45] App 'app' -> port 3001
INFO [2026-09-21 04:23:45] Proxy -> port 3838
INFO [2026-09-21 04:23:45] Management -> port 3839
INFO [2026-09-21 04:23:45] Tiny Shiny Server initialized
INFO [2026-09-21 04:23:45] Starting Tiny Shiny Server
INFO [2026-09-21 04:23:45] Press Ctrl-C to shutdown gracefully
INFO [2026-09-21 04:23:45] Starting resident applications...
INFO [2026-09-21 04:23:45] Starting monitoring services
INFO [2026-09-21 04:23:45] Starting proxy server on http://127.0.0.1:3838
INFO [2026-09-21 04:23:45] Starting management server on http://127.0.0.1:3839
INFO [2026-09-21 04:23:45] Shutting down Tiny Shiny Server...
INFO [2026-09-21 04:23:45] Proxy server stopped
INFO [2026-09-21 04:23:45] Server shutdown complete
INFO [2026-09-21 04:23:45] Cleaning stale backend connection: s, last activity: 2026-09-21 03:23:45
INFO [2026-09-21 04:23:45] WebSocket connection closed for session s
INFO [2026-09-21 04:23:45] Cleaned up 1 stale connections
INFO [2026-09-21 04:23:45] Stopping app: nonexistent
INFO [2026-09-21 04:23:45] Stopping app: app1
INFO [2026-09-21 04:23:45] Successfully stopped app app1
INFO [2026-09-21 04:23:45] Stopping app: app1
ERROR [2026-09-21 04:23:45] Cannot stop unknown app: nonexistent
INFO [2026-09-21 04:23:45] Immediately stopping non-resident app app1 (no active connections)
INFO [2026-09-21 04:23:45] Stopping app: app1
INFO [2026-09-21 04:23:45] Successfully stopped app app1
INFO [2026-09-21 04:23:45] Restarting app: app1
INFO [2026-09-21 04:23:45] Starting app app1 on port 3001
INFO [2026-09-21 04:23:45] Detected traditional Shiny app for app1
INFO [2026-09-21 04:23:45] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 04:23:46] Restarting app: app1
ERROR [2026-09-21 04:23:46] Failed to restart app app1: Simulated kill error
ERROR [2026-09-21 04:23:46] Cannot start app on demand: nonexistent not found in configuration
INFO [2026-09-21 04:23:46] Starting app app1 on demand
INFO [2026-09-21 04:23:46] Starting app app1 on port 3001
INFO [2026-09-21 04:23:46] Detected traditional Shiny app for app1
INFO [2026-09-21 04:23:46] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 04:23:46] Successfully initiated startup for app app1 on demand
INFO [2026-09-21 04:23:46] Cleaning stale backend connection: stale_backend, last activity: 2026-09-21 03:48:46
INFO [2026-09-21 04:23:46] Cleaning stale client connection: stale, app: app1, last activity: 2026-09-21 03:48:46
INFO [2026-09-21 04:23:46] WebSocket connection closed for session stale
INFO [2026-09-21 04:23:46] Cleaned up 2 stale connections
INFO [2026-09-21 04:23:46] Cleaning dead process for app dead_app
INFO [2026-09-21 04:23:46] Cleaned up 1 dead processes
INFO [2026-09-21 04:23:46] Cleaning dead process for app dead_app
INFO [2026-09-21 04:23:46] Cleaned up 1 dead processes
INFO [2026-09-21 04:23:46] Stopping all applications...
INFO [2026-09-21 04:23:46] Stopping app: app1
INFO [2026-09-21 04:23:46] Successfully stopped app app1
INFO [2026-09-21 04:23:46] Stopping app: app2
INFO [2026-09-21 04:23:46] Successfully stopped app app2
INFO [2026-09-21 04:23:46] All applications stopped
INFO [2026-09-21 04:23:46] Stopping all applications...
INFO [2026-09-21 04:23:46] All applications stopped
INFO [2026-09-21 04:23:46] Stopping all applications...
INFO [2026-09-21 04:23:46] All applications stopped
ERROR [2026-09-21 04:23:46] App app1 died, restarting
INFO [2026-09-21 04:23:46] Starting app app1 on port 3001
INFO [2026-09-21 04:23:46] Detected traditional Shiny app for app1
INFO [2026-09-21 04:23:46] App app1 process started, checking readiness asynchronously
ERROR [2026-09-21 04:23:46] App app1 died, restarting
INFO [2026-09-21 04:23:46] Non-resident app app1 died, will start on next request
INFO [2026-09-21 04:23:46] Resident app app1 not running, starting
INFO [2026-09-21 04:23:46] Starting app app1 on port 3001
INFO [2026-09-21 04:23:46] Detected traditional Shiny app for app1
INFO [2026-09-21 04:23:46] App app1 process started, checking readiness asynchronously
ERROR [2026-09-21 04:23:46] App app1 process died during startup
INFO [2026-09-21 04:23:46] App app1 is ready on port 3001 (attempt 1)
ERROR [2026-09-21 04:23:47] App app1 failed to become ready after 10 attempts
ERROR [2026-09-21 04:23:47] App app1 failed to become ready after 20 attempts
ERROR [2026-09-21 04:23:47] App app died, restarting
INFO [2026-09-21 04:23:47] Non-resident app app died, will start on next request
INFO [2026-09-21 04:23:48] Cleaning dead process for app app
INFO [2026-09-21 04:23:48] Cleaned up 1 dead processes
ERROR [2026-09-21 04:23:50] App app process died during startup
INFO [2026-09-21 04:23:51] Restarting app: app
INFO [2026-09-21 04:23:52] Stopping all applications...
INFO [2026-09-21 04:23:52] Stopping app: app
INFO [2026-09-21 04:23:52] Successfully stopped app app
INFO [2026-09-21 04:23:52] All applications stopped
INFO [2026-09-21 04:23:53] Starting app app on demand
INFO [2026-09-21 04:23:53] Successfully initiated startup for app app on demand
ERROR [2026-09-21 04:23:53] App app died, restarting
ERROR [2026-09-21 04:23:53] Error terminating process: cleanup failed
INFO [2026-09-21 04:23:53] Cleaning dead process for app app
ERROR [2026-09-21 04:23:53] Error terminating process: cleanup failed
ERROR [2026-09-21 04:23:53] App app process died during startup
ERROR [2026-09-21 04:23:53] Error terminating process: cleanup failed
INFO [2026-09-21 04:23:53] Restarting app: app
ERROR [2026-09-21 04:23:53] Error terminating process: cleanup failed
ERROR [2026-09-21 04:23:53] Error terminating process: cleanup failed
INFO [2026-09-21 04:23:53] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:53] WebSocket connection closed for session old
INFO [2026-09-21 04:23:53] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 04:23:53] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:53] WebSocket connection closed for session old
INFO [2026-09-21 04:23:53] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:53] Port assignments:
INFO [2026-09-21 04:23:53] App 'app' -> port 65535
INFO [2026-09-21 04:23:53] Proxy -> port 3838
INFO [2026-09-21 04:23:53] Management -> port 3839
INFO [2026-09-21 04:23:53] WebSocket connection opened
INFO [2026-09-21 04:23:53] WebSocket routed to app: app
INFO [2026-09-21 04:23:53] Starting non-resident app app on demand for WebSocket connection
INFO [2026-09-21 04:23:53] Starting app app on demand
INFO [2026-09-21 04:23:53] Successfully initiated startup for app app on demand
INFO [2026-09-21 04:23:53] App app is starting, closing WebSocket with retry message
INFO [2026-09-21 04:23:53] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 04:23:53] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 04:23:53] Stopping app: app
INFO [2026-09-21 04:23:53] Successfully stopped app app
INFO [2026-09-21 04:23:53] Restarting app: app
INFO [2026-09-21 04:23:53] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 04:23:53] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 04:23:53] Stopping app: app
INFO [2026-09-21 04:23:53] Successfully stopped app app
INFO [2026-09-21 04:23:53] Restarting app: app
INFO [2026-09-21 04:23:53] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-1
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-1
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-2
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-2
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-3
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-3
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-4
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-4
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-5
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-5
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-6
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-6
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-7
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-7
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-8
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-8
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-9
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-9
INFO [2026-09-21 04:23:54] WebSocket connection opened
INFO [2026-09-21 04:23:54] WebSocket routed to app: unknown-10
WARN [2026-09-21 04:23:54] Rejecting WebSocket for unknown app: unknown-10
INFO [2026-09-21 04:23:54] Starting non-resident app app on demand for HTTP request
INFO [2026-09-21 04:23:54] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 04:23:54] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:54] WebSocket connection closed for session s
INFO [2026-09-21 04:23:54] No WebSocket connections remain for non-resident app app, stopping immediately
ERROR [2026-09-21 04:23:54] App app died, restarting
INFO [2026-09-21 04:23:54] Non-resident app app died, will start on next request
INFO [2026-09-21 04:23:54] Starting app app on demand
INFO [2026-09-21 04:23:54] Successfully initiated startup for app app on demand
INFO [2026-09-21 04:23:54] Cleaning dead process for app app
INFO [2026-09-21 04:23:54] Cleaned up 1 dead processes
INFO [2026-09-21 04:23:54] Starting app app on demand
INFO [2026-09-21 04:23:54] Successfully initiated startup for app app on demand
INFO [2026-09-21 04:23:54] Stopping app: app
INFO [2026-09-21 04:23:54] Successfully stopped app app
INFO [2026-09-21 04:23:54] Starting app app on demand
INFO [2026-09-21 04:23:54] Successfully initiated startup for app app on demand
INFO [2026-09-21 04:23:54] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:54] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-21 04:23:54] Stopping app: app
INFO [2026-09-21 04:23:54] Restarting app: app
INFO [2026-09-21 04:23:54] Restarting app: app
ERROR [2026-09-21 04:23:54] App app1 process died during startup
INFO [2026-09-21 04:23:54] Restarting app: app
INFO [2026-09-21 04:23:54] Stopping app: app
INFO [2026-09-21 04:23:54] Restarting app: app
INFO [2026-09-21 04:23:54] Stopping all applications...
INFO [2026-09-21 04:23:54] All applications stopped
ERROR [2026-09-21 04:23:54] App app died, restarting
INFO [2026-09-21 04:23:56] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:56] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
ERROR [2026-09-21 04:23:56] Backend connection error for app app: Connection refused
INFO [2026-09-21 04:23:56] WebSocket connection closed for session s
INFO [2026-09-21 04:23:56] Backend connection closed for app app
INFO [2026-09-21 04:23:56] WebSocket connection closed for session s
ERROR [2026-09-21 04:23:56] Backend connection error for app app: Connection refused
INFO [2026-09-21 04:23:56] WebSocket connection added for app app from 127.0.0.1
ERROR [2026-09-21 04:23:56] Backend connection error for app app: Old error
INFO [2026-09-21 04:23:56] Resident app bad not running, starting
ERROR [2026-09-21 04:23:56] Health check failed for app bad: Resource temporarily unavailable
INFO [2026-09-21 04:23:56] Resident app next not running, starting
INFO [2026-09-21 04:23:56] Resident app bad not running, starting
INFO [2026-09-21 04:23:56] Tiny Shiny Server initialized
INFO [2026-09-21 04:23:56] Starting monitoring services
ERROR [2026-09-21 04:23:56] Health check failed: Unexpected failure
INFO [2026-09-21 04:23:56] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 04:23:56] WebSocket connection closed for session s
ERROR [2026-09-21 04:23:56] Error generating landing page: Template error
INFO [2026-09-21 04:23:56] Starting non-resident app myapp on demand for HTTP request
INFO [2026-09-21 04:23:56] Starting non-resident app myapp on demand for HTTP request
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1380 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-utils.R:141:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-async-proxy.R:33:1'): proxy preserves binary WebSocket frames before and after backend readiness ──
Error: invalid state
Backtrace:
▆
1. └─client$close()
2. └─websocket:::wsClose(private$wsObj, code, reason)
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1380 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc