serverless-chrome: NSS_VersionCheck("3.26") failed

Hello,

I get the below at runtime when I follow the build steps and then try to run on Lambda. Has anyone come across this? Chrome was compiled on the same AMI as Lambda uses and followed the instruction in this repo.

[0807/144244.712736:FATAL:nss_util.cc(627)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required
Please upgrade to the latest NSS, and if you still get this error,
contact your distribution maintainer.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (4 by maintainers)

Commits related to this issue

Most upvoted comments

I have done to fix this in Ubuntu 16.04 by reinstalling libnss3. Code

sudo apt-get install --reinstall libnss3

I found the here https://ubuntuforums.org/showthread.php?t=2178663#post_message_12807565

The only solution that worked for me was to download xenial’s libnss3 manually from https://packages.ubuntu.com/xenial/amd64/libnss3/download

Then install: sudo dpkg -i libnss3_3.28.4-0ubuntu0.16.04.3_amd64.deb

Even with 14.04 Ubuntu below steps were fine in my case - sudo apt-get update sudo apt-get install libnss3

@krworks, thank you! 👍️

  1. Found the xenial libnss3 package here, fetched & installed

https://packages.ubuntu.com/xenial/amd64/libnss3/download

wget http://security.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.28.4-0ubuntu0.16.04.9_amd64.deb
sudo dpkg -i libnspr4_4.13.1-0ubuntu0.16.04.1_amd64.deb
  1. Found the xenial libnspr4 package here, fetched & installed

https://packages.ubuntu.com/xenial/amd64/libnspr4/download

wget http://security.ubuntu.com/ubuntu/pool/main/n/nspr/libnspr4_4.13.1-0ubuntu0.16.04.1_amd64.deb
sudo dpkg -i libnss3_3.28.4-0ubuntu0.16.04.9_amd64.deb