Beginning with version v20.06.00 of the main Submitty repository, we have added a new WebSocket interface. Future Submitty releases will leverage WebSockets for dynamic content on frequently changing pages including the TA grading interfaces, discussion forum, and office hour queue without a manual page refresh. To enable WebSockets, you will need to add the following lines to your apache site configuration file for Submitty:
Find the appropriate
Note: If you have multiple files, you can double check which configurations are linked (and thus in-use) from the
Make the modification below somewhere in the file under the top-level VirtualHost directive.
ProxyPass "/ws" "ws://127.0.0.1:41983/"
For an example of placement, see our example apache conf file.
systemctl restart apache2
Install the new Submitty software:
Enable the websocket server systemd unit so that it automatically starts on restarts of the server:
systemctl enable submitty_websocket_server
Start the WebSocket daemon:
systemctl start submitty_websocket_server
Verify that the daemon is running:
systemctl status submitty_websocket_server