开发者社区 > 云原生 > 中间件 > 正文

公网接入消息中间件MQ访问被拒绝?

我检查了一遍实例和主题都是对的,而且检查账号的授权也是全部授权的(AliyunMQFullAccess):
{

"Version": "1",
"Statement": [
    {
        "Action": "mq:*",
        "Resource": "*",
        "Effect": "Allow"
    }
]

}

报的错是:

at com.aliyun.mq.http.common.http.ExceptionResultParser.parse(ExceptionResultParser.java:42)
at com.aliyun.mq.http.common.http.ExceptionResultParser.parse(ExceptionResultParser.java:12)
at com.aliyun.mq.http.common.http.HttpCallback.handleResult(HttpCallback.java:140)
at com.aliyun.mq.http.common.http.HttpCallback.buildResponseMessage(HttpCallback.java:113)
at com.aliyun.mq.http.common.http.HttpCallback.completed(HttpCallback.java:74)
at com.aliyun.mq.http.common.http.HttpCallback.completed(HttpCallback.java:22)
at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:119)
at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:177)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:412)
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:305)
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:267)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:116)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:164)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
at java.lang.Thread.run(Thread.java:745)

这是为什么?

展开
收起
喜鹊的福音 2019-02-20 19:03:55 3277 0
1 条回答
写回答
取消 提交回答
  • 你这个只有 堆栈, 也没有错误码或错误msg. 无从查起啊

    2019-07-17 23:28:50
    赞同 展开评论 打赏

为企业提供高效、稳定、易扩展的中间件产品。

相关产品

  • 云消息队列 MQ
  • 相关电子书

    更多
    RocketMQ Client-GO 介绍 立即下载
    RocketMQ Prometheus Exporter 打造定制化 DevOps 平台 立即下载
    基于 RocketMQ Prometheus Exporter 打造定制化 DevOps 平台 立即下载