Closed vincenzopalazzo closed 7 months ago
This is currently a greenlight error returned from the API, I reported that to @cdecker
Are you using Tonic with the compression feature? I know we have one place where we look into the payload, but that's in the approver in the signer, not in the client. Googling this myself I found a couple of people reporting this error or a similar one on tonic
, so I'm tempted to mark this as an upstream issue. Could be a regression, so we could look through the previous versions of tonic to see if pinning might be a quick fix.
The error originates here by the way:
Quite far away from any code we touch ourselves as far as I know.
This is the only code that touches the payloads at the level that'd be required here:
It essentially reads and buffers the request, so it can sign it, and then forwards it unmodified to the server. So it looks like either the server tonic library needs bumping, or the client has a regression and we need to pin it to an earlier version.
Interestingly, when I use glcli
locally, which builds on top of gl-client-py
and gl-client
crate, so the same basis as Breez SDK, it works fine. That to me is an indication that it may be related to different versions of the tonic
library getting pulled in.
idk if this can help but it is happening also from green point of view
let me know if I can help in any way
@cdecker the same client build worked yesterday. It indicates that it may not be something on the client. Unless this error is somehow not consistent.
Unless this error is somehow not consistent.
it is on green
@cdecker @vincenzopalazzo sorry, I just realized the LSP API returns this error. We are on it.
Should be working now
I am testing breeze sdk with green and with the breez-sdk-cli and I am getting the same error that I am not able to fix.
The error is