sdk

#sdk#

已有1人关注此标签

内容分类

游客z2xem4xohht64

使用openapi explorer的php SDK,只改了必须参数,报Fatal error: Class 'AlibabaCloud\Client\AlibabaCloud' not found错?

如题,使用openapi explorer的php SDK,只改了必须参数,报Fatal error: Class 'AlibabaCloudClientAlibabaCloud' not found错?

洞主十天

TableTunnel SDK 上传本地文件的 详细案例代码有谁分享一下吗?

官网上面通过tabletunnel SDK上传本地文件到odps表 逻辑不全,有谁有比较完整的读取本地文件上传至odps表的示例代码吗?小白跪求!!

yliang2020

关于使用Phthon访问阿里云上的物联网设备历史数据的问题

1、sdk使用哪个?aliyunsdkiot?2、具体API有列表吗?3、在OPENAPI里面对应的是哪个?云服务器?

nejmi

阿里云点播Android 播放器sdk 接不上!

阿里云点播Android 播放器sdk 接不上! 怎么回事 跟帮助文档一模一样 操作的 可是 不出现。。求帮我!

防腐基

手机APP如何访问已经上传到阿里云oss上面并且设置了防盗链的图片

目前是本地调试阶段 描述: 手机APP首页的许多图片已经上传到阿里云oss中,bucket是私有,图片都是公开,但设置了防盗链,referer不允许为空,且白名单按照规则配置的是手机内网ip、外网ip、访问接口ip等等。 问题: PC浏览器打开后可以访问到图片;手机浏览器打开后可以访问到图片;打包成APP后,手机点开无法访问到图片; 初步判断: 由于我把不允许referer为空这一项改变为允许为空之后,APP就可以访问到图片了,所以我猜测是因为手机APP没有referer这个参数,所以设置为不允许referer为空时,APP就访问不到oss上的图片。 求助: 手机APP访问阿里云oss图片的时候,为了防盗链,肯定要选择不允许referer为空的,否则可能被越过referer访问图片,导致自己的流量和费用受损。1)、请问有大佬遇到过类似的问题吗,怎么处理的?2)、请问大佬们处理类似这种APP访问阿里云oss图片的时候,一般都是用的什么方案? 谢谢各位大佬,抱拳。

国新

阿里云短信SDK报错“Content has not been provided”

