Skip to content

Troubleshoot dysfunctional presenters#3371

Merged
luisa-beerboom merged 7 commits intoOpenSlides:mainfrom
luisa-beerboom:3368-troubleshoot-dysfunctional-presenters
Feb 27, 2026
Merged

Troubleshoot dysfunctional presenters#3371
luisa-beerboom merged 7 commits intoOpenSlides:mainfrom
luisa-beerboom:3368-troubleshoot-dysfunctional-presenters

Conversation

@luisa-beerboom
Copy link
Copy Markdown
Member

@luisa-beerboom luisa-beerboom commented Feb 26, 2026

Fixes #3368
maybe.

I've investigated the errors in the logs. They are from a new function of gunicorn (the control interface https://gunicorn.org/guides/gunicornc/).
(By the way, the code that fails is somewhere in ln 98-111 of https://github.com/benoitc/gunicorn/blob/master/gunicorn/ctl/server.py#L98C8-L112C1 after all that is the code wrapped by the try block that adds Control server error to the error message and after it there is an info Control socket listening at %s being locked that never comes. [Errno 13] Permission denied is an os error btw. Probably caused by accessing a file without appropriate rights.)

I've added something to try and fix the gunicorn issue:
A new env setting OPENSLIDES_BACKEND_ENABLE_CONTROL_SOCKET (false by default) that enables the control interface.
If it is enabled the control sockets should be created as openslides-action.ctl and openslides-presenter.ctl.

@luisa-beerboom
Copy link
Copy Markdown
Member Author

This basically turns off the functionality by default.

Assigning @hjanott for code review, @bastianjoel for testing the client and @peb-adr in case he wants to see if he can manage to connect to it when it is enabled, since I'm not sure at all if it works.

@luisa-beerboom luisa-beerboom added bug critical Highest priority: This has to be done first. labels Feb 26, 2026
@luisa-beerboom luisa-beerboom marked this pull request as ready for review February 26, 2026 16:07
@luisa-beerboom luisa-beerboom added this to the 4.3 milestone Feb 26, 2026
Copy link
Copy Markdown
Member

@hjanott hjanott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hjanott hjanott removed their assignment Feb 26, 2026
@bastianjoel
Copy link
Copy Markdown
Member

Do not wait for my review.

@luisa-beerboom luisa-beerboom force-pushed the 3368-troubleshoot-dysfunctional-presenters branch from e534035 to 16ca605 Compare February 27, 2026 10:38
Copy link
Copy Markdown
Member

@peb-adr peb-adr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed make target name: open-gunicornc-<MOD>

Otherwise LGTM

@luisa-beerboom luisa-beerboom merged commit b0de9a7 into OpenSlides:main Feb 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug critical Highest priority: This has to be done first.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_user_related_models presenter does not resolve

4 participants