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

QQ登录

只需一步,快速开始

查看: 3129|回复: 3

[结贴] 极光推送,Tomcat报错

[复制链接]

54

主题

247

帖子

632

积分

高级会员

Rank: 4

积分
632
QQ
发表于 2017-7-14 13:33:36 | 显示全部楼层 |阅读模式
极光推送报错,查找了论坛上所有的帖子,没有解决这个问题:具体细节:安卓发送到苹果机,报的此错误,iOS机发安卓不报错。
[http-8080-3] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-3] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-3] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-3] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
[http-8080-3] 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-3] 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:97)
        at jpush.Push.push(Push.java:64)
        at jpush.Jpush__do.push(Jpush__do.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        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)
2017-07-14 11:24:01 Action[jpush/jpush/push]执行失败,{}
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       
at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: {}
        at jpush.Push.push(Push.java:70)
        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 jpush.Push.sendPushMessage(Push.java:97)
        at jpush.Push.push(Push.java:64)
        ... 21 more
com.justep.baas.action.ActionException: Action[jpush/jpush/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 java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       
at java.lang.reflect.Method.invoke(Method.java:497)
        ... 16 more
Caused by: java.lang.RuntimeException: {}
        at jpush.Push.push(Push.java:70)
        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 jpush.Push.sendPushMessage(Push.java:97)
        at jpush.Push.push(Push.java:64)
        ... 21 more
七月 14, 2017 11:24:01 上午 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:97)
        at jpush.Push.push(Push.java:64)
        at jpush.Jpush__do.push(Jpush__do.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        a        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)

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2017-7-14 14:07:52 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

54

主题

247

帖子

632

积分

高级会员

Rank: 4

积分
632
QQ
 楼主| 发表于 2017-7-14 14:16:03 | 显示全部楼层
jishuang 发表于 2017-7-14 14:07
http://bbs.wex5.com/forum.php?mod=viewthread&tid=80112

按照上面的说的把时间参数改成一个小时,发送完消息直接报这个错误
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2017-7-14 14:31:15 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-26 09:51 , Processed in 0.053760 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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