嘟嘟社区

[疑问] 用脚本刷ARM,配置完毕直接报错,麻烦大佬看下什么问题?


用的这个脚本:https://github.com/n0thing2speak/oracle_arm

按照步骤完成,最后报错:

  1. ❌发生错误,脚本停止!请检查参数或github反馈/查找 相关问题:{‘opc-request-id’: ‘D91E13E5D4A14AD8BF12AD61BA96BBA0/D6CC355162A2FA3302F3AA6068EC6FBB/D835700DB914F56A636A5D3C39CDBA8C’, ‘code’: ‘InvalidParameter’, ‘message’: ‘Invalid DNS label 5’, ‘status’: 400}
  2. Telegram Bot 推送成功
  3. 抢注中,已经经过:1尝试
  4. Traceback (most recent call last):
  5.   File "oracle_arm.py", line 327, in <module>
  6.     ins.create()
  7.   File "oracle_arm.py", line 246, in create
  8.     raise e
  9.   File "oracle_arm.py", line 230, in create
  10.     ins = self.lunch_instance()  # 应该返回具体的成功的数据
  11.   File "oracle_arm.py", line 314, in lunch_instance
  12.     is_pv_encryption_in_transit_enabled=True,
  13.   File "/usr/local/lib/python3.6/site-packages/oci/core/compute_client.py", line 4239, in launch_instance
  14.     response_type="Instance")
  15.   File "/usr/local/lib/python3.6/site-packages/oci/base_client.py", line 454, in call_api
  16.     response = self.request(request)
  17.   File "/usr/local/lib/python3.6/site-packages/oci/base_client.py", line 583, in request
  18.     self.raise_service_error(request, response, service_code, message)
  19.   File "/usr/local/lib/python3.6/site-packages/oci/base_client.py", line 745, in raise_service_error
  20.     original_request=request)
  21. oci.exceptions.ServiceError: {‘opc-request-id’: ‘D91E13E5D4A14AD8BF12AD61BA96BBA0/D6CC355162A2FA3302F3AA6068EC6FBB/D835700DB914F56A636A5D3C39CDBA8C’, ‘code’: ‘InvalidParameter’, ‘message’: ‘Invalid DNS label 5’, ‘status’: 400}

复制代码

python有问题吧,我没用过这个,我用R探长的和一个oci-help
有没有可能已经封号了
这脚本有问题,用R探长那个吧

楚天歌 发表于 2022-3-21 22:15
这脚本有问题,用R探长那个吧

求R探长的地址

宠虫 发表于 2022-3-21 22:17
求R探长的地址

https://github.com/semicons/java_oci_manage

  1. https://github.com/hitrov/oci-arm-host-capacity

复制代码

gayhub 找一圈,最后用了这个,最主要是我只会 php,修改 src/OciApi.php 方便自定义

这个脚本可以跑,看到别人在Ubuntu上跑过