为了能快速了解并处理您的问题,请提供以下基础信息
接口:/acme?action=apply_cert_api 创建证书ssl时报错:确定URL是正确的,权限也正常。上下文还有其他的接口调用,都可以正常。就这个接口异常,请帮忙看一下,谢谢报错如下:
Traceback (most recent call last):
File "create.py", line 196, in <module>
r_data_.create_ssl = my_api.create_ssl()
File "create.py", line 94, in create_ssl
result = self.__http_post_cookie(url,p_data)
File "create.py", line 175, in __http_post_cookie
response = opener.open(req,timeout = timeout)
File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
|
|