question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Container fails to start: Node.js[1]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed.

See original GitHub issue
  • Version (cloudcmd -v): docker-latest (v15.9.9)
  • Node Version node -v: The one that ships with the docker container
  • OS (uname -a on Linux): Linux 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux
  • Browser name/version: Firefox 94.0.2
  • Used Command Line Parameters: none, used yml config file
  • Changed Config: n/a?

Container does not start, it just spits this out in the logs repeatedly:

Node.js[1]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed.

This is my docker-compose file - deployed via Portainer stack:

---
version: "2.1"
services:
  cloudcmd:
    image: coderaiser/cloudcmd:latest
    ports:
      - 7000:8000
    volumes:
      - ~:/root
      - /:/mnt/fs
    restart: unless-stopped

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
yllekzcommented, Jan 10, 2022

Docker Hub still won’t pull the latest image, it’s still saying the one from late December is the latest?

Update: It’s working now! Took a while for Docker Hub to react but it finally pulled the new image and now it’s all set.

2reactions
coderaisercommented, Jan 5, 2022

@timoknapp thanks a lot for a fix 😃 🎉 ! I just restarted actions, could you please try v15.9.13 when it published, @yllekz, @mchromy is it works for you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
Node.js: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed. #1746. Open.
Read more >
Docker image fails to run on Raspberry Pi with strange Node ...
js[1]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed. Note that I have made ...
Read more >
9 Tips for Containerizing Your Node.js Application - Docker
First, Docker's friendly, CLI-based workflow lets any developer build, share, and run containerized Node applications. Second, developers can ...
Read more >
Azure App Service + Node container failed to respond to ...
Whenever I restart the service I get the same result from the log-streaming service; it says it's warming-up until the timeout expires, then...
Read more >
20.04 vs. 22.04 inside docker, with a 16.04 host == thread start ...
I was able to reproduce this issue running ubuntu:22.04 from a ubuntu:20.04 host. I believe it is a seccomp issue with glibc, as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found