Comments (4)
Exception in thread "main" com.aliyun.openservices.ons.api.exception.ONSClientException: Receive a broker exception, Topic: wangjs-ons, com.aliyun.openservices.ons.api.impl.authority.exception.AuthenticationException: valid permission failed., com.alibaba.ons.open.auth.validator.PermissionValidator.aliyun(PermissionValidator.java:66)
但ACCESSKEY和SERETKEY都是对的
from ons.
仔细看下,有可能是该topic:wangjs-ons不属于producerID
from ons.
ons的demo项目里报这个错,是不是因为AccessKey和SecretKey的设置不正确?
com.aliyun.openservices.ons.api.exception.ONSClientException: Receive a broker exception, Topic: EC_TEST, com.aliyun.openservices.ons.api.impl.authority.exception.AuthenticationException: check from ubsms failed. enable=false, com.alibaba.ons.open.auth.ubsms.UbsmsServiceManager.isResourceEnabled(UbsmsServiceManager.java:91)
See https://github.com/alibaba/ons/issues/5 for further details.
at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.checkProducerException(ProducerImpl.java:106)
at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.send(ProducerImpl.java:147)
at ons.example.producer.OnsProducer.send(OnsProducer.java:53)
at ons.example.producer.OnsProducer.main(OnsProducer.java:84)
from ons.
有一种情况。是使用了阿里云的 RAM 子账号权限体系。那么,需要在Topic管理的地方,授权给子账号或者其他账号。
from ons.
Related Issues (17)
- 找不到Name Server,网络问题 HOT 7
- 耗时 HOT 3
- com.aliyun.openservices.ons.api.exception.ONSClientException: The consumer group[CID_recent_update_111] has been created before HOT 2
- 请提供spring amqp的实现,类似spring-rabbit,因为迁移该方案面临重写spring集成的消息通信的实现
- ASP.NET 上正在中止线程 异常问题。 HOT 1
- Your producer has been shutdown
- ons-client,产生本地日志,如何配置?
- ons-client Producer/ProducerImpl无法进行工厂扩展
- ons-client最新版本包含了过期的guava依赖 HOT 1
- 无法连接Broker HOT 3
- 发送消息超时
- 服务状态不正确 HOT 5
- ONS Client检查消息时,发生异常 HOT 3
- Topic不存在 HOT 4
- 源代码全部删除了,RocketMQ的也没了,还是准备重建? HOT 1
- PropertyKeyConst无OnsChannel属性
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ons.