이미지 업로드 처리

안녕하세요, 이미지가 업로드되지 않고 대신 업로드 처리 중이라는 메시지가 표시되는 이유를 이해하는 데 도움을 주실 수 있을까요? 최적화 기능을 비활성화해 보았지만 도움이 되지 않았습니다. 최신 버전의 자체 호스팅 Discourse를 사용 중이며, 파일은 PNG 형식 1MB이고 air 테마를 적용하고 있습니다. 감사합니다.

안녕하세요, 해당 문제가 발생했을 때 브라우저 콘솔을 확인해서 오류가 있는지 봐 주실 수 있을까요?

정말 이상한 일이네요. 다른 브라우저인 Safari에서는 작동했는데, 문제를 일으키던 Brave로 다시 전환하니 이번에는 이것도 잘 작동합니다. 제가 한 일은 컴퓨터를 재시작한 것뿐이에요.
다만, 여기서 Brave 콘솔을 확인해 보니 아래에 표시된 내용이 나옵니다. 저는 프로그래머가 아니라서 이러한 경고 메시지를 없애기 위해 어떤 변경을 해야 하는지 잘 모르겠습니다. 도움을 주시면 감사하겠습니다. 감사합니다!

***45Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure font '<URL>'. This request has been blocked; the content must be served over HTTPS.***
***app.js:239 ℹ️ Discourse v3.5.0.beta2-dev — https://github.com/discourse/discourse/commits/18c8a8ffca — Ember v5.12.0***
***13deprecated.js:61 Deprecation notice: PluginOutlet arguments should now be passed using `@outletArgs=` instead of `@args=` (outlet: category-box-below-each-category) [deprecation id: discourse.plugin-outlet-args]***
***a @ deprecated.js:61***
***site.js:130 ✅  Using the new 'glimmer' topic list***
***hamforum.org/:1 Mixed Content: The page at 'https://hamforum.org/' was loaded over HTTPS, but requested an insecure element 'http://hamforum.org/uploads/default/original/1X/011bca162039029c26490fea3769b9d0fde6dd11.webp'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html***
***hamforum.org/:1 Mixed Content: The page at 'https://hamforum.org/' was loaded over HTTPS, but requested an insecure favicon 'http://hamforum.org/uploads/default/optimized/1X/d6407243bedd7a8b0323cffb345cb60750c7f8b8_2_32x32.png'. This request has been blocked; the content must be served over HTTPS.***
***hamforum.org/:1 Mixed Content: The page at 'https://hamforum.org/' was loaded over HTTPS, but requested an insecure element 'http://hamforum.org/uploads/default/optimized/1X/d5f25e2f27014348ef24a5b9e927a7641c1c5dea_2_512x512.webp'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html***
***4:1 Mixed Content: The page at 'https://hamforum.org/c/general/4' was loaded over HTTPS, but requested an insecure favicon 'http://hamforum.org/uploads/default/optimized/1X/d6407243bedd7a8b0323cffb345cb60750c7f8b8_2_32x32.png'. This request has been blocked; the content must be served over HTTPS.***

Discourse를 어떻게 설치하셨나요? HTTPS를 제대로 설정하지 않으면 이런 문제가 발생합니다.

리눅스 전문가에게 설치를 부탁했습니다. 하지만 뭔가 놓친 부분이 있을 수도 있겠네요. 올바른 방향으로 이끌어 주신다면, 그는 분명 최대한 빨리 문제를 해결해 주실 겁니다.

전문가가 표준 설치 가이드를 제대로 따르지 못한 것 같습니다.

force_https를 true로 설정해야 합니다. app.yml에 DISCOURSE_FORCE_HTTPS: true라는 환경 변수를 추가하고 다시 빌드하면 됩니다.

네, 좋습니다. 전문가에게 조언을 전달해서 문제를 해결할 수 있는지 확인해 보겠습니다.
정말 대단하시네요. 감사합니다!

갑자기 모바일 기기로 업로드할 때만, 데스크톱에서는 아닌데 이 오류가 발생하고 있습니다. 콘솔에 로그인하여 "RAILS C"와 “sitesetting.force_https = true” 명령어를 실행해 보았지만 “command not found” 오류가 발생했습니다.

포럼 관리자 설정에서 “force https” 옵션을 찾을 수 없습니다.

위 “ENV Var” 단계에 대한 절차를 알려주실 수 있을까요? 시간을 내어 주셔서 감사합니다.

대신 app.yml 파일에서 설정을 변경해 보세요.

제안해 주셔서 감사합니다. 해당 항목을 추가하고 파일을 저장한 뒤, 다음 위치에서 설명하는 재빌드 과정을 따랐습니다:

브라우저 캐시를 비운 후 다시 시도해 보니, 모바일 브라우저에서 “업로드 처리 중” 단계를 통과할 수 있게 되었습니다. 감사합니다!

해당 전문가는 표준 설치를 수행했습니다. 컨테이너 내부에서 다음을 확인했습니다:

# set|grep FORCE_HTTP
DISCOURSE_FORCE_HTTPS=true

그리고 동작은 다음과 같습니다: 모바일에서 업로드가 작동하지 않지만, 모바일에서 데스크톱 보기로 전환하면 업로드가 정상 작동합니다:

@noid --어떤 모바일 브라우저와 운영 체제를 사용 중이신가요?