代码如下: package com.airlook.service.sms.sender.impl; /** * @author guoxin * @since 2019-06-26 20:37 */ import com.aliyuncs.CommonRequest; import com.aliyuncs.CommonResponse; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.exceptions.ClientException; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.MethodType; import com.aliyuncs.profile.DefaultProfile; /* pom.xml <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> <version>4.0.3</version> </dependency> */ public class SendSms { public static void main(String[] args) { DefaultProfile profile = DefaultProfile.getProfile("cn-hangzhou", "<accessKeyId>", "<accessSecret>"); IAcsClient client = new DefaultAcsClient(profile); CommonRequest request = new CommonRequest(); request.setMethod(MethodType.POST); request.setDomain("dysmsapi.aliyuncs.com"); request.setVersion("2017-05-25"); request.setAction("SendSms"); request.putQueryParameter("RegionId", "cn-hangzhou"); request.putQueryParameter("PhoneNumbers", "18612130100,15765561564"); request.putQueryParameter("SignName", "空网科技"); request.putQueryParameter("TemplateCode", "SMS_127161463"); request.putQueryParameter("TemplateParam", "{ \"applyId\": \"12312321\" }"); request.putQueryParameter("OutId", "3123123123"); request.putQueryParameter("SmsUpExtendCode", "32131"); try { CommonResponse response = client.getCommonResponse(request); System.out.println(response.getData()); } catch (ServerException e) { e.printStackTrace(); } catch (ClientException e) { e.printStackTrace(); } } } <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> <version>4.0.3</version> </dependency> 错误信息(log) java.lang.IllegalStateException: Content has not been provided at org.apache.http.util.Asserts.check(Asserts.java:34) ~[httpcore-4.4.10.jar!/:4.4.10] at org.apache.http.entity.BasicHttpEntity.getContent(BasicHttpEntity.java:75) ~[httpcore-4.4.10.jar!/:4.4.10] at org.apache.http.entity.BasicHttpEntity.writeTo(BasicHttpEntity.java:112) ~[httpcore-4.4.10.jar!/:4.4.10] at org.apache.http.impl.execchain.RequestEntityProxy.writeTo(RequestEntityProxy.java:121) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156) ~[httpcore-4.4.10.jar!/:4.4.10] at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:160) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238) ~[httpcore-4.4.10.jar!/:4.4.10] at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) ~[httpcore-4.4.10.jar!/:4.4.10] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.6.jar!/:4.5.6] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.6.jar!/:4.5.6] at com.aliyuncs.http.clients.ApacheHttpClient.syncInvoke(ApacheHttpClient.java:246) ~[aliyun-java-sdk-core-4.0.1.jar!/:?] at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:272) ~[aliyun-java-sdk-core-4.0.1.jar!/:?] at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:209) ~[aliyun-java-sdk-core-4.0.1.jar!/:?] at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:93) ~[aliyun-java-sdk-core-4.0.1.jar!/:?] at com.aliyuncs.DefaultAcsClient.getCommonResponse(DefaultAcsClient.java:167) ~[aliyun-java-sdk-core-4.0.1.jar!/:?] at com.xxx.service.sms.sender.AbstractAliyunSmsSender.send(AbstractAliyunSmsSender.java:75) ~[airlook-service-sms-service-1.0.0-SNAPSHOT.jar!/:?] at com.xxx.service.sms.sender.impl.AliYunBatchSmsSender.send(AliYunBatchSmsSender.java:20) ~[airlook-service-sms-service-1.0.0-SNAPSHOT.jar!/:?] at com.xxx.service.sms.service.impl.NotificationSmsSendService.send(NotificationSmsSendService.java:42) ~[airlook-service-sms-service-1.0.0-SNAPSHOT.jar!/:?] at com.xxx.service.sms.service.impl.SmsServiceImpl.send(SmsServiceImpl.java:54) ~[airlook-service-sms-service-1.0.0-SNAPSHOT.jar!/:?] at com.xxx.service.sms.controller.SmsSendController.send(SmsSendController.java:40) ~[classes!/:?] at com.xxx.service.sms.controller.SmsSendController $$ FastClassBySpringCGLIB $$ 3bd767cb.invoke(<generated>) ~[classes!/:?] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:55) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at com.xxx.service.sms.controller.SmsSendController $$ EnhancerBySpringCGLIB $$ da0bc8f2.send(<generated>) ~[classes!/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) ~[spring-web-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) ~[spring-webmvc-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) ~[druid-1.1.10.jar!/:1.1.10] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) ~[spring-boot-actuator-2.1.2.RELEASE.jar!/:2.1.2.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117) ~[spring-boot-actuator-2.1.2.RELEASE.jar!/:2.1.2.RELEASE] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106) ~[spring-boot-actuator-2.1.2.RELEASE.jar!/:2.1.2.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.4.RELEASE.jar!/:5.1.4.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.14.jar!/:9.0.14] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]

pessoa

arm开发板如何连接阿里云物联网平台mqtt?

单片机协调器把环境参数通过串口发给开发板,开发板连接阿里云物联网mqtt。可以告诉下思路,要用哪个sdk,或者有案例吗

游客7iyaxbsyjqprc

dingtalk java sdk 获取 accesstoken失败

DefaultDingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/service/get_corp_token"); OapiServiceGetCorpTokenRequest req = new OapiServiceGetCorpTokenRequest(); req.setAuthCorpid(CORP_ID); OapiServiceGetCorpTokenResponse execute = client.execute(req, ACCESS_KEY, ACCESS_SECRET, SUITE_TICKET); return execute.getAccessToken(); 得到的结果是:{"errcode":853003,"errmsg":"签名的accessKey为空或者不合法"} 我确信上边的ACCESS_KEY,ACCESS_SECRET都是正确的。都来源于创建的小程序里头生成的。请教一下这个是什么原因?

游客6vr2sm2cu2qf4

短信api有没有不用sdk的实现方式。

服务器php版本太低,跑不起来sdk,有没有自己实现的方式。

umqcn

开发android程序,查找物联网上设备状态,有可调用的api吗?

我将设备接入了阿里云物联网,计划在android上开发一个app,主要用于查询物联网上设备的数量与状态,取得接入物联网上设备发送的一些属性。 主要是用到QueryDeviceRequest()这个命令。请问一下,有对应的SDK吗?让我可以直接在android中调用这个命令?

app_magic

unity调用oss GetObjects,调用堆栈报空

旧版本的SDK(2.4.0.0)可以用,更新到2.8.0后报错

android 高手

视频上传失败

[ErrorMessage]: com.alibaba.sdk.android.oss.ClientException: divide by zero [ErrorMessage]: divide by zero

