Skip to content

new crypto issue #35

Description

@razeghi71

Hi,

recently when I try to use elixir-mongo I get following error message:

06:09:01.242 [error] Task #PID<0.842.0> started from Quantum terminating
** (UndefinedFunctionError) function :crypto.rand_bytes/1 is undefined or private. Did you mean one of:

      * rand_seed/0
      * rand_seed/1

    (crypto) :crypto.rand_bytes(4)
    (mongo) lib/mongo_server.ex:294: Mongo.Server.gen_reqid/0
    (mongo) lib/mongo_server.ex:93: Mongo.Server.send/2
    (mongo) lib/mongo_collection.ex:109: Mongo.Collection.update/5

Is there any fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions