-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add Network Fails in Webapp After Period of Inactivity #43
Labels
bug
Something isn't working
Comments
vpomuran
added a commit
to vpomuran/nita-webapp_cicd
that referenced
this issue
Oct 17, 2024
…ctivity Juniper#43 added ARM64 support. By some reason PyYAML 5.4 could not be built on ARM64 based ubuntu. Probably this issue: yaml/pyyaml#724.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
After approximately 90 minutes of inactivity in the webapp, it is impossible to add a new network. The UI gives a generic error, and by putting the browser into developer mode (F12), selecting "Network" and viewing the response traffic it is possible to see an HTTP Error 403. This is believed to be caused by the crumb that was originally generated for the session by Jenkins has timed out, and the resulting request is forbidden.
Workaround
From the nita host, restarting the webapp with
nita-cmd webapp restart
and logging back in fixes it (although the operation to add a new network will need to be repeated).Culprit
It is unclear what the exact cause is, but we think that views.py is the first place to look. We noticed that these functions use
crumbRequestor
code:But these functions do not:
Perhaps these other add & delete functions should also use the
crumbRequestor
code?The text was updated successfully, but these errors were encountered: