问题描述
我正在尝试使用python和swagger在Solace PubSub +(solace/solace-pubsub-standard
)容器上以编程方式创建队列。
我已经成功地查询了api以查找现有的消息vpn并创建了新的消息vpn,因此可以肯定地说我的基本python / swagger API正常工作。
但是,每当我尝试查询api以查找现有队列或创建新队列时,都会收到以下变化:
E semp_client.rest.ApiException: (400)
E Reason: Bad Request
E HTTP response headers: HTTPHeaderDict({'Date': 'Wed,09 Sep 2020 14:56:10 GMT','Content-Type': 'application/json','Transfer-Encoding': 'chunked','Connection': 'keep-alive','Server': 'Solace_VMR/9.6.0.32','Access-Control-Allow-Credentials': 'true','Access-Control-Allow-Headers': 'Authorization,Content-Type,X-Requested-With','Access-Control-Allow-Methods': 'GET,POST,PUT,PATCH,DELETE,OPTIONS','Strict-Transport-Security': 'max-age=31536000','Cache-Control': 'no-store'})
E HTTP response body: {
E "meta":{
E "error":{
E "code":412,E "description":"Problem with reading: message spool data not available",E "status":"MESSAGE_SPOOL_DATA_NOT_AVAILABLE"
E },E "request":{
E "method":"GET",E "uri":"http://localhost:32835/SEMP/v2/config/msgVpns/message_vpn_name/queues"
E },E "responseCode":400
E }
E }
semp_client/semp_client/rest.py:228: ApiException
有人知道MESSAGE_SPOOL_DATA_NOT_AVAILABLE
是什么意思吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)