You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/06/09 16:33:50 UTC
[GitHub] [rocketmq-externals] fenghaichun opened a new issue #577: exception occurred When I tried to access Aliyun RocketMQ with this console
fenghaichun opened a new issue #577:
URL: https://github.com/apache/rocketmq-externals/issues/577
When I tried to access Alibaba Cloud RocketMQ using this console, the following exception occurred:
```
Caused by: org.apache.rocketmq.client.exception.MQClientException: CODE: 1 DESC: java.lang.NullPointerException, com.alibaba.ons.open.auth.resource.AccessResource.parseAccessResource(AccessResource.java:138)
comp-rocketmq-deepexi-console | For more information, please visit the url, http://rocketmq.apache.org/docs/faq/
comp-rocketmq-deepexi-console | at org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicListFromNameServer(MQClientAPIImpl.java:1232)
comp-rocketmq-deepexi-console | at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.fetchAllTopicList(DefaultMQAdminExtImpl.java:220)
comp-rocketmq-deepexi-console | at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.fetchAllTopicList(DefaultMQAdminExt.java:183)
comp-rocketmq-deepexi-console | at org.apache.rocketmq.console.service.client.MQAdminExtImpl.fetchAllTopicList(MQAdminExtImpl.java:147)
comp-rocketmq-deepexi-console | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
comp-rocketmq-deepexi-console | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
comp-rocketmq-deepexi-console | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
comp-rocketmq-deepexi-console | at java.lang.reflect.Method.invoke(Method.java:498)
comp-rocketmq-deepexi-console | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
comp-rocketmq-deepexi-console | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
comp-rocketmq-deepexi-console | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
comp-rocketmq-deepexi-console | at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
comp-rocketmq-deepexi-console | at org.apache.rocketmq.console.aspect.admin.MQAdminAspect.aroundMQAdminMethod(MQAdminAspect.java:63)
comp-rocketmq-deepexi-console | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
comp-rocketmq-deepexi-console | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
comp-rocketmq-deepexi-console | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
comp-rocketmq-deepexi-console | at java.lang.reflect.Method.invoke(Method.java:498)
comp-rocketmq-deepexi-console | at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
comp-rocketmq-deepexi-console | at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
comp-rocketmq-deepexi-console | at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
comp-rocketmq-deepexi-console | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
comp-rocketmq-deepexi-console | at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
comp-rocketmq-deepexi-console | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
comp-rocketmq-deepexi-console | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
comp-rocketmq-deepexi-console | at com.sun.proxy.$Proxy71.fetchAllTopicList(Unknown Source)
comp-rocketmq-deepexi-console | at org.apache.rocketmq.console.task.DashboardCollectTask.collectTopic(DashboardCollectTask.java:79)
comp-rocketmq-deepexi-console | ... 32 common frames omitted
```
Here is the docker-compose.yml:
```
version: '3.7'
services:
comp-rocketmq-deepexi-console:
image: styletang/rocketmq-console-ng
container_name: comp-rocketmq-deepexi-console
network_mode: host
ports:
- 9093:8080
environment:
- JAVA_OPTS=-Drocketmq.config.namesrvAddr=MQ_INST_1319505956634694_Bcdq8gWg.cn-shanghai.mq-internal.aliyuncs.com:8080 -Drocketmq.consume.access-key=XXX -Drocketmq.consume.secret-key=xxx
```
Does this console support access to Alibaba Cloud RocketMQ? How do I access it? please help me, thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] captainkun commented on issue #577: exception occurred When I tried to access Aliyun RocketMQ with this console
Posted by GitBox <gi...@apache.org>.
captainkun commented on issue #577:
URL: https://github.com/apache/rocketmq-externals/issues/577#issuecomment-713343710
Hi,could you tell me how you solved it?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] fenghaichun commented on issue #577: exception occurred When I tried to access Aliyun RocketMQ with this console
Posted by GitBox <gi...@apache.org>.
fenghaichun commented on issue #577:
URL: https://github.com/apache/rocketmq-externals/issues/577#issuecomment-716250256
> I know the reason:this exporter only for open-source rocketmq versions.
> you can look at:[apache/rocketmq-exporter#27](https://github.com/apache/rocketmq-exporter/issues/27)
yes,I guess it's the reason, thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] fenghaichun commented on issue #577: exception occurred When I tried to access Aliyun RocketMQ with this console
Posted by GitBox <gi...@apache.org>.
fenghaichun commented on issue #577:
URL: https://github.com/apache/rocketmq-externals/issues/577#issuecomment-660775927
反反复复
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] captainkun commented on issue #577: exception occurred When I tried to access Aliyun RocketMQ with this console
Posted by GitBox <gi...@apache.org>.
captainkun commented on issue #577:
URL: https://github.com/apache/rocketmq-externals/issues/577#issuecomment-713432059
I know the reason:this exporter only for open-source rocketmq versions.
you can look at:https://github.com/apache/rocketmq-exporter/issues/27
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] fenghaichun commented on issue #577: exception occurred When I tried to access Aliyun RocketMQ with this console
Posted by GitBox <gi...@apache.org>.
fenghaichun commented on issue #577:
URL: https://github.com/apache/rocketmq-externals/issues/577#issuecomment-713348780
> Hi,could you tell me how you solved it?
no, I didn't solved it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-externals] fenghaichun closed issue #577: exception occurred When I tried to access Aliyun RocketMQ with this console
Posted by GitBox <gi...@apache.org>.
fenghaichun closed issue #577:
URL: https://github.com/apache/rocketmq-externals/issues/577
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org