Last updated on 2026-09-22 03:52:16 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 6.74 | 70.94 | 77.68 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 5.02 | 55.93 | 60.95 | 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-21 20:52:34] WebSocket connection opened
INFO [2026-09-21 20:52:34] WebSocket routed to app: app
INFO [2026-09-21 20:52:34] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:34] Connecting to backend: ws://127.0.0.1:24442/websocket/ for app app
INFO [2026-09-21 20:52:34] Backend connection opened for app
INFO [2026-09-21 20:52:34] Sending 1 pending messages for app app
INFO [2026-09-21 20:52:34] WebSocket connection opened
INFO [2026-09-21 20:52:34] WebSocket routed to app: app
INFO [2026-09-21 20:52:34] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:34] Connecting to backend: ws://127.0.0.1:24442/second.Rmd/websocket/?token=a%2Fb&n=1 for app app
INFO [2026-09-21 20:52:34] Backend connection opened for app
INFO [2026-09-21 20:52:34] Sending 1 pending messages for app app
INFO [2026-09-21 20:52:34] WebSocket connection opened
INFO [2026-09-21 20:52:34] WebSocket routed to app: app
INFO [2026-09-21 20:52:34] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:34] Connecting to backend: ws://127.0.0.1:24442/folder/doc.Rmd/websocket?x=1 for app app
INFO [2026-09-21 20:52:34] Backend connection opened for app
INFO [2026-09-21 20:52:34] Sending 1 pending messages for app app
[2026-09-21 20:52:34] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 20:52:34] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
[2026-09-21 20:52:34] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-21 20:52:34] WebSocket connection closed for session 25d971431a5d7c0f9a7741cf9134ea20fc4e8003301924af27f33f1a8a826bfa
INFO [2026-09-21 20:52:34] WebSocket connection closed for session fe27238d8b8d32ded59600f83593178565fb4825976fe0bad18f9e611f6cfafe
INFO [2026-09-21 20:52:34] WebSocket connection closed for session 398af3b00e7f9f56d2159bffe86c312f72cc02cacd55a2726ffdcf42bea3c099
INFO [2026-09-21 20:52:34] Backend connection closed for app app
INFO [2026-09-21 20:52:34] Backend connection closed for app app
INFO [2026-09-21 20:52:34] Backend connection closed for app app
INFO [2026-09-21 20:52:34] WebSocket connection opened
INFO [2026-09-21 20:52:34] WebSocket routed to app: app
INFO [2026-09-21 20:52:34] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:34] Connecting to backend: ws://127.0.0.1:40370/websocket/ for app app
INFO [2026-09-21 20:52:34] Backend connection opened for app
INFO [2026-09-21 20:52:34] Sending 1 pending messages for app app
[2026-09-21 20:52:34] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-21 20:52:35] WebSocket connection closed for session c2ff0704340d7ec8c86e5128a112e561e97034add628389bd856ddc9343eed98
INFO [2026-09-21 20:52:35] Backend connection closed for app app
[2026-09-21 20:52:36] [error] handle_read_frame error: asio.system:104 (Connection reset by peer)
ERROR [2026-09-21 20:52:37] Proxy error for app app: transfer failed
INFO [2026-09-21 20:52:37] App app is ready on port 27679 (attempt 1)
INFO [2026-09-21 20:52:37] WebSocket connection opened
INFO [2026-09-21 20:52:37] WebSocket routed to app: app
INFO [2026-09-21 20:52:37] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:37] Connecting to backend: ws://127.0.0.1:40484/websocket for app app
INFO [2026-09-21 20:52:37] Backend connection opened for app
INFO [2026-09-21 20:52:37] Sending 1 pending messages for app app
INFO [2026-09-21 20:52:37] Backend connection closed for app app
INFO [2026-09-21 20:52:37] WebSocket connection closed for session 27d357893a41b73feb046843bd5715f1923ccc094df1842db9aa9de72a6dca49
INFO [2026-09-21 20:52:37] WebSocket connection closed for session 27d357893a41b73feb046843bd5715f1923ccc094df1842db9aa9de72a6dca49
INFO [2026-09-21 20:52:38] WebSocket connection opened
INFO [2026-09-21 20:52:38] WebSocket routed to app: app
INFO [2026-09-21 20:52:38] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:38] Connecting to backend: ws://127.0.0.1:47009/websocket/ for app app
INFO [2026-09-21 20:52:38] Backend connection opened for app
INFO [2026-09-21 20:52:38] Sending 1 pending messages for app app
INFO [2026-09-21 20:52:38] WebSocket connection closed for session 6919f7d942a3473dfc7469d35ad0795d74103f6a0f862dc84b1da3f671c14633
INFO [2026-09-21 20:52:38] Backend connection closed for app app
INFO [2026-09-21 20:52:38] WebSocket connection opened
INFO [2026-09-21 20:52:38] WebSocket routed to app: app
INFO [2026-09-21 20:52:38] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:38] Connecting to backend: ws://127.0.0.1:47009/websocket/ for app app
INFO [2026-09-21 20:52:38] Backend connection opened for app
INFO [2026-09-21 20:52:38] Sending 1 pending messages for app app
INFO [2026-09-21 20:52:38] WebSocket connection closed for session 716803926027ed2ba9e184d682e1561b8849fbc9786f4a80c30a65541cd8937e
INFO [2026-09-21 20:52:38] Backend connection closed for app app
INFO [2026-09-21 20:52:38] WebSocket connection opened
INFO [2026-09-21 20:52:38] WebSocket routed to app: app
INFO [2026-09-21 20:52:38] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:38] Connecting to backend: ws://127.0.0.1:47009/websocket/ for app app
INFO [2026-09-21 20:52:38] Backend connection opened for app
INFO [2026-09-21 20:52:38] Sending 1 pending messages for app app
[2026-09-21 20:52:38] [error] handle_read_frame error: websocketpp.transport:7 (End of File)
INFO [2026-09-21 20:52:38] Backend connection closed for app app
INFO [2026-09-21 20:52:38] WebSocket connection closed for session 89408063d57b9381e07e48d9bb0a3e58c4c2419a1349ec340611f5a34d61732d
INFO [2026-09-21 20:52:38] WebSocket connection closed for session 89408063d57b9381e07e48d9bb0a3e58c4c2419a1349ec340611f5a34d61732d
INFO [2026-09-21 20:52:38] WebSocket connection opened
INFO [2026-09-21 20:52:38] WebSocket routed to app: app
INFO [2026-09-21 20:52:38] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:38] Connecting to backend: ws://127.0.0.1:40625/websocket/ for app app
[2026-09-21 20:52:38] [info] asio async_connect error: asio.system:111 (Connection refused)
[2026-09-21 20:52:38] [info] Error getting remote endpoint: asio.system:107 (Transport endpoint is not connected)
[2026-09-21 20:52:38] [error] handle_connect error: Connection refused
ERROR [2026-09-21 20:52:38] Backend connection error for app app: Connection refused
INFO [2026-09-21 20:52:38] WebSocket connection closed for session 2fd9caca6f2077b879cf5198082f71696f3fc89c3c4e51271f44e825023b4de5
INFO [2026-09-21 20:52:38] WebSocket connection closed for session 2fd9caca6f2077b879cf5198082f71696f3fc89c3c4e51271f44e825023b4de5
INFO [2026-09-21 20:52:38] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:38] WebSocket connection closed for session s
INFO [2026-09-21 20:52:38] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 20:52:38] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 20:52:38] Stopping app: app
INFO [2026-09-21 20:52:38] Successfully stopped app app
ERROR [2026-09-21 20:52:39] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 20:52:39] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 20:52:39] remove_ws_connection called with NULL session_id
ERROR [2026-09-21 20:52:39] Connection count INCONSISTENCY for app1: cached=10, actual=2, diff=8
ERROR [2026-09-21 20:52:39] Connection count INCONSISTENCY for app1: cached=99, actual=1, diff=98
INFO [2026-09-21 20:52:39] Fixed connection count for app1: 99 -> 1
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'testapp' -> port 4001
INFO [2026-09-21 20:52:40] Proxy -> port 4000
INFO [2026-09-21 20:52:40] Management -> port 4002
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'testapp' -> port 5001
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'app1' -> port 5001
INFO [2026-09-21 20:52:40] App 'app2' -> port 5002
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'testapp' -> port 6001
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'app1' -> port 5000
INFO [2026-09-21 20:52:40] App 'app2' -> port 5001
INFO [2026-09-21 20:52:40] App 'app3' -> port 5002
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'app1' -> port 3840
INFO [2026-09-21 20:52:40] App 'app2' -> port 3841
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'app1' -> port 5001
INFO [2026-09-21 20:52:40] App 'app2' -> port 5002
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'app1' -> port 5000
INFO [2026-09-21 20:52:40] App 'app2' -> port 5001
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
INFO [2026-09-21 20:52:40] Port assignments:
INFO [2026-09-21 20:52:40] App 'default' -> port 5001
INFO [2026-09-21 20:52:40] App 'custom' -> port 5002
INFO [2026-09-21 20:52:40] Proxy -> port 3838
INFO [2026-09-21 20:52:40] Management -> port 3839
ERROR [2026-09-21 20:52:41] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 20:52:41] add_ws_connection called with NULL session_id or connection_info
ERROR [2026-09-21 20:52:41] remove_ws_connection called with NULL session_id
ERROR [2026-09-21 20:52:41] Connection count INCONSISTENCY for app1: cached=999, actual=2, diff=997
INFO [2026-09-21 20:52:41] Fixed connection count for app1: 999 -> 2
INFO [2026-09-21 20:52:41] Shutdown requested via management API
ERROR [2026-09-21 20:52:41] Error generating management page: Template error
ERROR [2026-09-21 20:52:41] Error getting app status for management: Database connection error
INFO [2026-09-21 20:52:41] Restarting app: app1
INFO [2026-09-21 20:52:41] Starting app app1 on port 3001
INFO [2026-09-21 20:52:41] Detected traditional Shiny app for app1
INFO [2026-09-21 20:52:41] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 20:52:42] Restarting app: app1
ERROR [2026-09-21 20:52:42] Failed to restart app app1: Kill failed
INFO [2026-09-21 20:52:42] Shutdown requested via management API
INFO [2026-09-21 20:52:42] Shutdown requested via management API
ERROR [2026-09-21 20:52:42] Error creating shutdown flag: cannot open the connection
INFO [2026-09-21 20:52:42] Shutdown requested via management API
INFO [2026-09-21 20:52:42] Cleaning stale client connection: s, app: app, last activity: 2026-09-21 19:52:42
INFO [2026-09-21 20:52:42] WebSocket connection closed for session s
INFO [2026-09-21 20:52:42] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 20:52:42] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 20:52:42] Stopping app: app
INFO [2026-09-21 20:52:42] Successfully stopped app app
INFO [2026-09-21 20:52:42] WebSocket connection closed for session s
INFO [2026-09-21 20:52:42] Cleaned up 1 stale connections
INFO [2026-09-21 20:52:42] WebSocket connection closed for session s
INFO [2026-09-21 20:52:42] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:42] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-21 20:52:42] Backend connection closed for app app
INFO [2026-09-21 20:52:42] WebSocket connection closed for session s
INFO [2026-09-21 20:52:42] WebSocket connection closed for session s
INFO [2026-09-21 20:52:42] Backend connection closed for app app
INFO [2026-09-21 20:52:42] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:42] Backend connection closed for app app
INFO [2026-09-21 20:52:42] Port assignments:
INFO [2026-09-21 20:52:42] App 'app' -> port 3001
INFO [2026-09-21 20:52:42] Proxy -> port 3838
INFO [2026-09-21 20:52:42] Management -> port 3839
INFO [2026-09-21 20:52:42] Tiny Shiny Server initialized
INFO [2026-09-21 20:52:42] Starting Tiny Shiny Server
INFO [2026-09-21 20:52:42] Press Ctrl-C to shutdown gracefully
INFO [2026-09-21 20:52:42] Starting resident applications...
INFO [2026-09-21 20:52:42] Starting monitoring services
INFO [2026-09-21 20:52:42] Starting proxy server on http://127.0.0.1:3838
INFO [2026-09-21 20:52:42] Starting management server on http://127.0.0.1:3839
INFO [2026-09-21 20:52:42] Shutting down Tiny Shiny Server...
INFO [2026-09-21 20:52:42] Proxy server stopped
INFO [2026-09-21 20:52:42] Server shutdown complete
INFO [2026-09-21 20:52:42] Cleaning stale backend connection: s, last activity: 2026-09-21 19:52:42
INFO [2026-09-21 20:52:42] WebSocket connection closed for session s
INFO [2026-09-21 20:52:42] Cleaned up 1 stale connections
INFO [2026-09-21 20:52:43] Stopping app: nonexistent
INFO [2026-09-21 20:52:43] Stopping app: app1
INFO [2026-09-21 20:52:43] Successfully stopped app app1
INFO [2026-09-21 20:52:43] Stopping app: app1
ERROR [2026-09-21 20:52:43] Cannot stop unknown app: nonexistent
INFO [2026-09-21 20:52:43] Immediately stopping non-resident app app1 (no active connections)
INFO [2026-09-21 20:52:43] Stopping app: app1
INFO [2026-09-21 20:52:43] Successfully stopped app app1
INFO [2026-09-21 20:52:43] Restarting app: app1
INFO [2026-09-21 20:52:43] Starting app app1 on port 3001
INFO [2026-09-21 20:52:43] Detected traditional Shiny app for app1
INFO [2026-09-21 20:52:43] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 20:52:43] Restarting app: app1
ERROR [2026-09-21 20:52:43] Failed to restart app app1: Simulated kill error
ERROR [2026-09-21 20:52:43] Cannot start app on demand: nonexistent not found in configuration
INFO [2026-09-21 20:52:43] Starting app app1 on demand
INFO [2026-09-21 20:52:43] Starting app app1 on port 3001
INFO [2026-09-21 20:52:43] Detected traditional Shiny app for app1
INFO [2026-09-21 20:52:43] App app1 process started, checking readiness asynchronously
INFO [2026-09-21 20:52:43] Successfully initiated startup for app app1 on demand
INFO [2026-09-21 20:52:43] Cleaning stale backend connection: stale_backend, last activity: 2026-09-21 20:17:43
INFO [2026-09-21 20:52:43] Cleaning stale client connection: stale, app: app1, last activity: 2026-09-21 20:17:43
INFO [2026-09-21 20:52:43] WebSocket connection closed for session stale
INFO [2026-09-21 20:52:43] Cleaned up 2 stale connections
INFO [2026-09-21 20:52:43] Cleaning dead process for app dead_app
INFO [2026-09-21 20:52:43] Cleaned up 1 dead processes
INFO [2026-09-21 20:52:44] Cleaning dead process for app dead_app
INFO [2026-09-21 20:52:44] Cleaned up 1 dead processes
INFO [2026-09-21 20:52:44] Stopping all applications...
INFO [2026-09-21 20:52:44] Stopping app: app1
INFO [2026-09-21 20:52:44] Successfully stopped app app1
INFO [2026-09-21 20:52:44] Stopping app: app2
INFO [2026-09-21 20:52:44] Successfully stopped app app2
INFO [2026-09-21 20:52:44] All applications stopped
INFO [2026-09-21 20:52:44] Stopping all applications...
INFO [2026-09-21 20:52:44] All applications stopped
INFO [2026-09-21 20:52:44] Stopping all applications...
INFO [2026-09-21 20:52:44] All applications stopped
ERROR [2026-09-21 20:52:44] App app1 died, restarting
INFO [2026-09-21 20:52:44] Starting app app1 on port 3001
INFO [2026-09-21 20:52:44] Detected traditional Shiny app for app1
INFO [2026-09-21 20:52:44] App app1 process started, checking readiness asynchronously
ERROR [2026-09-21 20:52:44] App app1 died, restarting
INFO [2026-09-21 20:52:44] Non-resident app app1 died, will start on next request
INFO [2026-09-21 20:52:44] Resident app app1 not running, starting
INFO [2026-09-21 20:52:44] Starting app app1 on port 3001
INFO [2026-09-21 20:52:44] Detected traditional Shiny app for app1
INFO [2026-09-21 20:52:44] App app1 process started, checking readiness asynchronously
ERROR [2026-09-21 20:52:44] App app1 process died during startup
INFO [2026-09-21 20:52:44] App app1 is ready on port 3001 (attempt 1)
ERROR [2026-09-21 20:52:44] App app1 failed to become ready after 10 attempts
ERROR [2026-09-21 20:52:44] App app1 failed to become ready after 20 attempts
ERROR [2026-09-21 20:52:45] App app died, restarting
INFO [2026-09-21 20:52:46] Non-resident app app died, will start on next request
INFO [2026-09-21 20:52:47] Cleaning dead process for app app
INFO [2026-09-21 20:52:47] Cleaned up 1 dead processes
ERROR [2026-09-21 20:52:48] App app process died during startup
INFO [2026-09-21 20:52:50] Restarting app: app
INFO [2026-09-21 20:52:51] Stopping all applications...
INFO [2026-09-21 20:52:51] Stopping app: app
INFO [2026-09-21 20:52:51] Successfully stopped app app
INFO [2026-09-21 20:52:51] All applications stopped
INFO [2026-09-21 20:52:53] Starting app app on demand
INFO [2026-09-21 20:52:53] Successfully initiated startup for app app on demand
ERROR [2026-09-21 20:52:54] App app died, restarting
ERROR [2026-09-21 20:52:54] Error terminating process: cleanup failed
INFO [2026-09-21 20:52:54] Cleaning dead process for app app
ERROR [2026-09-21 20:52:54] Error terminating process: cleanup failed
ERROR [2026-09-21 20:52:54] App app process died during startup
ERROR [2026-09-21 20:52:54] Error terminating process: cleanup failed
INFO [2026-09-21 20:52:54] Restarting app: app
ERROR [2026-09-21 20:52:54] Error terminating process: cleanup failed
ERROR [2026-09-21 20:52:54] Error terminating process: cleanup failed
INFO [2026-09-21 20:52:54] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:54] WebSocket connection closed for session old
INFO [2026-09-21 20:52:54] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 20:52:54] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:54] WebSocket connection closed for session old
INFO [2026-09-21 20:52:54] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:54] Port assignments:
INFO [2026-09-21 20:52:54] App 'app' -> port 65535
INFO [2026-09-21 20:52:54] Proxy -> port 3838
INFO [2026-09-21 20:52:54] Management -> port 3839
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: app
INFO [2026-09-21 20:52:54] Starting non-resident app app on demand for WebSocket connection
INFO [2026-09-21 20:52:54] Starting app app on demand
INFO [2026-09-21 20:52:54] Successfully initiated startup for app app on demand
INFO [2026-09-21 20:52:54] App app is starting, closing WebSocket with retry message
INFO [2026-09-21 20:52:54] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 20:52:54] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 20:52:54] Stopping app: app
INFO [2026-09-21 20:52:54] Successfully stopped app app
INFO [2026-09-21 20:52:54] Restarting app: app
INFO [2026-09-21 20:52:54] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 20:52:54] Immediately stopping non-resident app app (no active connections)
INFO [2026-09-21 20:52:54] Stopping app: app
INFO [2026-09-21 20:52:54] Successfully stopped app app
INFO [2026-09-21 20:52:54] Restarting app: app
INFO [2026-09-21 20:52:54] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-1
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-1
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-2
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-2
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-3
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-3
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-4
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-4
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-5
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-5
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-6
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-6
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-7
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-7
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-8
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-8
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-9
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-9
INFO [2026-09-21 20:52:54] WebSocket connection opened
INFO [2026-09-21 20:52:54] WebSocket routed to app: unknown-10
WARN [2026-09-21 20:52:54] Rejecting WebSocket for unknown app: unknown-10
INFO [2026-09-21 20:52:54] Starting non-resident app app on demand for HTTP request
INFO [2026-09-21 20:52:54] No WebSocket connections remain for non-resident app app, stopping immediately
INFO [2026-09-21 20:52:54] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:54] WebSocket connection closed for session s
INFO [2026-09-21 20:52:54] No WebSocket connections remain for non-resident app app, stopping immediately
ERROR [2026-09-21 20:52:54] App app died, restarting
INFO [2026-09-21 20:52:54] Non-resident app app died, will start on next request
INFO [2026-09-21 20:52:55] Starting app app on demand
INFO [2026-09-21 20:52:55] Successfully initiated startup for app app on demand
INFO [2026-09-21 20:52:55] Cleaning dead process for app app
INFO [2026-09-21 20:52:55] Cleaned up 1 dead processes
INFO [2026-09-21 20:52:55] Starting app app on demand
INFO [2026-09-21 20:52:55] Successfully initiated startup for app app on demand
INFO [2026-09-21 20:52:55] Stopping app: app
INFO [2026-09-21 20:52:55] Successfully stopped app app
INFO [2026-09-21 20:52:55] Starting app app on demand
INFO [2026-09-21 20:52:55] Successfully initiated startup for app app on demand
INFO [2026-09-21 20:52:55] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:55] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
INFO [2026-09-21 20:52:55] Stopping app: app
INFO [2026-09-21 20:52:55] Restarting app: app
INFO [2026-09-21 20:52:55] Restarting app: app
ERROR [2026-09-21 20:52:55] App app1 process died during startup
INFO [2026-09-21 20:52:55] Restarting app: app
INFO [2026-09-21 20:52:55] Stopping app: app
INFO [2026-09-21 20:52:55] Restarting app: app
INFO [2026-09-21 20:52:55] Stopping all applications...
INFO [2026-09-21 20:52:55] All applications stopped
ERROR [2026-09-21 20:52:55] App app died, restarting
INFO [2026-09-21 20:52:57] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:57] Connecting to backend: ws://127.0.0.1:3001/websocket/ for app app
ERROR [2026-09-21 20:52:57] Backend connection error for app app: Connection refused
INFO [2026-09-21 20:52:57] WebSocket connection closed for session s
INFO [2026-09-21 20:52:57] Backend connection closed for app app
INFO [2026-09-21 20:52:57] WebSocket connection closed for session s
ERROR [2026-09-21 20:52:57] Backend connection error for app app: Connection refused
INFO [2026-09-21 20:52:57] WebSocket connection added for app app from 127.0.0.1
ERROR [2026-09-21 20:52:57] Backend connection error for app app: Old error
INFO [2026-09-21 20:52:57] Resident app bad not running, starting
ERROR [2026-09-21 20:52:57] Health check failed for app bad: Resource temporarily unavailable
INFO [2026-09-21 20:52:57] Resident app next not running, starting
INFO [2026-09-21 20:52:57] Resident app bad not running, starting
INFO [2026-09-21 20:52:57] Tiny Shiny Server initialized
INFO [2026-09-21 20:52:57] Starting monitoring services
ERROR [2026-09-21 20:52:57] Health check failed: Unexpected failure
INFO [2026-09-21 20:52:57] WebSocket connection added for app app from 127.0.0.1
INFO [2026-09-21 20:52:57] WebSocket connection closed for session s
ERROR [2026-09-21 20:52:57] Error generating landing page: Template error
INFO [2026-09-21 20:52:58] Starting non-resident app myapp on demand for HTTP request
INFO [2026-09-21 20:52:58] Starting non-resident app myapp on demand for HTTP request
Saving _problems/test-utils-265.R
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1379 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-utils.R:141:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-utils.R:265:3'): is_port_in_use detects open and closed ports without warnings ──
Expected `is_port_in_use("127.0.0.1", backend$port)` to be FALSE.
Differences:
`actual`: TRUE
`expected`: FALSE
Backtrace:
▆
1. ├─testthat::expect_no_warning(...) at test-utils.R:265:3
2. │ └─testthat:::expect_no_(...)
3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture)
4. │ ├─testthat (local) .capture(...)
5. │ │ ├─base::withRestarts(...)
6. │ │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ │ └─base::withCallingHandlers(...)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. └─testthat::expect_false(is_port_in_use("127.0.0.1", backend$port))
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 1379 ]
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