Skip to main content
ArcBlock Community

Blocklet Server "Starting" Issue and Docker Not Enabled for Blocklets

Twelve
Developers
hackathon-supportdiscussion

Hi ArcBlock Team,

I’m running into a persistent issue where my Blocklet server is stuck in the "Starting" phase and Docker is not being enabled to run Blocklets, even though Docker is installed and running on my system.

Issue Details:

  1. Docker Status: The Blocklet server shows Docker enabled for running blocklets: off, despite Docker being installed and running correctly.
  2. I’ve attempted to set ABT_USE_DOCKER="true" and restarted the Blocklet server, but Docker is still not being picked up.
  3. Blocklet Service Timeout: The Blocklet server times out with the message:"service not ready within 28 seconds".
  4. Logs: The logs primarily show DeprecationWarnings related to the punycode module but no clear indicators of the root cause.

Environment Details:

  • Node.js version: v21.6.0
  • Blocklet CLI version: v1.16.32
  • Docker is installed and running.

Would appreciate your help in troubleshooting the Docker issue and the Blocklet service not starting.

Thanks in advance!

7 replies

wangshijun1 year ago

Hi, can you run blocklet server info on the machine your server runs in and post the output here for further diagnose?

wangshijun1 year ago

Since docker support is in beta mode, can you skip the docker part and retry start your server again?

Zhu Liang1 year ago(edited)

Hello, the docker mode running the blocklet is not quite ready yet, I suggest waiting for our release article.

I recommend that you do not enable docker mode, it is disabled by default. Here's how to restore the default state.

First making sure:Docker enabled for running blocklets: off,

Next, remove any USE_DOCKER related env variables. Then restart your blocklets. If this is still a problem, please post the specific error message here in the logs. And attach the blocklet server info

Twelve1 year ago

I followed your suggestion and removed Docker mode, ensuring that Docker is disabled (Docker enabled for running blocklets: off). However, my my-project blocklet still isn't starting.

Here's what I’ve tried:

  • The Blocklet server is running fine.
  • I’ve attempted to start the blocklet using blocklet start my-project, but it gets stuck during the health check and does not move forward.
  • No errors are shown directly during the startup process, but the blocklet never finishes starting.

Here’s what I’m seeing in the logs:

javascriptCopy
yamlCopy codeChecking endpoint healthy for my-project, port: 8091, minConsecutiveTime: 1s, timeout: 3600s

Despite waiting, the blocklet doesn't seem to fully start.

Could this be related to running on Windows, or is there something else I should try next? Any advice would be appreciated.

wangshijun23 months ago

Hi, can you run blocklet server info on the machine your server runs in and post the output here for further diagnose?

wangshijun23 months ago

If you are using windows, please checkout: Developing Blocklet in Docker

Twelve23 months ago

Docker seems impossible on my end. ive been chasing my tail for hours.

I guess I will have to upgrade my hardware if I’m going to be a serious blocklet builder.

It is so easy to build in “studio”. are my options more limited when I build in studio?

Reply