对于Solace PubSub +,“ MESSAGE_SPOOL_DATA_NOT_AVAILABLE”是什么意思?

问题描述

我正在尝试使用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是什么意思吗?

解决方法

几天前,我遇到了同样的错误。当您尝试对假脱机消息执行操作但未安装配置用于备份那些假脱机消息的后端文件系统时,它实际上会发生。在这种情况下,您可能必须查询正确的solace设备,该设备处于活动状态并且存在那些线轴安装。