How do we resolve the crypto.hmac
issue? I’m running into this error and need to resolve it asap. It’s a production issue.
Elixir version 1.12.0
and OTP version 24. Docker base image is elixir:1.12.0-alpine
xAzure.request(:get_blob, [storename, "97/d6/ec/86/97d6ec86-6ae2-4e92-bae3-c62fc94f88ca"])
** (exit) exited in: :gen_server.call(#PID<0.4125.0>, {:get_blob, 'filestore-v2', '97/d6/ec/86/97d6ec86-6ae2-4e92-bae3-c62fc94f88ca', []}, 30000)
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function :crypto.hmac/3 is undefined or private
(crypto 5.0.1) :crypto.hmac(:sha256, <<180, 132, 132, 66, 159, 46, 117, 95, 190, 26, 224, 69, 171, 56, 248, 175, 73, 173, 24, 178, 82, 80, 244, 118, 52, 223, 221, 130, 13, 11, 116, 174, 184, 40, 108, 145, 116, 78, 12, 65, 154, 147, 42, 245, 173, 193, 23, 58, 241, 84, ...>>, 'GET\n\n\n\n\n\n\n\n\n\n\n\nx-ms-date:Thu, 03 Jun 2021 00:20:33 GMT\nx-ms-version:2014-02-14\n/roninstorageacctstage/filestore-v2/97/d6/ec/86/97d6ec86-6ae2-4e92-bae3-c62fc94f88ca')