Q: When starting my app on Heroku, I get the following error repeated many times:
ERROR: ld.so: object '/app/vendor/nss_wrapper/libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
What does it mean?
A: This error is due to a missing .so file.
If you aren't using transparent mode, then your application will work without the file and the error is just informational. You can either add the missing .so file (directions below) or you can turn off transparent mode in your configuration.
Transparent mode allows us to override the DNS setting for your destination hostname to be localhost, which is where the qgtunnel is listening.
To add the missing .so file, redownload qgtunnel into the root of your project:
Commit and push your code:
Be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository.
Git skips .so files by default, you will likely have to add it with:
git add -f vendor/nss_wrapper/libnss_wrapper.so
If you have questions, or if this solution doesn’t work or fit your use case, please reach out to us at Support
so we can help figure it out with you.
Working with sensitive data, like HIPAA, Financial, or Personally Identifiable Information (PII)?
Then you will want to check out our QuotaGuard Shield solution, it's the same as QuotaGuard Static, but with stronger end to end security for your requests. We can also help migrate current Static customers to Shield for free, just reach out to us at Support to request assistance.