HTTP Reuqest fails to connect to the internet HTTPS websits via corporate proxy

Describe the problem/error/question

when I use http request visit https://httpbin.org/ip via corporate proxy, it got error. But visit http://httpbin.org/ip , it return the data: my ip.

I execute the command: curl https://httpbin.org/ip and curl http://httpbin.org/ip in the N8N container, That’s ALL OK.

The HTTP_PROXY and HTTPS_PROXY have added the docker-compose.yaml

Please help me ,how to sloved the error.

What is the error message (if any)?

Problem in node “HTTP Request” Parse Error: Expected HTTP/

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.94.0
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): defaut
  • Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
  • Operating system:ubunt 22.04 server

hello @ping2025

Have you tried the Proxy setting of the HTTP Node?

Yes , I tried. Access the HTTP and HTTPS via the same proxy server:http://proxyuser:proxypassword@proxyserver:9080/.

Access HTTP website OK, access HTTPS website failed