起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2746|回复: 6

[处理中3] 调用微信接口报错

[复制链接]

1

主题

7

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
发表于 2016-8-10 16:36:01 | 显示全部楼层 |阅读模式
2016-08-10T08:09:34.803870201Z 响应menu指令********************
2016-08-10T08:09:34.825420255Z com.justep.baas.action.ActionException: Action[weixin/weixin/service]执行失败,javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2016-08-10T08:09:34.825491995Z         at com.justep.baas.action.Engine.execAction(Unknown Source)
2016-08-10T08:09:34.826019562Z         at com.justep.baas.action.Engine.execAction(Unknown Source)
2016-08-10T08:09:34.826061238Z         at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
2016-08-10T08:09:34.826070470Z         at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
2016-08-10T08:09:34.826087077Z         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2016-08-10T08:09:34.826102591Z         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2016-08-10T08:09:34.826106716Z         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
2016-08-10T08:09:34.826111219Z         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2016-08-10T08:09:34.826774596Z         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2016-08-10T08:09:34.826858455Z         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
2016-08-10T08:09:34.827285204Z         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2016-08-10T08:09:34.827544023Z         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
2016-08-10T08:09:34.827559136Z         at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
2016-08-10T08:09:34.828172522Z         at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:610)
2016-08-10T08:09:34.828196996Z         at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1777)
2016-08-10T08:09:34.828564577Z         at java.lang.Thread.run(Thread.java:745)
2016-08-10T08:09:34.828583630Z Caused by: java.lang.reflect.InvocationTargetException
2016-08-10T08:09:34.828961816Z         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2016-08-10T08:09:34.828979621Z         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2016-08-10T08:09:34.829451754Z         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2016-08-10T08:09:34.829474565Z         at java.lang.reflect.Method.invoke(Method.java:498)
2016-08-10T08:09:34.829671604Z         ... 16 more
2016-08-10T08:09:34.830114285Z Caused by: java.lang.RuntimeException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2016-08-10T08:09:34.830137116Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.getAccessToken(Unknown Source)
2016-08-10T08:09:34.830144040Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.executeInternal(Unknown Source)
2016-08-10T08:09:34.830444691Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.execute(Unknown Source)
2016-08-10T08:09:34.830461792Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.menuDelete(Unknown Source)
2016-08-10T08:09:34.830475967Z         at weixin.WxMpServiceInstance.buildMenu(WxMpServiceInstance.java:174)
2016-08-10T08:09:34.830526879Z         at weixin.WxMpServiceInstance.access$000(WxMpServiceInstance.java:30)
2016-08-10T08:09:34.830947694Z         at weixin.WxMpServiceInstance$2.handle(WxMpServiceInstance.java:186)
2016-08-10T08:09:34.831287601Z         at me.chanjar.weixin.mp.api.WxMpMessageRouterRule.service(WxMpMessageRouterRule.java:252)
2016-08-10T08:09:34.831302312Z         at me.chanjar.weixin.mp.api.WxMpMessageRouter.route(WxMpMessageRouter.java:171)
2016-08-10T08:09:34.831307620Z         at weixin.WxMpServiceInstance.doResponse(WxMpServiceInstance.java:232)
2016-08-10T08:09:34.831312385Z         at weixin.Service.service(Service.java:19)
2016-08-10T08:09:34.831593967Z         at weixin.Weixin__do.service(Weixin__do.java:43)
2016-08-10T08:09:34.831617553Z         ... 20 more
2016-08-10T08:09:34.832019187Z Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2016-08-10T08:09:34.832041055Z         at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
2016-08-10T08:09:34.832423159Z         at sun.security.ssl.InputRecord.read(InputRecord.java:527)
2016-08-10T08:09:34.832440851Z         at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
2016-08-10T08:09:34.832446982Z         at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
2016-08-10T08:09:34.832861565Z         at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
2016-08-10T08:09:34.832878585Z         at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
2016-08-10T08:09:34.832884170Z         at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)

1

主题

7

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2016-8-10 17:24:16 | 显示全部楼层
我用自己发布的域名访问没问题,云平台又出问题了,哪位大神解决下
回复 支持 反对

使用道具 举报

31

主题

1856

帖子

3070

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3070
发表于 2016-8-10 18:31:31 | 显示全部楼层
应用名是哪个?
回复 支持 反对

使用道具 举报

1

主题

7

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2016-8-10 23:06:35 | 显示全部楼层
wsh 发表于 2016-8-10 18:31
应用名是哪个?

study
回复 支持 反对

使用道具 举报

1

主题

7

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2016-8-10 23:07:09 | 显示全部楼层
wsh 发表于 2016-8-10 18:31
应用名是哪个?

study.app.cloudx5.com
回复 支持 反对

使用道具 举报

31

主题

1856

帖子

3070

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3070
发表于 2016-8-12 09:32:13 | 显示全部楼层
服务网络我们做了点调整,请确认下还有没问题
回复 支持 反对

使用道具 举报

1

主题

7

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2016-8-22 23:24:16 | 显示全部楼层
wsh 发表于 2016-8-12 09:32
服务网络我们做了点调整,请确认下还有没问题

还是有问题

