링크하신 스레드에 명시된 문제와 정확히 일치하지는 않는 것 같고, 실제로는 간헐적으로 발생하는 문제인 것으로 보입니다. 간헐적 문제는 진단하기가 가장 어렵습니다. 하지만 수동으로 fetch를 시도해 볼 수 있습니다. 저는 다음과 같이 해 보았는데, 이는 무해한 작업입니다:
# cd /var/discourse/
# ./launcher enter app
x86_64 arch detected.
# wget -O - -v https://github.com/discourse/logster.git/ |wc
--2023-01-04 15:30:25-- https://github.com/discourse/logster.git/
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/discourse/logster/ [following]
--2023-01-04 15:30:25-- https://github.com/discourse/logster/
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘STDOUT’
- [ <=> ] 231.22K --.-KB/s in 0.06s
2023-01-04 15:30:26 (3.99 MB/s) - written to stdout [236767]
2751 15860 236767
#
"github.com"이 합리적인 IP 주소로 해석되었고, 연결이 이루어져 데이터를 반환한 것을 확인할 수 있습니다. 실제로 컨테이너 내부에서 실행된 명령어는 컨테이너 외부에서 실행될 때와 매우 유사하게 동작했으며, 이는 예상된 결과입니다.
잘 알려진 호스팅 업체에서 지원되는 설치 방법을 사용하고 계신가요?