404 from the form, network tab inthe browser does not give me a 404
i have set
WEBHOOK_URL=https://app.company.com/
and
N8N_PATH=/workflow/
and
N8N_ENDPOINT_REST=workflow/rest
/workflow is forwarded by reverse proxy to n8n and removed from the url
I’mcurious how this variables act in detail for the presentation and their influence in the actual path of the endpoint which needs to be called on the n8n server.
The oauth redirect URL should be based on WEBHOOK_URL if set although I have not tried setting the 3 values you are using but if you have n8n under the /workflow/ path it might be worth adding that to your webhook_url and leaving the endpoint_rest to just rest and see if that helps.
Is that still with path set to /workflow? Are you on a new version of n8n I know we did have issues with path not working correctly before, Do you also have your reverse proxy redirecting to /workflow or is it going to localhost:5678?
yes path is unchanged.
version is a bit difficult, we do embedding with whitelabeling.
“name”: “n8n”,
“version”: “1.20.0”,
from the root package.json.
reverseproxy is redirecting to http://containerip:5678
and with traefik stripprefix, i remove the /workflow from the path.
that is weird i get unauthenticated all the time as answer, tried all urls which should work.
is there some check on requests if the match against the configured hostnames ?
Can you try changing this and dropping the Regex? I was looking at an internal chat about paths and setting the PathPrefix to just PathPrefix('/workflow') seemed to be the solution.