Connection lost You have a connection issue or the server is down.

Issue Description:

“Connection lost to n8n cloud trial instance with persistent JavaScript loading errors and MIME type issues”

Specific Errors:

  • Loading module from “https://anas9321.app.n8n.cloud/assets/polyfills-DZgFjf-a.js” was blocked because of a disallowed MIME type (“text/html”)

  • SES_UNCAUGHT_EXCEPTION: SyntaxError: unexpected token: ')'

  • DOMException: An invalid or illegal string was specified

  • Connection lost - n8n should reconnect automatically once the issue is resolved

  • Problem running workflow - Lost connection to the server

Steps Already Taken:

  1. Nginx Configuration:

    • Installed and configured nginx as reverse proxy

    • Tested nginx configuration (syntax OK)

    • Set up proxy to port 5678

    • Reloaded nginx multiple times

  2. Browser Troubleshooting:

    • Cleared browser cache multiple times

    • Cleared site data for .n8n.cloud domain

    • Deleted session cookies

    • Tried hard reload (Ctrl+F5)

  3. Service Verification:

    • Verified nginx is running properly

    • Checked if n8n service is running on port 5678 (it’s not - because you’re using cloud trial)

    • Confirmed you’re using n8n cloud trial version [email protected]

Current Situation:

You’re using n8n cloud trial at anas9321.app.n8n.cloud, so you don’t need local nginx setup. The issues are occurring with the cloud-hosted instance.