Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. Cant solve Connection Lost N8n

Cant solve Connection Lost N8n

Scheduled Pinned Locked Moved N8N
4 Posts 2 Posters 19 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JueBam
    wrote last edited by james
    #1

    Hello, i cant find the problem why N8N breaks connection!
    Websocket Problem.

    Who can help me fixing this.
    n8n 1.97.1
    Attention!! I am not a server admin-dude 😉

    connection-lost_forum.png

    Here is the env.sh
    (Domain is set.)

    # https://docs.n8n.io/reference/environment-variables.html
    export EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true
    export EXECUTIONS_DATA_SAVE_ON_ERROR=all
    export EXECUTIONS_DATA_SAVE_ON_SUCCESS=all
    export N8N_LOG_LEVEL=info
    
    export EXECUTIONS_DATA_PRUNE=true
    export EXECUTIONS_DATA_MAX_AGE=672
    
    # erweitert 2025-07-28
    export N8N_PORT=5678
    export N8N_HOST=n8n.mydomain-is-set
    export WEBHOOK_URL=https://n8n.mydomain-is-set/
    export N8N_PUSH_BACKEND=websocket
    
    # Allow node modules to be used in code node - https://docs.n8n.io/hosting/configuration/#use-built-in-and-external-modules-in-the-code-node
    # export NODE_FUNCTION_ALLOW_EXTERNAL=ajv,ajv-formats
    
    # Space separated list of node modules to install - https://docs.cloudron.io/apps/n8n/#custom-node-modules
    # export EXTRA_NODE_MODULES="handlebars@4.7.7 jsonata@2.0.2"
    

    Thanks in advance
    Jürgen

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by james
      #2

      Hello @JueBam and welcome to the Cloudron Forum.

      1. you posted in the wrong category, I will move this post to the N8N category
      2. are you really a Cloudron user? This is the Cloudron forum and not the N8N forum
      3. I will edit your post to display the image correctly
      1 Reply Last reply
      1
      • jamesJ james moved this topic from Support
      • jamesJ james marked this topic as a regular topic
      • J Offline
        J Offline
        JueBam
        wrote last edited by
        #3

        yeah. I am a cloudron user. 🙂
        Guess found the problem: increased memory limit in cloudron/n8n

        1 Reply Last reply
        2
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @JueBam
          Sometimes, it can be that simple.
          Good to read, that it is now working for you.

          1 Reply Last reply
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search