Hi @disgust
The error -19584 is:
./strerror -19584
Last error was: -0x4c80 - ECP - Invalid private or public key
It is returned by sev eral places, but this means that there is something wrong in the key pair you are using, which could hint on further failures.
Have you checked you don’t have any memory leak or buffer overflow?
Have you managed to look at logs from server side?
Regards