External Publication
Visit Post

I'm having trouble with the Telegram API and other services

Hugging Face Forums [Unofficial] March 21, 2026
Source

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:

" # Use the official stable image

FROM n8nio/n8n:latest

Switch to the root user to ensure we can modify the variables

USER root

Set the port required by Hugging Face

ENV N8N_PORT=7860

Force n8n not to use internal SSL because HF provides it ready-made

ENV N8N_PROTOCOL=http

Most important step: Specify the data folder in a writable location

ENV N8N_USER_ID=1000

ENV N8N_CONFIG_FILES=/home/node/.n8n/config

Run n8n using the default command from the official image

This ensures that all environment paths are correctly recognized

ENTRYPOINT [“tini”, “–”, “/docker-entrypoint.sh”] "

So, is there a solution or not?

Discussion in the ATmosphere

Loading comments...