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

fix(backends): Check times of the backend servers #14012

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

nickvergessen
Copy link
Member

πŸ› οΈ API Checklist

Recording HPB
Bildschirmfoto vom 2024-12-18 06-58-27 Bildschirmfoto vom 2024-12-18 06-45-55

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • πŸ“˜ API documentation in docs/ has been updated or is not required
  • πŸ”– Capability is added or not needed

@nickvergessen nickvergessen added 3. to review feature: settings βš™οΈ Settings and config related issues feature: signaling πŸ“Ά Internal and external signaling backends feature: recordings ⏺️ Including the recording server labels Dec 18, 2024
@nickvergessen nickvergessen self-assigned this Dec 18, 2024
@nickvergessen
Copy link
Member Author

/backport to stable30

@nickvergessen
Copy link
Member Author

/backport to stable29

@nickvergessen
Copy link
Member Author

/backport to stable28

Copy link
Contributor

@SystemKeeper SystemKeeper left a comment

Choose a reason for hiding this comment

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

Tested and works, nice!
It’s a very narrow window we enforce, should there be some kind of threshold of a few seconds that we still accept as being valid?

Copy link
Member

@fancycode fancycode left a comment

Choose a reason for hiding this comment

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

+1 for some leeway.

The signaling server allows up to one minute time difference when validating tokens:
https://github.com/strukturag/nextcloud-spreed-signaling/blob/0a04ea290969cfe1ebc3ef3aaeeae1bdc49ea552/hub.go#L114-L115

@nickvergessen
Copy link
Member Author

then we use 45 to be on the safe side, so there are still ~15s in worst case between getting the token and sending the request?

@fancycode
Copy link
Member

then we use 45 to be on the safe side, so there are still ~15s in worst case between getting the token and sending the request?

πŸ‘ sounds good

@nickvergessen nickvergessen force-pushed the bugfix/noid/check-server-times branch from 59819b8 to ef632ef Compare December 18, 2024 07:45
Copy link
Member

@fancycode fancycode left a comment

Choose a reason for hiding this comment

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

πŸš€ lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review feature: recordings ⏺️ Including the recording server feature: settings βš™οΈ Settings and config related issues feature: signaling πŸ“Ά Internal and external signaling backends
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants