We created a Database of Interactive Apps with Bokeh:
https://github.com/ChairOfStructuralMechanicsTUM/Mechanics_Apps
Until end of September they were reachable via our website.
The links in our website were redirected to the proxy names (later called id) and ports (5006, 5010, 5020) were the apps were reachable.
The id was different than the the actual name of the virtual machine (a Windows Server 2012 R2), were the processes are running, and it served as a proxy name.
The processes were running with the command:
Start-Process bokeh -ArgumentList "serve $apps --port $port --allow-websocket-origin=${ip}:${port}" -NoNewWindow
Where $apps = Get-Content -Path appnames.conf
is the list with the main files of each app and ports and ip were defined before. The ip is defined so that the final links that were called were http://apps.bm.ed.tum.de:5006/nameoftheapp
In September 2022, the links in our webpage were automatically turning http into https, but we did not had any certificate installed and therefore the apps were not shown. We generated the certificate with Certbot for the domain apps.bm.ed.tum.de
and changed the command into:
Start-Process bokeh -ArgumentList "serve $apps --port $port --allow-websocket-origin=${ip}:${port} --ssl-certfile C:\Mechanics_Apps\cert.pem --ssl-keyfile C:\Mechanics_Apps\privkey.pem" -NoNewWindow
This worked fine for few weeks in October 2022. Suddenly, since few day, we are not able to run the apps and we get the PR_END_OF_FILE_ERROR:
If I directly call the actual machine name, I do not get the error anylonger and the list of the active apps can be seen, but because the --allow-websocket-origin command does not mention that name, I get an error in Bokeh. But at list I can call the get reach the processes.
What it puzzles me, is why suddenly we get the error even if nothing was changed in our system. And why the all thing worked for few weeks and then the error appeared.
Do you any idea how to solve it? I guess it has to do with the proxy name and some setting that we have to add.
Thank you and best regards,
Francesca