You have followed all the steps in the guide including the NGINX configuration, correct? if thatâs true can you share your website url or try to access your website from a different browser?
itâs most likely not the max body size issue. What youâre seeing in the error.log may have come from some other request by you or someone else. I got to see the domain from your logs.
The problem is when the redirect to https happens. It turns out that port 443 may not be open on the server. You can try netcat or curl to see. This will hang: curl -v https://n8n.aidanwilliams.xyz
My money is on it not being open. Try to open 443 up. I donât want to do a port scan on the server, but most likely not see 443 open.
I went to check again and I opened the port to 433 instead of 443
One last thing, when I go to the workflow it will say connection lost, how can I fix this because how can the connection be lost if Im literally on the web and the server is up and running
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5678/rest/telemetry/proxy/v1/track. (Reason: CORS request did not succeed). Status code: (null). 4
If youâre visiting https://n8n.aidanwilliams.xyz/ and itâs giving you that CORS error. The issue may be the docker-compose.yml and/or the nginx configuration. I would first give docker a kick with: docker compose up -d
I use nginx as well. I have the following. Maybe try to add the forwarding headers:
Ran docker-compose up -d and now I have this error. I also did add the fowarding headers
Firefox canât establish a connection to the server at wss://n8n.aidanwilliams.xyz/rest/push?pushRef=k8bhactwth.
Turns out youâre hitting every issue I faced some time ago. So this is websockets error.
Edit your nginx. (Backup your existing nginx config first. I donât want these changes to break more things.) Add this âmapâ outside of the server block and the âproxy_set_headerâ you see below. This should fix the wss issue. This is related to the âconnection lostâ message along the top:
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
# .... other stuff
location / {
# ... bunch of stuff
# Dynamic Headers for WebSocket Support
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
# Standard Proxy Headers
proxy_http_version 1.1;
chunked_transfer_encoding off;