MyST-NB icon indicating copy to clipboard operation
MyST-NB copied to clipboard

myst start throws getaddrinfo ENOTFOUND api.mystmd.org error

Open WiG96 opened this issue 11 months ago • 4 comments

Describe the bug

i'm starting with MyST through this tutorial and i'm having this error :" request to https://api.mystmd.org/templates/site/myst/book-theme failed, reason: getaddrinfo ENOTFOUND api.mystmd.org" right after this command: myst start. Anyone can help with this ?

Reproduce the bug

  1. mamba install -c conda-forge mystmd
  2. $ myst -v should be v1.3.4
  3. git clone https://github.com/jupyter-book/mystmd-quickstart.git
  4. cd mystmd-quickstart
  5. $ myst this message should be displayed :

Welcome to the MyST Markdown CLI!! 🎉 🚀

myst init walks you through creating a myst.yml file.

You can use myst to:

  • create interactive websites from markdown and Jupyter Notebooks 📈
  • build & export professional PDFs and Word documents 📄

Learn more about this CLI and MyST Markdown at: https://mystmd.org

💾 Writing new project and site config file: myst.yml

  1. Would you like to run "myst start" now? Yes
  2. myst start
  3. 🔍 Querying template metadata from https://api.mystmd.org/templates/site/myst/book-theme request to https://api.mystmd.org/templates/site/myst/book-theme failed, reason: getaddrinfo ENOTFOUND api.mystmd.org

To list valid templates, try the command "myst templates list"

Myst CLI Versions:

  • node 22.13.0 Required: >= 18.0.0
  • npm 10.9.2 Required: >=8.6.0
  • myst 1.3.23

List your environment

  • myst -v : v1.3.23
  • node : 22.13.0
  • npm : 10.9.2

WiG96 avatar Feb 10 '25 13:02 WiG96

Hi @WiG96 usually if you see this kind of error, it's transient. I assume you're running these commands locally. What OS are you using? Does it happen if you try again?

agoose77 avatar Feb 10 '25 14:02 agoose77

Hi @WiG96 usually if you see this kind of error, it's transient. I assume you're running these commands locally. What OS are you using? Does it happen if you try again?

Hi, i just tried again and error persists. Os: Win 10

WiG96 avatar Feb 11 '25 10:02 WiG96

@WiG96 can you try ping api.mystmd.org in CMD and report back what you see?

agoose77 avatar Feb 11 '25 11:02 agoose77

@agoose77 Hi, sorry for delay i was off work for a while. So ping does not reply "host could not be found"

WiG96 avatar Feb 17 '25 12:02 WiG96