-
Notifications
You must be signed in to change notification settings - Fork 15
get_fee error: invalid response #664
Comments
We are probably missing some |
The issue is a Specifically:
|
While the context would help, it would be really nice to see the actual response to know what the node is sending back. |
We log the response in the transports logs already though, right? I could add it to the error directly but not sure how useful that is because it could make it very long. |
Ah we probably don't log anything if it can't decode the outer jsonrpc json. |
Yes, these solutions are definitely an improvement, but it would be really nice to know what exactly we are failing to enumerate and catch this in a way that we can adapt to. I have asked devops for the response data and hope to at least be able to catch this response in a way that we can deal with in the future. |
Using our own http Transport implementation we would be able to log those responses too. |
Yes, I think we will have to do this (at least temporarily) because devops has not been able to recover the response data for this RPC request. |
Would be nice to have in general. I'll take stab at it. |
BTW, @vkgnosis we got the response data from devops. It was an empty response. |
@vkgnosis not sure if you remember, but we had this in v1 (https://github.com/gnosis/dex-services/blob/2b4e608dd9555e4a9ecfe35d0d946a2f1fbb0140/services-core/src/transport.rs#L52). In this case we can probably get rid of the LoggingTransport Layer (we shouldn't log these verbose infos twice). |
I believe this was closed by #682 - with our custom HTTP transport. |
I think this turned out to be a node issue. |
We have been getting a fairly steady flow of the following in-descriptive errors in our logs
which appears to be a long outstanding (non urgent) issue with
serde-rs
This is the place in the code is here
http://github.com/gnosis/gp-v2-services/blob/f8739a5178ae75de49bd90575c155fc6c8586d73/orderbook/src/api/get_fee_info.rs#L56-L57
and in the same way again here:
http://github.com/gnosis/gp-v2-services/blob/f8739a5178ae75de49bd90575c155fc6c8586d73/orderbook/src/api/get_fee_info.rs#L123-L124
I have not managed to recover this response in a way that would allow us to adapt the code and catch this error. I am beginning to suspect that the response is actually "no response" so perhaps we could try and work with that.
The text was updated successfully, but these errors were encountered: