Can not open a terminal session via the gui

Hello Everybody,
I logged onto my production version of ondemand and found I could no longer open a terminal session.
The error is:
Your connection to the remote server has been terminated.

When I check the log: at /var/log/ondemand-nginx/myuser/error.log I get the following:

App 14890 output: [2025-07-24 18:36:05 -0400 ] INFO “method=GET path=/pun/sys/dashboard/ format=html controller=DashboardController action=index status=200 allocations=19637 duration=16.53 view=5.47”
[ N 2025-07-24 18:36:08.9410 10294/Tf age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 15777, application /var/www/ood/apps/sys/shell (production)
App 15875 output: Listening on 3000
App 15875 output: Connection established
App 15875 output: /var/www/ood/apps/sys/shell/app.js:203
App 15875 output: token = req.url.match(/csrf=([^&]*)/)[1];
App 15875 output: ^
App 15875 output:
App 15875 output: TypeError: Cannot read properties of null (reading ‘1’)
App 15875 output: at WebSocketServer.connection (/var/www/ood/apps/sys/shell/app.js:203:40)
App 15875 output: at WebSocketServer.emit (node:events:517:28)
App 15875 output: at done (/var/www/ood/apps/sys/shell/app.js:281:9)
App 15875 output: at WebSocketServer.completeUpgrade (/var/www/ood/apps/sys/shell/node_modules/ws/lib/websocket-server.js:435:5)
App 15875 output: at WebSocketServer.handleUpgrade (/var/www/ood/apps/sys/shell/node_modules/ws/lib/websocket-server.js:343:10)
App 15875 output: at Server.upgrade (/var/www/ood/apps/sys/shell/app.js:280:7)
App 15875 output: at Server.emit (node:events:517:28)
App 15875 output: at onParserExecuteCommon (node:_http_server:939:14)
App 15875 output: at onParserExecute (node:_http_server:825:3)
App 15875 output:
App 15875 output: Node.js v18.20.2
[ W 2025-07-24 18:36:19.2178 10294/T3 age/Cor/App/Poo/AnalyticsCollection.cpp:153 ]: Process (pid=15875, group=/var/www/ood/apps/sys/shell (production)) no longer exists! Detaching it from the pool.
[ N 2025-07-24 18:36:19.2179 10294/T3 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 15875, application /var/www/ood/apps/sys/shell (production)
[ N 2025-07-24 18:41:05.6489 10294/T4 age/Cor/CoreMain.cpp:1146 ]: Checking whether to disconnect long-running connections for process 14890, application /var/www/ood/apps/sys/dashboard (production)

I have not touch this server to make changes in a long time. What could be causing this error? I do have a dev enironment and that does not exibit the same error.
Thank you,
–David

I think you need an apache update.

Hi,
I have a prod server and a dev server. It does not happen on the dev server. And both apache versions are the same:
ondemand-apache-3.1.6-1.el9.x86_64
–David

Not the ondemand-apache package, but the actual apache httpd server package - httpd.

Hi,

It’s at httpd-2.4.57-8.el9.x86_64 and so is the dev server.

–David

Even so, is there any update available for it on the production server?

Hi.

So the solution was to downgrade OOD to 3.1.7 on my RHEL 9.3 system.

–David