Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint configurations disappear, cronjobs fail #1070

Closed
tgloeggl opened this issue Nov 14, 2024 · 1 comment · Fixed by #1071
Closed

Endpoint configurations disappear, cronjobs fail #1070

tgloeggl opened this issue Nov 14, 2024 · 1 comment · Fixed by #1071
Assignees
Labels
type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x
Milestone

Comments

@tgloeggl
Copy link
Member

Version
3.17

Describe the bug
Stud.IP shows errors like:

  • 500: Series: Die Opencast-Konfiguration wurde nicht korrekt angegeben.
  • ApiEvents: Die Opencast-Konfiguration wurde nicht korrekt angegeben.

To Reproduce

  1. Opencast and/or the Stud.IP DB has high latency
  2. Run the cronjob opencast_discover_videos or opencast_sync_acls
  3. Endpoint configuration gets missing
@tgloeggl tgloeggl added type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x labels Nov 14, 2024
@tgloeggl tgloeggl added this to the Opencast 3.18 milestone Nov 14, 2024
@tgloeggl tgloeggl self-assigned this Nov 14, 2024
@tgloeggl
Copy link
Member Author

We have discussed in the past how to tackle changes in Opencasts endpoint configuration, f.e. disappearing of services and being taken over by other machines. One idea was, to rediscover endpoints on a regular basis, so i added them to two cronjobs which are run regularly.

This now seems to introduce other problems, like the ones described in this issue, and makes even more problems than the other approach, which is only updating endpoints if someone adds or edits an opencast server, like in V2 of the plugin.
The downside to that is, that it might be necessary to go into the settings and do exactly that after an plugin update.

It seems, that the original approach is still better then trying to rediscover the endpoint every 10 minutes. My suggested solution to the problem would be for now to remove the auto-update of the endpoints and live with the nuisance rather than the nasty errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant