{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidq2n52gxoojcgi42u26ffywyupjyibc25j2s6onti2i5dzywub2a",
    "uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mhly2mqbfnc2"
  },
  "path": "/t/im-having-trouble-with-the-telegram-api-and-other-services/174473#post_1",
  "publishedAt": "2026-03-21T20:47:20.000Z",
  "site": "https://discuss.huggingface.co",
  "textContent": "For the past two weeks, I’ve been having an issue with N8N on my Hugging Face Space. Whenever I enter my Telegram API key, I get this error: “The connection cannot be established; this usually occurs due to an incorrect host (domain) value.” Here is my Dockerfile:\n\n\" # Use the official stable image\n\nFROM n8nio/n8n:latest\n\n# Switch to the root user to ensure we can modify the variables\n\nUSER root\n\n# Set the port required by Hugging Face\n\nENV N8N_PORT=7860\n\n# Force n8n not to use internal SSL because HF provides it ready-made\n\nENV N8N_PROTOCOL=http\n\n# Most important step: Specify the data folder in a writable location\n\nENV N8N_USER_ID=1000\n\nENV N8N_CONFIG_FILES=/home/node/.n8n/config\n\n# Run n8n using the default command from the official image\n\n# This ensures that all environment paths are correctly recognized\n\nENTRYPOINT [“tini”, “–”, “/docker-entrypoint.sh”] \"\n\nSo, is there a solution or not?",
  "title": "I'm having trouble with the Telegram API and other services"
}