Skip to content

Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1" #772

Closed
@lostcodingsomewhere

Description

@lostcodingsomewhere

Versions

  • NodeJS: 18
  • mongodb-memory-server-*: 8.13.0
  • mongodb(the binary version): 0.0.0
  • mongoose: 7.3.1
  • system:

package: mongo-memory-server

What is the Problem?

Docker (github actions) running into error when starting up the server for tests -- specifically "libcrypto.so.1.1".

Only became an issue this week. No issue when running outside of docker. Have tried to downgrade versions

Debug Output

Debug Output
Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:
test_1        |  StdoutInstanceError: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
test_1        |     at MongoInstance.checkErrorInLine (/app/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:678:11)
test_1        |     at MongoInstance.stderrHandler (/app/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:563:10)
test_1        |     at Socket.emit (node:events:513:28)
test_1        |     at Socket.emit (node:domain:489:12)
test_1        |     at addChunk (node:internal/streams/readable:324:12)
test_1        |     at readableAddChunk (node:internal/streams/readable:297:9)
test_1        |     at Socket.Readable.push (node:internal/streams/readable:234:10)
test_1        |     at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

Do you know why it happenes?

no

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions