Closed Szymongib closed 3 months ago
Hi, it is possible to use with any ADNL client/server. Regarding the forbidden error, see this node's method it also checks source ADNL key and some port, try to compare port and client key with what you have for validator-engine-console, maybe it is different?
Also maybe you need to use your client key in NewConnectionPoolWithAuth
as auth, instead of using NewConnectionPool
Also maybe you need to use your client key in
NewConnectionPoolWithAuth
as auth, instead of usingNewConnectionPool
Thanks, I was able to connect with NewConnectionPoolWithAuth
, although now I am facing different issues with failed to parse validator query
, but that is probably me doing something wrong with the query itself.
I am trying to use
ConnectionPool
for accessing validator-engine-console with more or less the following code:What I am getting in response is
engine.validator.ControlQueryError
withCode:602 Message:forbidden
.Running
validator-engine-console
against the same host with the same keys works fine.So my question is if it is possible to use the library to access validator-engine-console, or is it strictly specific to lite server? If so if you could point me to some resources to understand the specificity I would be very grateful (I am not proficient enough in c++ to figure it out quickly from Ton codebase).