You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
deleteCampusTypeView
triggerAction
But these functions do not:
deleteCampusNetworkView
addCampusTypeView
addCampusNetworkView
Perhaps these other add & delete functions should also use the crumbRequestor code?
The text was updated successfully, but these errors were encountered:
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: