You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
constclient=awaitthis.connectClient();
Step 2
Create the subscription for a given address
constresponse=awaitclient.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
Connect to a local node as admin.
Create the subscription for a given address
The
response.status
field seems to be missing.The
response
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
The text was updated successfully, but these errors were encountered: