Closed alb3rtjarvis closed 1 month ago
I'm having same experience. Tried on Firefox and Brave.
Pinging @openjournals/dev
Can't replicate in dev environment, can replicate on prod site.
edit: it's a heroku error of some kind, getting a 500, not the 422 unprocessable entity we'd expect if the controller was having some error. only PR recently that might have caused is https://github.com/openjournals/joss/pull/1370
Since i can't see the server logs, i'll just point randomly at things and see if any of them are helpful for when @xuanxu can take a look:
There's a warning about memory constrained environments here: https://github.com/openjournals/joss/pull/1370/files#diff-da60b4e96eff2b132991226d308949e23f4ef3aad45ad59edd09cbc32cc6251eR120
The error happens almost instantly when posting to the /papers
endpoint. We do not make it to the redirect, so we know that the bug happens at some point before the record is created.
The timing makes me think it's not some bug from some network process like validating the github repo url, sending emails, or etc. since those validations take some time, it's also probably not the after_create
actions that send the emails either.
There are a number of changes in that PR about storage, but in the logs in my dev environment i don't see any activestorage events happening, it's just a very simple rails create action. The only things that precede it are the require_user
and require_complete_profile
checks, and since i am allowed to submit and not getting the banner to add my gh username we know those are working.
the only thing that is not completely standard rails that i can see is something "Processing by PapersController#create as TURBO_STREAM
", so there might be some incompatibility between heroku, rails 7.2, and whatever turbo stream is.
that's the best i can do until @xuanxu logs in, sry
I'm also having this issue.
Can anyone on @openjournals/dev put up a notice that submitting papers is broken atm and we're working on it? I don't think i have commit privs otherwise i'd do it
Same issue on my side. Cheers
This should be fixed now. After an update on the Heroku stack, there was a missing dependency. Please reopen if still having the issue.
Hello,
When attempting to submit a new paper, the JOSS site returns the following error:
"We're sorry, but something went wrong. If you are the application owner check the logs for more information."
and I do not see any issue created at: https://github.com/openjournals/joss-reviews/issues
I have tried on both Firefox and Opera and still get the same error. Please let me know if you need any other information from me. Thanks!