업로드가 되지 않습니다.
406
작성한 질문수 1
안녕하세요, 수강중인 학생입니다.
3.upload.py 부터 코드가 제대로 동작하지 않습니다.
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
이런 내용으로 인해 글이 올라가지 않는데 원인이 무엇일까요?
답변 3
0
클라우드웨이즈에서
1. xmlrpc.php가 차단되어 있는 경우
Cloudways, 일부 워드프레스 호스팅은 xmlrpc.php 사용을 보안상 차단합니다.
🔎 확인 방법
브라우저에서 다음 주소로 이동해보세요:
bash복사편집
https://wordpress-xxxxxxxxxxxx.cloudwaysapps.com/xmlrpc.php
"XML-RPC server accepts POST requests only." 메시지가 나오면 열려 있는 것
"403 Forbidden", "Access denied", "Not found"가 나오면 차단된 것
✅ 해결
Cloudways에서는 보통 Application Settings > Security에서 XML-RPC API Access를 허용해야 합니다.
찾아보니까
클라우드웨이즈에서
xmlrpc 접근 허용이 막혀있어서 안되는것입니다.
chatgpt에 에러코드상황 얘기해주니까 자세하게 알려줌!!
Application settings에서 xmlrpc 접근 막아져있는거 풀어주면 됩니다.
0
안녕하세요 강사님,
저는 Client 부분 부터 에러가 발생합니다
패키지들은 잘 설치 했는데, 어떤 문제인지 모르겠습니다.
(전 Mac 사용 중이고, 파이썬 버젼은 3.11 씁니다)
파이썬 실행하면, 아래와 같은 에러메시지가 나옵니다.
Traceback (most recent call last):
File "/Users/mati/coding/wp_auto/3.upload.py", line 14, in <module>
client = Client(site_url, username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mati/coding/wp_auto/coding/wp_auto/lib/python3.11/site-packages/wordpress_xmlrpc/base.py", line 24, in init
self.supported_methods = self.server.mt.supportedMethods()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/xmlrpc/client.py", line 1122, in call
return self.__send(self.__name, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/xmlrpc/client.py", line 1464, in __request
response = self.__transport.request(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/xmlrpc/client.py", line 1166, in request
return self.single_request(host, handler, request_body, verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/xmlrpc/client.py", line 1179, in single_request
resp = http_conn.getresponse()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1378, in getresponse
response.begin()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 287, in readstatus
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
Opus/Sonnet 버전 관련 문의
0
7
1
영상이 안나옵니다. 그냥 빈공간이에요
1
10
3
"run_nvidia_gpu.bat" 실행후
0
8
1
섹션2 질문이요
0
10
1
섹션 2
0
8
1
APM 보안 셋팅
0
8
0
섹션1.9 질문입니다!
0
16
2
웹서비스 방법
0
17
1
MCP 정의가 잘못되어 있음 (Chapter2)
0
19
1
이북 다운로드 위치 문의
0
15
1
수강 연장 문의드립니다.
0
21
2
스케쥴 설정 질문
0
28
2
13. (App 2) 기본기 훈련 에서
0
21
1
채점 프로그램 미작동
0
15
2
유튜브는 4일전에도 영상 올라왔던데, 이 강의는 언제쯤 ㅜㅜ
1
24
1
챌린지 시작일 문의
0
26
0
2. 어떤 도구를 사용하는 것이 가장 유리할까? 강의 중
0
23
1
안녕하세요 ppt 자료 메일로 부탁드립니다
0
16
1
쉬운 내용 스킵
0
20
1
11차시 Antigravity IDE 설치 후
0
23
1
링크드 리스트 중간 삽입삭제 시간복잡도 질문
0
25
1
시간 설정이 잘 안되요
0
164
1
(맥북)알려주신대로 했을 때 썸네일 등록이 정상적으로 업로드 되지 않습니다.
0
132
1
클라이언트 에러 관련 질문입니다.
0
202
1





