Discourse 임베드 - HTTP 500 오류

모두 안녕하세요,

최근에 discourse의 docker 버전을 설정하고, 새로 설정한 Discourse 포럼에 Hugo를 사용하여 첫 번째 블로그 글을 임베드(내장)하려고 시도했습니다.

참고로, "임베드된 글 잘라내기(Truncate the embedded posts)"와 “답변이 있을 때까지 가져온 주제는 목록에 표시되지 않습니다(Imported topics will be unlisted until there is a reply.)” 옵션의 체크를 해제하면 변경 사항이 저장되지 않는 것 같습니다. 하지만 다른 변경 사항은 정상적으로 저장됩니다.

production.log에 기록된 내용은 다음과 같습니다:

Started GET "/embed/comments?embed_url=https%3A%2F%2F(REDACTED).com%2Farticle%2Fwelcome%2F" for IP-Redacted at 2023-06-09 06:19:00 +0000
Processing by EmbedController#comments as HTML
  Parameters: {"embed_url"=>"https://(REDACTED).com/article/welcome/"}
Completed 500 Internal Server Error in 40ms (ActiveRecord: 0.0ms | Allocations: 11449)
ActiveRecord::ConnectionAdapters::PostgreSQL::Quoting::IntegerOutOf64BitRange (Provided value outside of the range of a signed 64bit integer.

PostgreSQL will treat the column type in question as a numeric.
This may result in a slow sequential scan due to a comparison
being performed between an integer or bigint value and a numeric value.

To allow for this potentially unwanted behavior, set
ActiveRecord.raise_int_wider_than_64bit to false.
)
lib/freedom_patches/fast_pluck.rb:39:in `select_raw'
lib/freedom_patches/fast_pluck.rb:60:in `pluck'
lib/topic_view.rb:378:in `filter_posts_paged'
lib/topic_view.rb:317:in `filter_posts'
lib/topic_view.rb:133:in `initialize'
app/controllers/embed_controller.rb:97:in `new'
app/controllers/embed_controller.rb:97:in `comments'
app/controllers/application_controller.rb:418:in `block in with_resolved_locale'
app/controllers/application_controller.rb:418:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:74:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:369:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
lib/middleware/request_tracker.rb:228:in `call'

Discourse 쪽에서는 주제가 올바른 카테고리에 생성되며, 아래에서 볼 수 있듯이 제목과 작성자도 전반적으로 올바르게 보입니다. 하지만 임베드 페이지를 호출하면 500 오류가 발생합니다.

도움을 주시면 감사하겠습니다.

그렇게 해서 HTTP 500 오류를 해결할 수 있었습니다. 하지만 게시글에 언급된 두 가지 설정의 체크를 해제하는 것만은 여전히 불가능합니다.