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

QQ登录

只需一步,快速开始

查看: 2080|回复: 1

[处理中3] 极光推送问题

[复制链接]

25

主题

72

帖子

434

积分

中级会员

Rank: 3Rank: 3

积分
434
QQ
发表于 2017-11-28 18:03:27 | 显示全部楼层 |阅读模式
本帖最后由 yanshuoke 于 2017-11-28 18:05 编辑

版本wex5 3.3

baas中的极光推送的java报了异常:求大神帮忙看看怎么解决,升级版本是不行的,时间赶不及,成本太大。
[http-8080-1] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-1] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-1] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-1] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-1] WARN cn.jpush.api.common.connection.NativeHttpClient - Got error response - responseCode:400, responseContent:{"error":{"message":"The schedule-task is invalid, `push` or `richpush` is invalid:cannot find user by this audience","code":8100}}
[http-8080-1] ERROR cn.jpush.api.common.connection.NativeHttpClient - Your request params is invalid. Please check them according to error message.
{}
        at cn.jpush.api.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:232)
        at cn.jpush.api.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:94)
        at cn.jpush.api.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:81)
        at cn.jpush.api.schedule.ScheduleClient.createSchedule(ScheduleClient.java:58)
        at cn.jpush.api.JPushClient.createSingleSchedule(JPushClient.java:433)
        at jpush.Push.sendPushMessage(Push.java:75)
        at jpush.Push.push(Push.java:49)
        at jpush.Jpush__do.push(Jpush__do.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
com.justep.baas.action.ActionException: 执行Class[jpush.Jpush__do] Method[push]失败
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        ... 16 more
Caused by: java.lang.RuntimeException: {}
        at jpush.Push.push(Push.java:55)
        at jpush.Jpush__do.push(Jpush__do.java:43)
        ... 20 more
Caused by: {}
        at cn.jpush.api.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:232)
        at cn.jpush.api.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:94)
        at cn.jpush.api.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:81)
        at cn.jpush.api.schedule.ScheduleClient.createSchedule(ScheduleClient.java:58)
        at cn.jpush.api.JPushClient.createSingleSchedule(JPushClient.java:433)
        at jpush.Push.sendPushMessage(Push.java:75)
        at jpush.Push.push(Push.java:49)
        ... 21 more
十一月 28, 2017 6:00:20 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet WeX5_Baas_Servlet threw exception
{}
        at cn.jpush.api.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:232)
        at cn.jpush.api.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:94)
        at cn.jpush.api.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:81)
        at cn.jpush.api.schedule.ScheduleClient.createSchedule(ScheduleClient.java:58)
        at cn.jpush.api.JPushClient.createSingleSchedule(JPushClient.java:433)
        at jpush.Push.sendPushMessage(Push.java:75)
        at jpush.Push.push(Push.java:49)
        at jpush.Jpush__do.push(Jpush__do.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
异常中是这行报错:
TIM截图20171128180455.png



发表于 2017-12-7 15:36:31 | 显示全部楼层
时间设置问题
http://bbs.wex5.com/forum.php?mod=viewthread&tid=80112     

或者你的服务器上  服务器时间是否是标准的时间呢?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 14:11 , Processed in 0.063461 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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