DEV Community

loading...

n8n on DigitalOcean App Platform

Thew Dhanat
Medical student · Software engineer · Learning Machine learning
・1 min read

This is the second article of the series Trying DigitalOcean App Platform which is part of DigitalOcean App Platform Hackathon

Today, I'm trying to deploy n8n.io to DigitalOcean App Platform.

However after it is successfully deployed, the web ui could not connect to backend. It is showing "Connection lost" on the upper right corner.
Connection lost

I open Devtool and don't see any console error. Then I look at network tab and see that the request to /rest/push is pending. This is the only one request that n8n is trying to reach the backend. The request is not a plain http request instead it is using an EventSource API.

It seems that DigitalOcean App Platform does not support the EventSource API. I found an issue about how to configure a reverse proxy like Nginx. However, the Platform-as-a-Service like DigitalOcean App Platform and Cloud Run seems to not support it.

Unfortunately, we cannot deploy n8n workflow automation tool on DigitalOcean App Platform. DigitalOcean App Platform works great to provide simplicity for developer using a framework supported.

Discussion (0)

Forem Open with the Forem app