-
Notifications
You must be signed in to change notification settings - Fork 52.2k
Open
Labels
status:in-linearIssue or PR is now in LinearIssue or PR is now in Lineartriage:pendingWaiting to be triagedWaiting to be triaged
Description
Bug Description
I previously upgraded from version 1.x.x to 2.1.0, but after encountering CORS errors in the forms, I downgraded to 2.0.2 and the problem was solved. I'm using Docker versions for N8N Queue, Workers, and Webhook; however, despite trying all environment constants, I couldn't resolve the CORS error in 2.1.0 because the Request Header "Origin" property of the forms is automatically set to "null" and cannot be changed.
To Reproduce
- install 2.1.0 version
- trigger with form
- upload any file
- submit form
- see request header "Origin" null
Expected behavior
request header "Origin" must be server hosting address
Debug Info
core
- n8nVersion: 2.1.0
- platform: docker (self-hosted)
- nodeJsVersion: 22.21.0
- nodeEnv: production
- database: postgres
- executionMode: scaling (single-main)
- concurrency: -1
- license: enterprise (production)
storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: database
pruning
- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions
client
- userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/143.0.0.0 safari/537.36
- isTouchDevice: false
Operating System
Ubuntu Linux 22.04
n8n Version
2.1.0
Node.js Version
22.16.0
Database
MySQL
Execution mode
queue
Hosting
self hosted
Metadata
Metadata
Assignees
Labels
status:in-linearIssue or PR is now in LinearIssue or PR is now in Lineartriage:pendingWaiting to be triagedWaiting to be triaged