Comments (13)
@ssddn 我提工单问他们,他们都不知道 aliyun-python-sdk-core-v3 这个依赖包的存在🤷♀️,不管了。我自己已经修复了个版本用。版本提交上去了,合不合并随他们吧。这个issue留着给后面的人翻看
from aliyun-openapi-python-sdk.
在endpoints.xml文件中如下节点
<Endpoint name="cn-hangzhou">
<RegionIds><RegionId>cn-hangzhou</RegionId></RegionIds>
<Products>
增加下面这行就能解决了。
<Product><ProductName>Dysmsapi</ProductName><DomainName>dysmsapi.aliyuncs.com</DomainName></Product>
from aliyun-openapi-python-sdk.
是否因为 endpoints.xml 32行中的 'DomainName' 有误?
<Product><ProductName>Sms</ProductName><DomainName>sms.aliyuncs.com</DomainName></Product>
from aliyun-openapi-python-sdk.
两天了都没人来处理一下?
from aliyun-openapi-python-sdk.
@ssddn 我只是好奇为啥提了好几天了都没人提交版本修复,而且我看了一下,这个问题很早前就有了。前几个月有个commit修复了,但是不知道为啥最近 Dysmsapi 这个节点又在endpoint 里面丢失了
from aliyun-openapi-python-sdk.
我在阿里云平台上提交工单了,他们答复说尽快解决,不知道什么时候能更新上去。
from aliyun-openapi-python-sdk.
@John60676 @ssddn
十分感谢您的建议,关于您提到的问题,短信服务在调用demo中包含一行添加endpoint的代码,具体在:
https://help.aliyun.com/document_detail/55359.html?spm=5176.8195934.507901.12.UvCFaW
另外,添加到endpoint也是可以解决这个问题的,十分感谢您的提交,我们会内部讨论后决定是否合并,再次感谢!
from aliyun-openapi-python-sdk.
使用最新版aliyunsdkcore 2.6.2,endpoint.xml缺少dysmsapi配置。
参考:https://steemit.com/btc/@seatre/python-api
from aliyun-openapi-python-sdk.
@nssprite 您好,endpoint.xml已经不再维护了
关于短信sdk出现cannotResolveEndpoint的问题,我们已经向相关团队反馈
建议您提交工单,我们会尽快推进这个问题的解决
from aliyun-openapi-python-sdk.
这个问题还是没有解决,导致我也踩到这个坑了。
现在resolve endpoint的原理是什么?难道这个问题很难修复吗?
如果问题没有解决,不应该把Issue关闭。@gaort
from aliyun-openapi-python-sdk.
您好,resolve endpoint 类似于dns解析,sdk在发出请求前, 会先通过endpoint解析服务,取得对应 产品及地区 的endpoint。 如果云产品没有在解析服务上做配置,就会出现cannotResolveEndpoint。 您工单得到的解决方案是手动设定 endpoint,是否解决了问题?
from aliyun-openapi-python-sdk.
工单上的解决方案是我自己看到这个Issue以及比较Demo以后得到的。
手动添加endpoint以后,已经可以正常使用。
from aliyun-openapi-python-sdk.
为什么短信服务不愿意在解析服务上做配置呢?
from aliyun-openapi-python-sdk.
Related Issues (20)
- aliyun-sdk-core doesn't work with crpythongraphy
- aliyun-python-sdk-core apsara protocol type bug HOT 1
- 我是Python3 安装 缺少 [v20180510] HOT 5
- 云监控 DescribeMetricListRequest 接口超时 HOT 1
- asfdf
- code example运行出错
- Project dependencies. HOT 2
- InvalidNetworkType when executing codes generated from "Preview -> View Open API" HOT 1
- CVE for included urllib3 HOT 3
- Can't override default region for DescribeDBInstancesRequest
- Vendored six package is incompatible with Python 3.12.
- Update aliyun-python-sdk-core.vendored.requests: 'cgi' is deprecated and slated for removal in Python 3.13 HOT 3
- Concerns about new get_uuid() implementation in aliyun-python-sdk-core 2.14.0 HOT 3
- aliyun-python-sdk-core can not install HOT 2
- python3.12 support HOT 6
- Protecode security issue on aliyun-python-sdk-core dependency HOT 1
- python3.12环境,aliyun-python-sdk-core(2.14.0)报错:ModuleNotFoundError,请求支持!
- 调用请求 报 product 找不到 HOT 1
- Cannot import 'aliyunsdkcore.client' on Python 3.13.0a3
- FIPS issue in aliyun-python-sdk-core HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aliyun-openapi-python-sdk.