Hello Reuben, hope you're keeping well.
It's currently on 3.10
When using these settings
/opt/fourjs/gas/appdata/services/exampleweb.xcf
<?xml version="1.0" encoding="UTF-8" ?>
<APPLICATION Parent="ws.default"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gas/3.10/cfextws.xsd">
<EXECUTION>
<ENVIRONMENT_VARIABLE Id="FGLAPPSERVER">6401</ENVIRONMENT_VARIABLE>
<PATH>/opt</PATH>
<DVM>/opt/example.sh</DVM>
<ACCESS_CONTROL>
<ALLOW_FROM>ALL</ALLOW_FROM>
</ACCESS_CONTROL>
<POOL>
<START>0</START>
<MIN_AVAILABLE>0</MIN_AVAILABLE>
<MAX_AVAILABLE>1</MAX_AVAILABLE>
</POOL>
</EXECUTION>
</APPLICATION>
I'm getting these errors
Web Response
Application or service has been stopped due to fatal error
/opt/fourjs/gas/appdata/log/fastcgidispatch.log
07:31:23.177506 "Incoming request" /ws/r/exampleweb
07:31:23.178973 "Session Start vm proxy" VM Proxy started for session af10078887ac35a064a2e39df1153288 on PID 28805
07:31:34.182432 "process_response_tlv_header" Received CRITICAL ERROR from proxy
07:31:34.182467 "SYSTEM ERROR" At (dispatch_handler.c:728) : Error 17 = ''
07:31:34.182474 "Forwarding response" Failed to process TLV header
07:31:34.182487 "Web Service" Forward request failed, critical stop
07:31:34.182782 "Response sent" 159.242.118.99 - - [24/Jan/2023:07:31:23 GMT] "GET /ws/r/exampleweb " 503 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" query string:
07:31:34.182812 "HTTP request" Failed to handle request /ws/r/exampleweb
/opt/fourjs/gas/appdata/log/gwsproxy-exampleweb.log
07:31:23.180415 "Info-Product" Component=gwsproxy,Version=3.10.17,Build=202104201101,Target=__l64xl212
07:31:23.180935 "GWSPROXY" Server started
07:31:33.191716 "Start process" A DVM failed to connect to port 35367.
07:31:33.191818 "Start process" Critical stop : unable to accept first DVM connection on port 35367.
07:31:34.182407 "POOL" Critical error : sent critical stop to dispatcher.
07:31:34.182593 "GWSPROXY" Shutting down...
07:31:37.184901 "GWSPROXY" Shutdown complete
07:31:37.185000 "GWSPROXY" Server stopped due to stop command.
/opt/fourjs/gas/appdata/log/vm-exampleweb-0.log
#
#Date: 2023/01/24 07:31:23.181475
#PID: 28809
#
Sorry for dumping out a whole bunch of logs, I'm just not 100% sure which bits are the most relevant