Cryptlex Forums

License activation results in error code 48

J
Johan Andersson

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

C
Cryptlex Support

Hi Johan,

Error code 48 refers to network error:

J
Johan Andersson

Hi,

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

Kind regards,

Johan

C
Cryptlex Support

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?

J
Johan Andersson

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?

C
Cryptlex Support

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

J
Johan Andersson

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

C
Cryptlex Support

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

← Back to all topics · 8 posts · 4937 views · opened 2018-09-14