ChatURL Response Error

  • The Chat URL (copied from n8n) is clean and appears only once — :white_check_mark: good.
  • When you open this Chat URL in a browser, the chat UI loads — :white_check_mark: also good.
  • But when you type a message in the chat box and press enter, the request (seen via Network tab) is malformed — it appends the full URL again inside the path — :cross_mark: the real issue.

Here is what sample url looks like inside network tab 500 internal server error
https://wizard-aiautomate.dopplr.ai/webhook/.../chat/https://wizard-aiautomate.dopplr.ai/webhook/.../chat

Your guidance will be appreciated.

The https://wizard-aiautomate.dopplr.ai/webhook shows twice from the error message.

Looks like the setting is wrong in somewhere.

Can you show how you set it?

Hi @darrell_tw I have deployed the n8n in kubernetes cluster, I am attaching the yaml file for your reference.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: n8n
  namespace: wizard-explore1
spec:
  replicas: 1
  selector:
    matchLabels:
      app: n8n
  template:
    metadata:
      labels:
        app: n8n
    spec:
      containers:
        - name: n8n
          image: n8nio/n8n
          ports:
            - containerPort: 5678
          env:
            - name: N8N_BASIC_AUTH_ACTIVE
              value: "true"
            - name: N8N_BASIC_AUTH_USER
              valueFrom:
                secretKeyRef:
                  name: n8n-secret
                  key: N8N_BASIC_AUTH_USER
            - name: N8N_BASIC_AUTH_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: n8n-secret
                  key: N8N_BASIC_AUTH_PASSWORD
            - name: WEBHOOK_URL
              value: wizard-aiautomate.dopplr.ai
            - name: N8N_PORT
              value: "5678"
            - name: N8N_PROTOCOL
              value: "https"
            - name: N8N_SECURE_COOKIE
              value: "false"
---
apiVersion: v1
kind: Service
metadata:
  name: n8n-service
  namespace: wizard-explore1
spec:
  type: LoadBalancer
  selector:
    app: n8n
  ports:
    - protocol: TCP
      port: 80
      targetPort: 5678

I am attaching the exact error screenshot as well

Hi all, Issue got resolved I have removed N8N_PROTOCOL env and it worked fine only with WEBHOOK_URL https://wizard-aiautomate.dopplr.ai

Good to hear that!