500 errors when posting on meta.discourse.org

AI-generated summary

Users are experiencing 500 errors when posting on meta.discourse.org. DeanMarkTaylor reported seeing the error over the past few days, despite the post successfully being posted. The error occurs when selecting “Reply” and is accompanied by a console error message. DeanMarkTaylor provided an example occurrence of this error and the current version of Discourse on meta, which is Discourse 1.2.0.beta5. eviltrout thinks this issue is unrelated to a similar topic (https://meta.discourse.org/t/500-internal-sever-error-when-creating-post-topic-help/23744) and has a possible fix in a commit (https://github.com/discourse/discourse/commit/505fa9f1cf80dba5cabf1c9dbc30266cce4326c6).

I’ve been seeing 500 errors when posting to meta.discourse.org over the past few days (probably 4 errors over 5 days - but that’s guessing)

When selecting Repy:

It pops up with a message indicating 500 error. However the post actually successfully posts.

Here is an example occurrence of this kind of error post that this occurred for - matching the console errors above:
https://meta.discourse.org/t/index-user-visits-on-user-id-and-visited-at-duplicate-key/24053/2

Hopefully there should be something in your logs

The current version of discourse at this time on meta is:
Discourse 1.2.0.beta5 - https://github.com/discourse/discourse version 20d2908c505c506c96e5621d89f341ea163515ca

###Possible similar topic
https://meta.discourse.org/t/500-internal-sever-error-when-creating-post-topic-help/23744

1 лайк

I think it’s unrelated to the other topic. The errors here were related to custom field use on the experimental tagging plugin. I have a fix here:

https://github.com/discourse/discourse/commit/505fa9f1cf80dba5cabf1c9dbc30266cce4326c6

2 лайка

Glad you caught it. Nice one.