When using the subscribe command after connecting to our node a subscription is not created.
We know this because when we do transactions ( TrustSet, Payment ect. ) no data is sent to our endpoint and the response body is malformed.
The "status": "success" field id missing from the SubscribeResponse.
Steps to Reproduce
Step 1
Connect to a local node as admin.
const client = await this.connectClient();
Step 2
Create the subscription for a given address
const response = await client.request({
"command": "subscribe",
"accounts": ["rGMksprA2FzntXjuc8zkeyhJPnjDBHUcTL"],
"url": this.baseHandlerUrl + "handleXRPStream/", // we know this endpoint is functional because the previouse version of the node used it
});
Step 3
The response.status field seems to be missing.
The response value:
{
"id": 17,
"result": {},
"type": "response"
}
Expected Result
When creating the subscription a listener should be created, and should send events to my endpoint.
The response body should't be malformed and should display a status of success.
Example:
Issue Description
When using the
subscribe
command after connecting to our node a subscription is not created. We know this because when we do transactions ( TrustSet, Payment ect. ) no data is sent to our endpoint and the response body is malformed. The"status": "success"
field id missing from theSubscribeResponse
.Steps to Reproduce
response.status
field seems to be missing. Theresponse
value:Expected Result
When creating the subscription a listener should be created, and should send events to my endpoint. The response body should't be malformed and should display a status of success. Example:
Actual Result
The subscription is never created and the response body is malformed when creating the subscription Example:
Environment