表格存储Table Store 专门的 android SDK,或者至少有个demo都好啊

表格存储Table Store 专门的 android SDK,或者至少有个demo都好啊 现在的android引用了httpclient,导致了包冲突,就算解决了还是有一系列问题。

游客yhamer5mlwuuo

集成视频播放SDK时候 iOS播放器播放提示没有设置视频源

集成视频播放SDK时候 iOS播放器播放提示没有设置视频源;这个是什么原因造成的呢?有些视频能正常播放,有些提示没有设置视频源.

王滕滕

请问 微信SDK要绑定安全域名才能用,那在做本地开发的时候,大家都是内网穿透去做开发调试的吗?

请问 微信SDK要绑定安全域名才能用,那在做本地开发的时候,大家都是内网穿透去做开发调试的吗?

游客3k2ngdovzjnzo

阿里云短信使用PHP SDK提示 HTTP ERROR 500

PHP SDK是直接使用的ZIP版,不是通过composer安装的. 测试环境php版本是7.3.3测试通过.部署的正式环境php版本为5.5.38,访问时则提提示 HTTP ERROR 500.通过断点定位在 AlibabaCloud::rpc()这个一步. 请问这个是什么原因造成的,谢谢!

鹤飞

安卓端实人认证安卓端 在fragment中的webView 调用认证sdk 就会卡在加载页面

安卓端实人认证安卓端 在fragment中的webView 调用认证sdk 就会卡在加载页面

游客afv2w2vxtgxwi

在tomcat服务器上部署阿里云短信模块时在服务器启动不成功

在eclipse中运行阿里云sms短信服务时,发送与接收信息运行正常,打包后部署到tomcat服务器上后,启动tomcat服务器后,服务器报如下错误,一直运行不起来,不知道啥原因。08:43:38.175 [PullMessageTask-thread] ERROR c.a.m.t.DefaultAlicomMessagePuller - PullMessageTask_execute_error,messageType:SmsUp,queueName:Alicom-Queue-XXXXXXXXXXXXXX-SmsUpcom.aliyuncs.exceptions.ClientException: SDK.ServerUnreachable : Server unreachable: java.net.UnknownHostException: dybaseapi.aliyuncs.com at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:207) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:152) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:60) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.aliyuncs.DefaultAcsClient.getAcsResponse(DefaultAcsClient.java:104) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.alicom.mns.tools.TokenGetterForAlicom.getTokenFromRemote(TokenGetterForAlicom.java:63) ~[receive-2017.8.jar:na] at com.alicom.mns.tools.TokenGetterForAlicom.getTokenByMessageType(TokenGetterForAlicom.java:92) ~[receive-2017.8.jar:na] at com.alicom.mns.tools.DefaultAlicomMessagePuller$PullMessageTask.run(DefaultAlicomMessagePuller.java:31) ~[receive-2017.8.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71] 08:43:38.175 [PullMessageTask-thread] ERROR c.a.m.t.DefaultAlicomMessagePuller - PullMessageTask_execute_error,messageType:SmsReport,queueName:Alicom-Queue-XXXXXXXXXXXXXX-SmsReportcom.aliyuncs.exceptions.ClientException: SDK.ServerUnreachable : Server unreachable: java.net.UnknownHostException: dybaseapi.aliyuncs.com at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:207) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:152) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.aliyuncs.DefaultAcsClient.doAction(DefaultAcsClient.java:60) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.aliyuncs.DefaultAcsClient.getAcsResponse(DefaultAcsClient.java:104) ~[aliyun-java-sdk-core-3.2.2.jar:na] at com.alicom.mns.tools.TokenGetterForAlicom.getTokenFromRemote(TokenGetterForAlicom.java:63) ~[receive-2017.8.jar:na] at com.alicom.mns.tools.TokenGetterForAlicom.getTokenByMessageType(TokenGetterForAlicom.java:92) ~[receive-2017.8.jar:na] at com.alicom.mns.tools.DefaultAlicomMessagePuller$PullMessageTask.run(DefaultAlicomMessagePuller.java:31) ~[receive-2017.8.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]

Haruz

阿里云Python SDK有没有异步调用的接口

Python SDK所有的调用都是阻塞的吗?能不能异步?我在异步框架里能怎么调用?有没有URL调用的API接口?

游客iymrdecik42q2

python sdk,region-id

各位大神:region-id,是什么?是登录阿里云的账号吗?我使用它,调用sdkapi报EndpointResolvingError No such region