License activation results in error code 48

Hello,

I’m trying to statically link LexActivator and it’s dependencies (NSS, NSPR, etc.) into my application. I’m running Debian and is using the static version of LexActivator for C/C++. When starting the application I get error code 48. Is there some way to debug what is happening? Note that I’m still linking glibc dynamically.

Kind regards,

Johan

Hi Johan,

Error code 48 refers to network error:

Hi,

Yes I know. I need to narrow it down a bit more than that. :slight_smile:

Kind regards,

Johan

In the console try executing the following command:

curl https://api.cryptlex.com/v3/plans

and see if it succeeds. Are you using any proxy, firewall?

The provided command work as expected, curl returns JSON data. No I’m not using a proxy and firewall does not filter outgoing traffic. Is there a way to enable some kind of logging?

Please use following debug build, it does some detailed logging:

Thank you! Turns out there was a problem with LibNSS which prevented it from initializing properly.

Nice to know you figured out the solution. The minimum NSS version needed is 3.14.