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: Do not used cached UDR URI, because validity period is ignored #62

Merged

Conversation

ghislainbourgeois
Copy link
Contributor

The UDR URI is currently cached in the UE context, in the UDM context. However, the validity period returned by the NRF is completely ignored, causing problems when the UDR changes IP for any reason.

This fix simply asks the NRF for the UDR URI every time. A more complete fix will need to be considered in the future, but will be a lot more involved, as it will require storing an expiry time along with the URI, allowing the cache to be invalidated.

@onf-bot
Copy link
Contributor

onf-bot commented Dec 13, 2023

Can one of the admins verify this patch?

1 similar comment
@onf-bot
Copy link
Contributor

onf-bot commented Dec 13, 2023

Can one of the admins verify this patch?

Copy link
Contributor

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

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

+1

@gab-arrobo
Copy link
Contributor

ok to test

@gab-arrobo gab-arrobo merged commit 654e165 into omec-project:master Dec 13, 2023
8 checks passed
@ghislainbourgeois ghislainbourgeois deleted the fix-do-not-cache-udr-uri branch December 13, 2023 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants