因此,我试图部署django应用程序,并尝试使用eb init命令初始化我的eb cli存储库,但是在运行此命令时遇到了一个错误:
eb init -p python-3.9 django-tutorial
ERROR: MaxRetriesError - Max retries exceed for ResponseParserErrorUnable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
B’’
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:而且,当我只运行eb init时,我也会得到同样的错误。不知道哪里出了问题。我使用的是git,一个windows机器,django 3.1和python 3.9。
任何帮助都是非常感谢的。
编辑:我运行了eb init -v命令,并收到了相同的错误:
代码:
eb init -v输出:
Select a default region
1) us-east-1 : US East (N. Virginia)
2) us-west-1 : US West (N. California)
3) us-west-2 : US West (Oregon)
4) eu-west-1 : EU (Ireland)
5) eu-central-1 : EU (Frankfurt)
6) ap-south-1 : Asia Pacific (Mumbai)
7) ap-southeast-1 : Asia Pacific (Singapore)
8) ap-southeast-2 : Asia Pacific (Sydney)
9) ap-northeast-1 : Asia Pacific (Tokyo)
10) ap-northeast-2 : Asia Pacific (Seoul)
11) sa-east-1 : South America (Sao Paulo)
12) cn-north-1 : China (Beijing)
13) cn-northwest-1 : China (Ningxia)
14) us-east-2 : US East (Ohio)
15) ca-central-1 : Canada (Central)
16) eu-west-2 : EU (London)
17) eu-west-3 : EU (Paris)
18) eu-north-1 : EU (Stockholm)
19) eu-south-1 : EU (Milano)
20) ap-east-1 : Asia Pacific (Hong Kong)
21) me-south-1 : Middle East (Bahrain)
22) af-south-1 : Africa (Cape Town)
(default is 3): 1
ERROR: MaxRetriesError - Max retries exceeded for ResponseParserErrorsUnable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''
Unable to parse response (no element found: line 1, column 0), invalid XML received. Further retries may succeed:
b''发布于 2022-05-27 14:22:48
对于任何可能陷入此问题的人,解决方案是转到~/%USERNAME%/.aws并删除'config‘文件,然后尝试再次运行eb init。
https://stackoverflow.com/questions/69861309
复制相似问题