OOD 2.0 files app errors with Unprocessable Entity

When trying to create or save in the 2.0.13 files app (fresh install, Rocky 8, no SEL, Basic Auth) the create or save is met with a pop up

 Error occurred when attempting to create new file
 Unprocessable Entity

Same with saving an opened test file in the editor although the message first line changes to
An error occured attempting to save this file!
Is this just a shortcoming of using basic auth, or ??


e.txt (6.0 KB)

attached nginx error log

Without reading it you either need SSL or need to disable sessions being saved in cookies.

See this issue on how to fix that (there’s a bug on our side to make it configurable).

Applying the first edit described in HTTP 422 Error / InvalidAuthenticityToken · Issue #1193 · OSC/ondemand · GitHub to /var/www/ood/apps/sys/dashboard/config/initializers/session_store.rb solved the problem.

Test VM on desktop, so no real need for SSL.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.