I'm messing with trying to create a linux/php based website management system where a user can upload a scenario file then reboot my server with the new scenario file. I was able to successfully start the server with a php script that basically opens openrct2.exe on my remote linux server with wine and points to the scenario file, and was able to connect to the rct server from my home pc. However, when I kill the server using killall openrct2.exe and attempt to restart it with a different scenario, I get errors with the advertise server that appear to prevent me from connecting to it. When I connect from my pc, it gets to the authentication stage then is unable to complete the connection.
Ready for clients...
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
ERROR[src\network\http.cpp:135 (http_request_json)]: HTTP request failed: Problem with the SSL CA cert (path? access rights?).
WARNING[src\network\network.cpp:882 (Network::AdvertiseRegister::<lambda_daae3c5cee0e3be7d009c502fe4f504e>::operator ())]: Unable to connect to master server
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 36 on event 0
Does anyone have any insight on how I can fix this? The first startup after a while works fine, but subsequent startups get this HTTP request failure.Maybe there's a more graceful way of killing the server than killall openrct.exe that wont create this issue with the ssl ca certificaiton?