n8n on DigitalOcean App Platform
Thew
Posted on January 5, 2021
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.
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.
Posted on January 5, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.