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

QQ登录

只需一步,快速开始

查看: 4845|回复: 8

[处理中3] 极光推送报错

[复制链接]

506

主题

1631

帖子

3383

积分

论坛元老

Rank: 8Rank: 8

积分
3383
QQ
发表于 2018-12-1 19:17:56 | 显示全部楼层 |阅读模式
本帖最后由 qweasdzxc 于 2018-12-1 19:21 编辑

按demo继承极光推送,结果报错是什么原因?
http://docs.wex5.com/wex5-server-question-list-2036/

http://bbs.wex5.com/forum.php?mod=viewthread&tid=80112 参照把时间改了也报错。

  1. [http-8080-6] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
  2. [http-8080-6] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
  3. [http-8080-6] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
  4. [http-8080-6] INFO cn.jpush.api.common.connection.NativeHttpClient - Created instance with _maxRetryTimes = 3
  5. [http-8080-6] 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}}
  6. [http-8080-6] ERROR cn.jpush.api.common.connection.NativeHttpClient - Your request params is invalid. Please check them according to error message.
  7. -------------------极光推送失败!---------------------
  8. {}
  9.         at cn.jpush.api.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:232)
  10.         at cn.jpush.api.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:94)
  11.         at cn.jpush.api.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:81)
  12.         at cn.jpush.api.schedule.ScheduleClient.createSchedule(ScheduleClient.java:58)
  13.         at cn.jpush.api.JPushClient.createSingleSchedule(JPushClient.java:433)
  14.         at Jpush.Push.sendPushMessage(Push.java:93)
  15.         at Jpush.Push.push(Push.java:53)
  16.         at Common.welcome(Common.java:442)
  17.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  18.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  19.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  20.         at java.lang.reflect.Method.invoke(Method.java:497)
  21.         at com.justep.system.action.Engine.invokeActions(Native Method)
  22.         at com.justep.system.action.Engine.invokeActions(Unknown Source)
  23.         at com.justep.business.server.BusinessServer.doAction(Unknown Source)
  24.         at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
  25.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  26.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  27.         at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
  28.         at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
  29.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  30.         at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
  31.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  32.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  33.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  34.         at com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source)
  35.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  36.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  37.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  38.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  39.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  40.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  41.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  42.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  43.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  44.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  45.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  46.         at java.lang.Thread.run(Thread.java:745)
  47. 2018-12-01 19:14:13 excute stream action, params:{"accept":"application/json","action":"welcomeAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"detail":"欢迎登录长安跨越APP商家端!","user":"F01001"},"process":"/portal/process/message/messageProcess"}
  48. java.lang.reflect.InvocationTargetException
  49.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  50.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  51.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  52.         at java.lang.reflect.Method.invoke(Method.java:497)
  53.         at com.justep.system.action.Engine.invokeActions(Native Method)
  54.         at com.justep.system.action.Engine.invokeActions(Unknown Source)
  55.         at com.justep.business.server.BusinessServer.doAction(Unknown Source)
  56.         at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
  57.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  58.         at com.justep.business.server.BusinessServer.excute(Unknown Source)
  59.         at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
  60.         at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
  61.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  62.         at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
  63.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  64.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  65.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  66.         at com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source)
  67.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  68.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  69.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  70.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  71.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  72.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  73.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  74.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  75.         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  76.         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  77.         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  78.         at java.lang.Thread.run(Thread.java:745)
  79. Caused by: java.lang.RuntimeException: {}
  80.         at Jpush.Push.push(Push.java:61)
  81.         at Common.welcome(Common.java:442)
  82.         ... 30 more
  83. Caused by: {}
  84.         at cn.jpush.api.common.connection.NativeHttpClient._doRequest(NativeHttpClient.java:232)
  85.         at cn.jpush.api.common.connection.NativeHttpClient.doRequest(NativeHttpClient.java:94)
  86.         at cn.jpush.api.common.connection.NativeHttpClient.sendPost(NativeHttpClient.java:81)
  87.         at cn.jpush.api.schedule.ScheduleClient.createSchedule(ScheduleClient.java:58)
  88.         at cn.jpush.api.JPushClient.createSingleSchedule(JPushClient.java:433)
  89.         at Jpush.Push.sendPushMessage(Push.java:93)
  90.         at Jpush.Push.push(Push.java:53)
  91.         ... 31 more
复制代码




91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35913
发表于 2018-12-3 10:23:25 | 显示全部楼层
x5用的什么版本?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

506

主题

1631

帖子

3383

积分

论坛元老

Rank: 8Rank: 8

积分
3383
QQ
 楼主| 发表于 2018-12-3 15:58:25 | 显示全部楼层
jishuang 发表于 2018-12-3 10:23
x5用的什么版本?

3.8版本
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

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



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

使用道具 举报

506

主题

1631

帖子

3383

积分

论坛元老

Rank: 8Rank: 8

积分
3383
QQ
 楼主| 发表于 2018-12-3 17:53:30 | 显示全部楼层
jishuang 发表于 2018-12-3 16:48
https://community.jiguang.cn/t/topic/30600/2

这个registrationId具体怎么设置?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35913
发表于 2018-12-4 08:40:29 | 显示全部楼层
极光推送标准的,到网上查找
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

506

主题

1631

帖子

3383

积分

论坛元老

Rank: 8Rank: 8

积分
3383
QQ
 楼主| 发表于 2018-12-4 19:05:09 | 显示全部楼层
jishuang 发表于 2018-12-4 08:40
极光推送标准的,到网上查找

意思我现在用平台封装的极光推送,也需要去官网查询这个registrationId的设置?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35913
发表于 2018-12-5 09:00:03 | 显示全部楼层
registrationId就是极光推送标准的,平台不会控制
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

26

主题

128

帖子

522

积分

高级会员

Rank: 4

积分
522
QQ
发表于 2018-12-25 17:40:19 | 显示全部楼层
不懂什么意思
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 21:41 , Processed in 0.064155 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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