Problem: UCS5 ucs@school Veyon-Proxy "maximum number of connections reached"

Problem:

If you have connection issues with the ucsschool-veyon-proxy and the
/var/log/univention/management-console-module-computerroom.log
shows this error messages

MODULE      ( ERROR   ) : Fetching feature status failed: Limit for maximum number of connections reached
MODULE      ( ERROR   ) : Fetching feature status failed: Limit for maximum number of connections reached
MODULE      ( ERROR   ) : Fetching feature status failed: Limit for maximum number of connections reached
MODULE      ( ERROR   ) : Fetching feature status failed: Limit for maximum number of connections reached
MODULE      ( ERROR   ) : Fetching feature status failed: Limit for maximum number of connections reached
MODULE      ( ERROR   ) : Fetching feature status failed: Limit for maximum number of connections reached
MODULE      ( ERROR   ) : Fetching feature status failed: Limit for maximum number of connections reached

Solution:

You have to check the app settings for “UCS@school Veyon Proxy” in the appcenter for
Maximum number of connections for the veyon WebAPI
Screenshot from 2023-03-24 05-23-41

with the following command you check the UCR variable via terminal

ucr search veyon/WebAPI/ConnectionLimit

veyon/WebAPI/ConnectionLimit: 5000

and with an ucr set you can change the value

ucr set veyon/WebAPI/ConnectionLimit=5000

Sometimes the entered value in the Docker container is not set correctly as in the settings or the UCRV, so use the following command to check the config from the Docker container

univention-app shell ucsschool-veyon-proxy /usr/bin/veyon-cli config list | grep WebAPI/ConnectionLimit

WebAPI/ConnectionLimit=5000

With the next command you can check the configuration from the appcenter

univention-app configure --list ucsschool-veyon-proxy | grep veyon/WebAPI/ConnectionLimit

veyon/WebAPI/ConnectionLimit: 5000 (Maximum number of connections for the veyon WebAPI)

To change the configuration for the appcenter and the Docker container use

univention-app configure ucsschool-veyon-proxy --set veyon/WebAPI/ConnectionLimit=5000

Mastodon