2016-08-22T15:05:40.927586138Z 响应menu指令********************
2016-08-22T15:06:00.473481915Z com.justep.baas.action.ActionException: Action[weixin/weixin/service]执行失败,org.apache.http.conn.ConnectTimeoutException: Connect to api.weixin.qq.com:443 [api.weixin.qq.com/140.206.160.101, api.weixin.qq.com/140.207.135.108] failed: Connection timed out
2016-08-22T15:06:00.478006462Z         at com.justep.baas.action.Engine.execAction(Unknown Source)
2016-08-22T15:06:00.478049841Z         at com.justep.baas.action.Engine.execAction(Unknown Source)
2016-08-22T15:06:00.478063432Z         at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
2016-08-22T15:06:00.478491946Z         at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
2016-08-22T15:06:00.479368855Z         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2016-08-22T15:06:00.479699875Z         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2016-08-22T15:06:00.479723996Z         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
2016-08-22T15:06:00.479758200Z         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2016-08-22T15:06:00.479772853Z         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2016-08-22T15:06:00.479778638Z         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
2016-08-22T15:06:00.479783683Z         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2016-08-22T15:06:00.479788462Z         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
2016-08-22T15:06:00.479807793Z         at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
2016-08-22T15:06:00.479813825Z         at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:610)
2016-08-22T15:06:00.479818137Z         at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1777)
2016-08-22T15:06:00.479822456Z         at java.lang.Thread.run(Thread.java:745)
2016-08-22T15:06:00.480624175Z Caused by: java.lang.reflect.InvocationTargetException
2016-08-22T15:06:00.482418599Z         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2016-08-22T15:06:00.482449746Z         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2016-08-22T15:06:00.483005962Z         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2016-08-22T15:06:00.483031211Z         at java.lang.reflect.Method.invoke(Method.java:498)
2016-08-22T15:06:00.483061095Z         ... 16 more
2016-08-22T15:06:00.483812045Z Caused by: java.lang.RuntimeException: org.apache.http.conn.ConnectTimeoutException: Connect to api.weixin.qq.com:443 [api.weixin.qq.com/140.206.160.101, api.weixin.qq.com/140.207.135.108] failed: Connection timed out
2016-08-22T15:06:00.483834891Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.getAccessToken(Unknown Source)
2016-08-22T15:06:00.484253345Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.executeInternal(Unknown Source)
2016-08-22T15:06:00.484405198Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.execute(Unknown Source)
2016-08-22T15:06:00.484420258Z         at me.chanjar.weixin.mp.api.WxMpServiceImpl.menuDelete(Unknown Source)
2016-08-22T15:06:00.484871448Z         at weixin.WxMpServiceInstance.buildMenu(WxMpServiceInstance.java:206)
2016-08-22T15:06:00.485225309Z         at weixin.WxMpServiceInstance.access$000(WxMpServiceInstance.java:30)
2016-08-22T15:06:00.485889773Z         at weixin.WxMpServiceInstance$2.handle(WxMpServiceInstance.java:218)
2016-08-22T15:06:00.485908747Z         at me.chanjar.weixin.mp.api.WxMpMessageRouterRule.service(WxMpMessageRouterRule.java:252)
2016-08-22T15:06:00.485914501Z         at me.chanjar.weixin.mp.api.WxMpMessageRouter.route(WxMpMessageRouter.java:171)
2016-08-22T15:06:00.486611019Z         at weixin.WxMpServiceInstance.doResponse(WxMpServiceInstance.java:264)
2016-08-22T15:06:00.486628487Z         at weixin.Service.service(Service.java:19)
2016-08-22T15:06:00.486634307Z         at weixin.Weixin__do.service(Weixin__do.java:43)
2016-08-22T15:06:00.486638844Z         ... 20 more
2016-08-22T15:06:00.487530431Z Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to api.weixin.qq.com:443 [api.weixin.qq.com/140.206.160.101, api.weixin.qq.com/140.207.135.108] failed: Connection timed out
2016-08-22T15:06:00.487550758Z         at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:138)
2016-08-22T15:06:00.487556998Z         at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
2016-08-22T15:06:00.488173764Z         at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
2016-08-22T15:06:00.488192088Z         at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
2016-08-22T15:06:00.488636879Z         at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
2016-08-22T15:06:00.488653732Z         at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
2016-08-22T15:06:00.489212667Z         at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
2016-08-22T15:06:00.489683819Z         at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
2016-08-22T15:06:00.490192117Z         at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
2016-08-22T15:06:00.490601411Z         at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
2016-08-22T15:06:00.490621721Z         ... 32 more
2016-08-22T15:06:00.491756245Z Caused by: java.net.ConnectException: Connection timed out
2016-08-22T15:06:00.492421116Z         at java.net.PlainSocketImpl.socketConnect(Native Method)
2016-08-22T15:06:00.492577080Z         at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
2016-08-22T15:06:00.493139698Z         at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
2016-08-22T15:06:00.493385125Z         at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
2016-08-22T15:06:00.494104854Z         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
2016-08-22T15:06:00.494392608Z         at java.net.Socket.connect(Socket.java:589)
2016-08-22T15:06:00.495174313Z         at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:239)
2016-08-22T15:06:00.495433478Z         at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
2016-08-22T15:06:00.495966849Z         ... 41 more
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-24 00:42 , Processed in 0.056133 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表